mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-22 03:47:12 -07:00
Decode URI in contact header of 302 response.
ABE-2352 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@272804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user