diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-28 17:31:40 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-28 17:31:40 +0000 |
commit | 3894ede3a1a894660486867ee5af813d25d9aa6b (patch) | |
tree | fcf15005df37249ab959206eb426fda14dd424b2 /channels | |
parent | c4ba79263565b376a93642be2a803ec67a4c1427 (diff) |
Decode URI in contact header of 302 response.
ABE-2352
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@272804 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 8d36daebe..027b3f42d 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -12781,6 +12781,7 @@ static void parse_moved_contact(struct sip_pvt *p, struct sip_request *req) if (!strncasecmp(s, "sip:", 4)) s += 4; + ast_uri_decode(s); if (option_debug > 1) ast_log(LOG_DEBUG, "Received 302 Redirect to extension '%s' (domain %s)\n", s, domain); if (p->owner) { |