[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.70,1.510.2.71

russell at lists.digium.com russell at lists.digium.com
Fri Jun 24 17:52:35 CDT 2005


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

Modified Files:
      Tag: v1-0
	chan_sip.c 
Log Message:
print non-codec capabilities correctly (bug #3960)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.70
retrieving revision 1.510.2.71
diff -u -d -r1.510.2.70 -r1.510.2.71
--- chan_sip.c	21 Jun 2005 14:15:55 -0000	1.510.2.70
+++ chan_sip.c	24 Jun 2005 21:53:02 -0000	1.510.2.71
@@ -2784,9 +2784,9 @@
 			ast_getformatname_multiple(s4, slen, p->jointcapability));
 
 		ast_verbose("Non-codec capabilities: us - %s, peer - %s, combined - %s\n",
-			ast_getformatname_multiple(s1, slen, noncodeccapability),
-			ast_getformatname_multiple(s2, slen, peernoncodeccapability),
-			ast_getformatname_multiple(s3, slen, p->noncodeccapability));
+			ast_rtp_lookup_mime_multiple(s1, slen, noncodeccapability, 0),
+			ast_rtp_lookup_mime_multiple(s2, slen, peernoncodeccapability, 0),
+			ast_rtp_lookup_mime_multiple(s3, slen, p->noncodeccapability, 0));
 	}
 	if (!p->jointcapability) {
 		ast_log(LOG_NOTICE, "No compatible codecs!\n");




More information about the svn-commits mailing list