]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 272804 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Mon, 28 Jun 2010 17:33:12 +0000 (17:33 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 28 Jun 2010 17:33:12 +0000 (17:33 +0000)
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: https://origsvn.digium.com/svn/asterisk/trunk@272805 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 230b47a8cc482d29ca1ba1ad538b261152763a64..1a2c78ec8ccbe30c95d228c75ee459678cd7d932 100644 (file)
@@ -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) {