]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add _continue_ value for fifo orbit exten that just means exit back to the next dp...
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 29 Sep 2011 14:04:22 +0000 (09:04 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 29 Sep 2011 14:04:22 +0000 (09:04 -0500)
src/mod/applications/mod_fifo/mod_fifo.c

index fe91155ee758c80d18adcda474f2c5ab8a617450..3d1504fa372ab7910230b4531bd3f180546a08a4 100644 (file)
@@ -2534,7 +2534,10 @@ SWITCH_STANDARD_APP(fifo_function)
                        if (orbit_ann) {
                                switch_ivr_play_file(session, NULL, orbit_ann, NULL);
                        }
-                       switch_ivr_session_transfer(session, cd.orbit_exten, cd.orbit_dialplan, cd.orbit_context);
+
+                       if (strcmp(cd.orbit_exten, "_continue_")) {
+                               switch_ivr_session_transfer(session, cd.orbit_exten, cd.orbit_dialplan, cd.orbit_context);
+                       }
                }
 
                check_ocancel(session);