add _continue_ value for fifo orbit exten that just means exit back to the next dp instruction

This commit is contained in:
Anthony Minessale 2011-09-29 09:04:22 -05:00
parent 71977499ca
commit 4d6ee827e0
1 changed files with 4 additions and 1 deletions

View 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);