mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Merged revisions 306324 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r306324 | rmudgett | 2011-02-04 12:53:06 -0600 (Fri, 04 Feb 2011) | 9 lines Don't send redirecting updates to the caller if the dialplan forked the call. Each fork in the dial could be redirected and confuse the caller. For ISDN the DivLeg1 and DivLeg3 messages would get confused because ISDN redirects calls in sequence not in parallel. * Also fixed a formatting inconsistency in app_dial.c and make a warning message more useful about what frame type could not be written. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3754,7 +3754,7 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte
|
||||
case AST_CONTROL_REDIRECTING:
|
||||
if (!update_connectedline) {
|
||||
ast_verb(3, "Redirecting update to %s prevented\n", inchan_name);
|
||||
} else {
|
||||
} else if (qe->parent->strategy != QUEUE_STRATEGY_RINGALL) {
|
||||
ast_verb(3, "%s redirecting info has changed, passing it to %s\n", ochan_name, inchan_name);
|
||||
if (ast_channel_redirecting_macro(o->chan, in, f, 1, 1)) {
|
||||
ast_indicate_data(in, AST_CONTROL_REDIRECTING, f->data.ptr, f->datalen);
|
||||
|
Reference in New Issue
Block a user