From ad2f350d390aabc0c5cc7a3d69d439de3874752f Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Thu, 24 May 2007 14:40:38 +0000 Subject: [PATCH] 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) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@65837 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 7adfec5013..da5c1584e0 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3182,6 +3182,7 @@ static struct sip_pvt *sip_alloc(char *callid, struct sockaddr_in *sin, int useg 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 */