[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.39,1.510.2.40
russell at lists.digium.com
russell at lists.digium.com
Sun Jan 16 18:40:23 CST 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv23789/channels
Modified Files:
Tag: v1-0
chan_sip.c
Log Message:
Don't even attempt to masquerade a channel into itself (bug #3040)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.39
retrieving revision 1.510.2.40
diff -u -d -r1.510.2.39 -r1.510.2.40
--- chan_sip.c 14 Jan 2005 04:59:54 -0000 1.510.2.39
+++ chan_sip.c 17 Jan 2005 00:43:46 -0000 1.510.2.40
@@ -7087,7 +7087,7 @@
peerd = bridgea;
}
- if(peera && peerb && peerc) {
+ if(peera && peerb && peerc && (peerb != peerc)) {
ast_quiet_chan(peera);
ast_quiet_chan(peerb);
ast_quiet_chan(peerc);
More information about the svn-commits
mailing list