aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-24 14:40:38 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-24 14:40:38 +0000
commit43559f82c873005f8976041cbfb4dab18ce922e4 (patch)
tree9da8b400aaa786d8979437a782cae89f716f7904 /channels
parent33120001526a9f05e960ade3acc2e4d1c4c99835 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.2@65837 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 7adfec501..da5c1584e 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 */