[Asterisk-cvs] asterisk/channels chan_sip.c,1.495,1.496

markster at lists.digium.com markster at lists.digium.com
Wed Sep 8 22:05:15 CDT 2004


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

Modified Files:
	chan_sip.c 
Log Message:
Use noncodec capability when masking (bug #2394)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.495
retrieving revision 1.496
diff -u -d -r1.495 -r1.496
--- chan_sip.c	9 Sep 2004 01:33:17 -0000	1.495
+++ chan_sip.c	9 Sep 2004 02:07:26 -0000	1.496
@@ -2753,7 +2753,7 @@
 				&vpeercapability, &vpeernoncodeccapability);
 	p->jointcapability = p->capability & (peercapability | vpeercapability);
 	p->peercapability = (peercapability | vpeercapability);
-	p->noncodeccapability = noncodeccapability & p->peercapability;
+	p->noncodeccapability = noncodeccapability & peernoncodeccapability;
 	
 	if (debug) {
 		const unsigned slen=80;




More information about the svn-commits mailing list