[Asterisk-cvs] asterisk/channels chan_skinny.c,1.54,1.54.2.1

russell at lists.digium.com russell at lists.digium.com
Sun Jan 16 18:33:59 CST 2005


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

Modified Files:
      Tag: v1-0
	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.54
retrieving revision 1.54.2.1
diff -u -d -r1.54 -r1.54.2.1
--- chan_skinny.c	13 Sep 2004 21:34:47 -0000	1.54
+++ chan_skinny.c	17 Jan 2005 00:37:22 -0000	1.54.2.1
@@ -1700,7 +1700,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