[asterisk-commits] russell: branch 1.4 r64306 - /branches/1.4/channels/chan_alsa.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 14 12:13:00 MST 2007


Author: russell
Date: Mon May 14 14:13:00 2007
New Revision: 64306

URL: http://svn.digium.com/view/asterisk?view=rev&rev=64306
Log:
Properly handle AST_CONTROL_PROGRESS by just ignoring it.  An unknown indication
will trigger an error and cause sounds to stop, which in this case, is ringing.

Modified:
    branches/1.4/channels/chan_alsa.c

Modified: branches/1.4/channels/chan_alsa.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_alsa.c?view=diff&rev=64306&r1=64305&r2=64306
==============================================================================
--- branches/1.4/channels/chan_alsa.c (original)
+++ branches/1.4/channels/chan_alsa.c Mon May 14 14:13:00 2007
@@ -748,6 +748,7 @@
 			res = 2;
 			break;
 		case AST_CONTROL_RINGING:
+		case AST_CONTROL_PROGRESS:
 			break;
 		case -1:
 			res = -1;



More information about the asterisk-commits mailing list