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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun May 17 14:00:55 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15140 
====================================================================== 
Reported By:                vieri
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15140
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             2009-05-17 14:00 CDT
Last Modified:              2009-05-17 14:00 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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-17 14:00 vieri          New Issue                                    
2009-05-17 14:00 vieri          Asterisk Version          => 1.4.21.2        
2009-05-17 14:00 vieri          Regression                => No              
2009-05-17 14:00 vieri          SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list