aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-24 16:05:06 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-24 16:05:06 +0000
commit7e4dff9572e6cf24176c910d7d0ed83cbeeeabc7 (patch)
tree51d14aa8897c3aab89d2a113f27d58a9da8c52e7
parentecbccb884017b8177d128b07baa05a0cef5e1495 (diff)
Allow RFC2833 to be sent in the response SDP when an INVITE comes in without SDP. (issue #9546 reported by mcrawford)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@61771 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 8ae2be774..924fe9c55 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 {