[svn-commits] file: trunk r165216 - /trunk/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Dec 17 13:52:41 CST 2008


Author: file
Date: Wed Dec 17 13:52:40 2008
New Revision: 165216

URL: http://svn.digium.com/view/asterisk?view=rev&rev=165216
Log:
Call proxy_update so that the IP address gets populated. Sending stuff to 0.0.0.0 is silly!
(closes issue #14055)
Reported by: chris-mac

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=165216&r1=165215&r2=165216
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Dec 17 13:52:40 2008
@@ -22809,6 +22809,8 @@
 			}
 
 			ast_copy_string(global_outboundproxy.name, proxyname, sizeof(global_outboundproxy.name));
+
+			proxy_update(&global_outboundproxy);
 		} else if (!strcasecmp(v->name, "autocreatepeer")) {
 			sip_cfg.autocreatepeer = ast_true(v->value);
 		} else if (!strcasecmp(v->name, "match_auth_username")) {




More information about the svn-commits mailing list