[Asterisk-cvs] asterisk/channels chan_sip.c,1.457,1.458
markster at lists.digium.com
markster at lists.digium.com
Tue Jul 20 11:43:08 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory localhost.localdomain:/tmp/cvs-serv18205/channels
Modified Files:
chan_sip.c
Log Message:
Never destroy channel when there is an owner
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.457
retrieving revision 1.458
diff -u -d -r1.457 -r1.458
--- chan_sip.c 17 Jul 2004 23:27:11 -0000 1.457
+++ chan_sip.c 20 Jul 2004 15:29:09 -0000 1.458
@@ -7535,7 +7535,7 @@
}
}
}
- if (sip->needdestroy && !sip->packets) {
+ if (sip->needdestroy && !sip->packets && !sip->owner) {
ast_mutex_unlock(&sip->lock);
__sip_destroy(sip, 1);
goto restartsearch;
More information about the svn-commits
mailing list