[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.35,1.510.2.36

russell at lists.digium.com russell at lists.digium.com
Tue Jan 11 12:03:34 CST 2005


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

Modified Files:
      Tag: v1-0
	chan_sip.c 
Log Message:
logging update (bug #3268)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.35
retrieving revision 1.510.2.36
diff -u -d -r1.510.2.35 -r1.510.2.36
--- chan_sip.c	9 Jan 2005 14:58:45 -0000	1.510.2.35
+++ chan_sip.c	11 Jan 2005 18:07:42 -0000	1.510.2.36
@@ -3392,7 +3392,7 @@
 	/* Prefer the codec we were requested to use, first, no matter what */
 	if (capability & p->prefcodec) {
 		if (debug)
-			ast_verbose("Answering/Requesting with root capability %d\n", p->prefcodec);
+			ast_verbose("Answering/Requesting with root capability 0x%x (%s)\n", p->prefcodec, ast_getformatname(p->prefcodec));	
 		codec = ast_rtp_lookup_code(p->rtp, 1, p->prefcodec);
 		if (codec > -1) {
 			snprintf(costr, sizeof(costr), " %d", codec);




More information about the svn-commits mailing list