]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Allow RFC2833 to be negotiated when an INVITE comes in without SDP and is not matched...
authorJoshua Colp <jcolp@digium.com>
Thu, 24 May 2007 14:40:38 +0000 (14:40 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 24 May 2007 14:40:38 +0000 (14:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@65837 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 7adfec50132e7e14e2f707d1dde60475423e7362..da5c1584e025961d3396b1da66a3f23d309eabcd 100644 (file)
@@ -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 */