[asterisk-bugs] [Asterisk 0015140]: DNS host name resolution in iax.conf

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 18 13:33:13 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15140 
====================================================================== 
Reported By:                vieri
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   15140
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.21.2 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-05-17 14:00 CDT
Last Modified:              2009-05-18 13:33 CDT
====================================================================== 
Summary:                    DNS host name resolution in iax.conf
Description: 
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

====================================================================== 

---------------------------------------------------------------------- 
 (0104954) file (administrator) - 2009-05-18 13:33
 https://issues.asterisk.org/view.php?id=15140#c104954 
---------------------------------------------------------------------- 
Closed per reporter, after a restart the dns manager is now working as
expected. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-18 13:33 file           Note Added: 0104954                          
2009-05-18 13:33 file           Status                   feedback => resolved
2009-05-18 13:33 file           Resolution               open => no change
required
2009-05-18 13:33 file           Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list