From: Anthony Minessale Date: Thu, 29 Sep 2011 14:04:22 +0000 (-0500) Subject: add _continue_ value for fifo orbit exten that just means exit back to the next dp... X-Git-Tag: v1.2-rc1~27^2~386^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d6ee827e03400838352aed65f9acd12c1623ccb;p=thirdparty%2Ffreeswitch.git add _continue_ value for fifo orbit exten that just means exit back to the next dp instruction --- diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index fe91155ee7..3d1504fa37 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -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);