Hi,

I'm wondering if someone could tell me if DNS names in Asterisk .conf files 
(eg. iax.conf, sip.conf) are supposed to be resolved only once at * startup or 
periodically, according to DNS timeouts.

I'm asking because I defined host=voipb1.mydomain.local in a iax.conf trunk and 
it was working fine until the DNS A record of that host changed IP address. 
Asterisk still tried to send calls to the old IP address.
I restarted Asterisk and the calls were finally sent to the correct IP address 
so I'm guessing that the "host=" name resolution is done only at startup.  

iax.conf:

[coin]
deny=all
allow=alaw
allow=gsm
type=friend
host=voipb1.mydomain.local
secret=xxx
auth=plaintext
qualify=yes
context=coin-context

Asterisk 1.4.21.2
(I know it isn't the latest release but I haven't seen anything related to 
DNS/name resolution in the changelogs)

Thanks,

Vieri



      

_______________________________________________
-- 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

Reply via email to