[asterisk-commits] file: trunk r114271 - /trunk/channels/chan_unistim.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 18 14:35:33 CDT 2008


Author: file
Date: Fri Apr 18 14:35:33 2008
New Revision: 114271

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114271
Log:
Make sure ADSI is marked as unavailable on Unistim channels so voicemail does not try to do some ADSI jazz.
(closes issue #12460)
Reported by: PerryB

Modified:
    trunk/channels/chan_unistim.c

Modified: trunk/channels/chan_unistim.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_unistim.c?view=diff&rev=114271&r1=114270&r2=114271
==============================================================================
--- trunk/channels/chan_unistim.c (original)
+++ trunk/channels/chan_unistim.c Fri Apr 18 14:35:33 2008
@@ -4459,6 +4459,7 @@
 	ast_setstate(tmp, state);
 	if (state == AST_STATE_RING)
 		tmp->rings = 1;
+	tmp->adsicpe = AST_ADSI_UNAVAILABLE;
 	tmp->writeformat = fmt;
 	tmp->rawwriteformat = fmt;
 	tmp->readformat = fmt;




More information about the asterisk-commits mailing list