I have an asterisk server with a dynamic public IP address. Once the IP changes, remote clients suddenly have one-way audio again. I can resolve the problem with a restart, but am thinking have adding a cron command which does this every night. Will a "reload" cause asterisk to respect the new IP address specified in sip.conf? Or do I have to restart? Thanks, MD -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061130/58cb8aa3/attachment.htm
Yes, a 'reload' will reload all configuration files. Instead, 'sip reload' should do what you want a little faster. Example: *CLI> sip reload Reloading SIP == Parsing '/etc/asterisk/sip.conf': Found == Parsing '/etc/asterisk/sip_notify.conf': Found ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Michelle Dupuis Sent: Thursday, November 30, 2006 16:30 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [asterisk-users] Force re-read of sip.conf I have an asterisk server with a dynamic public IP address. Once the IP changes, remote clients suddenly have one-way audio again. I can resolve the problem with a restart, but am thinking have adding a cron command which does this every night. Will a "reload" cause asterisk to respect the new IP address specified in sip.conf? Or do I have to restart? Thanks, MD -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061130/1789094f/attachment.htm
My sip.conf has externhost=foo.dyndns.net externrefresh=10 localnet=192.168.100.0/24 nat=yes I'm not sure if that'll help you. Maybe your already using those. On 12/1/06, Michelle Dupuis <support@ocg.ca> wrote:> > > I have an asterisk server with a dynamic public IP address. Once the IP > changes, remote clients suddenly have one-way audio again. > > I can resolve the problem with a restart, but am thinking have adding a cron > command which does this every night. Will a "reload" cause asterisk to > respect the new IP address specified in sip.conf? Or do I have to restart? > > Thanks, > MD > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > >