From: Joshua Colp Date: Wed, 17 Dec 2008 19:52:40 +0000 (+0000) Subject: Call proxy_update so that the IP address gets populated. Sending stuff to 0.0.0.0... X-Git-Tag: 1.6.2.0-beta1~569 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4534957e81ecba291062868ae4dd2b53cb437514;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@165216 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 46e7958c0e..700da766b6 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -22809,6 +22809,8 @@ static int reload_config(enum channelreloadreason reason) } 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")) {