[asterisk-commits] file: branch 1.4 r170568 - /branches/1.4/apps/app_dial.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 23 13:06:55 CST 2009
Author: file
Date: Fri Jan 23 13:06:54 2009
New Revision: 170568
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=170568
Log:
When a call is forwarded stop any active indications. The new channel will provide an indication, if need be, itself.
(closes issue #14310)
Reported by: RadicAlish
Modified:
branches/1.4/apps/app_dial.c
Modified: branches/1.4/apps/app_dial.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/apps/app_dial.c?view=diff&rev=170568&r1=170567&r2=170568
==============================================================================
--- branches/1.4/apps/app_dial.c (original)
+++ branches/1.4/apps/app_dial.c Fri Jan 23 13:06:54 2009
@@ -564,6 +564,9 @@
ast_set_callerid(c, S_OR(in->macroexten, in->exten), get_cid_name(cidname, sizeof(cidname), in), NULL);
}
}
+ if (single) {
+ ast_indicate(in, -1);
+ }
}
/* Hangup the original channel now, in case we needed it */
ast_hangup(winner);
More information about the asterisk-commits
mailing list