aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-28 17:33:12 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-28 17:33:12 +0000
commit0dfe1d136e3d8a0ebde320d7015f021ce9eed2e2 (patch)
treebca6bb1623f7f3db645e07d7ba72836ce265f1eb /channels
parentfc87bc9cc99d7cad00694833dd889c376cfd4265 (diff)
Merged revisions 272804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r272804 | mmichelson | 2010-06-28 12:31:40 -0500 (Mon, 28 Jun 2010) | 5 lines Decode URI in contact header of 302 response. ABE-2352 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@272805 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 230b47a8c..1a2c78ec8 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -17947,6 +17947,7 @@ static void parse_moved_contact(struct sip_pvt *p, struct sip_request *req, char
separator = strchr(contact_number, ';'); /* And username ; parameters? */
if (separator)
*separator = '\0';
+ ast_uri_decode(contact_number);
if (set_call_forward) {
ast_debug(2, "Received 302 Redirect to extension '%s' (domain %s)\n", contact_number, domain);
if (p->owner) {