[Asterisk-cvs] asterisk/channels chan_sip.c,1.210,1.211

martinp at lists.digium.com martinp at lists.digium.com
Wed Nov 12 10:10:21 CST 2003


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

Modified Files:
	chan_sip.c 
Log Message:
Fix SIP_CODEC support


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -d -r1.210 -r1.211
--- chan_sip.c	12 Nov 2003 00:13:55 -0000	1.210
+++ chan_sip.c	12 Nov 2003 16:36:35 -0000	1.211
@@ -1138,7 +1138,7 @@
 			fmt=ast_getformatbyname(codec);
 			if (fmt) {
 				ast_log(LOG_NOTICE, "Changing codec to '%s' for this call because of ${SIP_CODEC) variable\n",codec);
-				p->capability=fmt;
+				p->jointcapability=fmt;
 			} else ast_log(LOG_NOTICE, "Ignoring ${SIP_CODEC} variable because of unrecognized/not configured codec (check allow/disallow in sip.conf): %s\n",codec);
 		}
 




More information about the svn-commits mailing list