[asterisk-commits] file: branch 1.2 r65837 - /branches/1.2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu May 24 07:40:39 MST 2007


Author: file
Date: Thu May 24 09:40:38 2007
New Revision: 65837

URL: http://svn.digium.com/view/asterisk?view=rev&rev=65837
Log:
Allow RFC2833 to be negotiated when an INVITE comes in without SDP and is not matched to a user or peer. (issue #9546 reported by mcrawford)

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?view=diff&rev=65837&r1=65836&r2=65837
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Thu May 24 09:40:38 2007
@@ -3182,6 +3182,7 @@
 	p->capability = global_capability;
 	if ((ast_test_flag(p, SIP_DTMF) == SIP_DTMF_RFC2833) || (ast_test_flag(p, SIP_DTMF) == SIP_DTMF_AUTO))
 		p->noncodeccapability |= AST_RTP_DTMF;
+	p->jointnoncodeccapability = p->noncodeccapability;
 	strcpy(p->context, default_context);
 
 	/* Add to active dialog list */



More information about the asterisk-commits mailing list