[asterisk-commits] branch 1.2 r9958 - /branches/1.2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Feb 14 11:30:11 MST 2006


Author: kpfleming
Date: Tue Feb 14 12:30:10 2006
New Revision: 9958

URL: http://svn.digium.com/view/asterisk?rev=9958&view=rev
Log:
when answering INVITE, don't send codecs the peer didn't offer (issue #6052)

Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?rev=9958&r1=9957&r2=9958&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Tue Feb 14 12:30:10 2006
@@ -4333,7 +4333,7 @@
 		ast_log(LOG_WARNING, "No way to add SDP without an RTP structure\n");
 		return -1;
 	}
-	capability = p->capability;
+	capability = p->jointcapability;
 		
 	if (!p->sessionid) {
 		p->sessionid = getpid();



More information about the asterisk-commits mailing list