[Asterisk-cvs] asterisk/channels chan_skinny.c,1.61,1.62

markster at lists.digium.com markster at lists.digium.com
Sun Jan 16 02:12:40 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv7435/channels

Modified Files:
	chan_skinny.c 
Log Message:
Fix ringback on outbound skinny calls (bug #3295)


Index: chan_skinny.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_skinny.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- chan_skinny.c	15 Jan 2005 21:51:37 -0000	1.61
+++ chan_skinny.c	16 Jan 2005 08:16:07 -0000	1.62
@@ -1715,7 +1715,7 @@
     	}
 	switch(ind) {
 	case AST_CONTROL_RINGING:
-		if (ast->_state == AST_STATE_RINGING) {
+		if (ast->_state != AST_STATE_UP) {
 			if (!sub->progress) {		
 				transmit_tone(s, SKINNY_ALERT);
 				transmit_callstate(s, l->instance, SKINNY_RINGOUT, sub->callid);




More information about the svn-commits mailing list