summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2008-12-17 19:52:40 +0000
committerJoshua Colp <jcolp@digium.com>2008-12-17 19:52:40 +0000
commit4534957e81ecba291062868ae4dd2b53cb437514 (patch)
treec0260e2ea47a7ff00cd49a6728e373e9226bbf35 /channels
parent91192e30c5df3e7fad417d213c926868ddd18c79 (diff)
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
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 46e7958c0..700da766b 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")) {