[svn-commits] kpfleming: branch 1.2 r48192 - /branches/1.2/apps/app_dial.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Dec 1 16:31:00 MST 2006


Author: kpfleming
Date: Fri Dec  1 17:30:59 2006
New Revision: 48192

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48192
Log:
if Dial() is going to send music-on-hold to the calling party, it has to send PROGRESS first to ensure that the reverse audio path has been setup first (BE-106)

Modified:
    branches/1.2/apps/app_dial.c

Modified: branches/1.2/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_dial.c?view=diff&rev=48192&r1=48191&r2=48192
==============================================================================
--- branches/1.2/apps/app_dial.c (original)
+++ branches/1.2/apps/app_dial.c Fri Dec  1 17:30:59 2006
@@ -1197,6 +1197,7 @@
 		strcpy(status, "NOANSWER");
 		if (ast_test_flag(outgoing, OPT_MUSICBACK)) {
 			moh=1;
+			ast_indicate(chan, AST_CONTROL_PROGRESS);
 			ast_moh_start(chan, opt_args[OPT_ARG_MUSICBACK]);
 		} else if (ast_test_flag(outgoing, OPT_RINGBACK)) {
 			ast_indicate(chan, AST_CONTROL_RINGING);



More information about the svn-commits mailing list