aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-28 17:37:21 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-28 17:37:21 +0000
commit86c539ae17158ae5665b1d5886c314baec7b6911 (patch)
tree0ca0ed0dc03ceb535c2e453fee8db4840c525091 /channels
parenta56c0773957d26ba78adedd62767cd0d4cf8d85a (diff)
Merged revisions 272805 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r272805 | mmichelson | 2010-06-28 12:33:12 -0500 (Mon, 28 Jun 2010) | 11 lines 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/branches/1.6.2@272806 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 71b00da61..d6e8bb607 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -17604,6 +17604,7 @@ static void parse_moved_contact(struct sip_pvt *p, struct sip_request *req)
e = strchr(s, ';'); /* And username ; parameters? */
if (e)
*e = '\0';
+ ast_uri_decode(s);
ast_debug(2, "Received 302 Redirect to extension '%s' (domain %s)\n", s, domain);
if (p->owner) {
pbx_builtin_setvar_helper(p->owner, "SIPDOMAIN", domain);