[asterisk-commits] mmichelson: branch 1.4 r272804 - /branches/1.4/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 28 12:31:43 CDT 2010


Author: mmichelson
Date: Mon Jun 28 12:31:40 2010
New Revision: 272804

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=272804
Log:
Decode URI in contact header of 302 response.

ABE-2352


Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=272804&r1=272803&r2=272804
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Mon Jun 28 12:31:40 2010
@@ -12781,6 +12781,7 @@
 	
 		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) {




More information about the asterisk-commits mailing list