[Asterisk-cvs] asterisk/channels chan_skinny.c,1.8,1.9
jeremy at lists.digium.com
jeremy at lists.digium.com
Sat Sep 13 20:48:51 CDT 2003
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv30100
Modified Files:
chan_skinny.c
Log Message:
fix never ending ringing
Index: chan_skinny.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_skinny.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- chan_skinny.c 14 Sep 2003 00:54:53 -0000 1.8
+++ chan_skinny.c 14 Sep 2003 01:50:00 -0000 1.9
@@ -1529,7 +1529,14 @@
sub->parent->hookstate = SKINNY_ONHOOK;
transmit_callstate(s, l->instance, SKINNY_ONHOOK, sub->callid);
transmit_speaker_mode(s, SKINNY_SPEAKEROFF);
- }
+ } else if ((sub->parent->type = TYPE_LINE) && (sub->parent->hookstate == SKINNY_ONHOOK)) {
+ transmit_callstate(s, l->instance, SKINNY_ONHOOK, sub->callid);
+ transmit_speaker_mode(s, SKINNY_SPEAKEROFF);
+ transmit_ringer_mode(s, SKINNY_RING_OFF);
+ transmit_tone(s, SKINNY_SILENCE);
+ }
+
+
ast_mutex_lock(&sub->lock);
sub->owner = NULL;
ast->pvt->pvt = NULL;
More information about the svn-commits
mailing list