From: Joshua Colp Date: Tue, 24 Apr 2007 16:05:06 +0000 (+0000) Subject: Allow RFC2833 to be sent in the response SDP when an INVITE comes in without SDP... X-Git-Tag: 1.2.18~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a31a2ef862ecd6e3058a5960be2b9db29110a61f;p=thirdparty%2Fasterisk.git Allow RFC2833 to be sent in the response SDP when an INVITE comes in without SDP. (issue #9546 reported by mcrawford) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@61771 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 8ae2be774f..924fe9c55f 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7338,6 +7338,7 @@ static int check_user_full(struct sip_pvt *p, struct sip_request *req, int sipme p->noncodeccapability |= AST_RTP_DTMF; else p->noncodeccapability &= ~AST_RTP_DTMF; + p->jointnoncodeccapability = p->noncodeccapability; } if (user && debug) ast_verbose("Found user '%s'\n", user->name); @@ -7447,6 +7448,7 @@ static int check_user_full(struct sip_pvt *p, struct sip_request *req, int sipme p->noncodeccapability |= AST_RTP_DTMF; else p->noncodeccapability &= ~AST_RTP_DTMF; + p->jointnoncodeccapability = p->noncodeccapability; } ASTOBJ_UNREF(peer,sip_destroy_peer); } else {