[asterisk-commits] mmichelson: trunk r206455 - /trunk/apps/app_dial.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 14 11:09:41 CDT 2009
Author: mmichelson
Date: Tue Jul 14 11:09:38 2009
New Revision: 206455
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=206455
Log:
Reset the sentringing indication when redirects occur.
If a redirecting control frame is processed or a call forward occurs,
we need to reset the sentringing flag so that we can send another ringing
indication to the phone that may contain a connected line update.
AST-164
Modified:
trunk/apps/app_dial.c
Modified: trunk/apps/app_dial.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/apps/app_dial.c?view=diff&rev=206455&r1=206454&r2=206455
==============================================================================
--- trunk/apps/app_dial.c (original)
+++ trunk/apps/app_dial.c Tue Jul 14 11:09:38 2009
@@ -972,6 +972,7 @@
continue;
/* here, o->chan == c == winner */
if (!ast_strlen_zero(c->call_forward)) {
+ (*sentringing) = 0;
do_forward(o, &num, peerflags, single, to);
continue;
}
@@ -1097,6 +1098,7 @@
} else {
ast_verb(3, "%s redirecting info has changed, passing it to %s\n", c->name, in->name);
ast_indicate_data(in, AST_CONTROL_REDIRECTING, f->data.ptr, f->datalen);
+ (*sentringing) = 0;
}
break;
case AST_CONTROL_PROCEEDING:
More information about the asterisk-commits
mailing list