On 29/10/09 2:05 PM, B.Masoud @ SH wrote: > I have a trunk, and its host=dynamic dns. > > The problem is, when the IP changes the > > Sip show peers > > Still show the old IP of the DNS, I have to reload and save the > configuration again so that asterisk recognize the new IP of the DNS. > > Any idea how to automate such a thing? Or how can I keep asterisk to > deal with NAMES as NAMES, and IPs as IPs.
The reply regarding getting the other end to register is correct. The other host should be registering regularly. If you have a host name use /etc/asterisk/dnsmgr.conf: [general] enable=yes ; enable creation of managed DNS lookups ; default is 'no' ;refreshinterval=1200 ; refresh managed DNS lookups every <n> seconds ; default is 300 (5 minutes) -- Cheers, Matt Riddell Director _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems) _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users