]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 165216 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Wed, 17 Dec 2008 19:53:42 +0000 (19:53 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 17 Dec 2008 19:53:42 +0000 (19:53 +0000)
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.0@165217 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index e0f7196158c6e274607bd420320acea0ceda7789..441080d9b9764b5d17d579fb1a0f9ee18f8d2650 100644 (file)
@@ -21241,6 +21241,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")) {