From f9973f81a396cfc8bb089ce28b1bb93c5dc15618 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Wed, 17 Dec 2008 19:54:40 +0000 Subject: [PATCH] Merged revisions 165216 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r165216 | file | 2008-12-17 15:52:40 -0400 (Wed, 17 Dec 2008) | 4 lines 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/branches/1.6.1@165218 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c365b86986..3ed4cb1149 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -21850,6 +21850,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")) { autocreatepeer = ast_true(v->value); } else if (!strcasecmp(v->name, "match_auth_username")) {