[asterisk-users] multiple host= in sip.conf

Anthony Francis anthonyf at rockynet.com
Fri Jun 1 08:33:50 MST 2007


David Boyd wrote:
> On Wed, 2007-05-30 at 15:29 -0500, Eric "ManxPower" Wieling wrote:
>   
>> Bryan Laird wrote:
>>     
>>> for inbound connections how does asterisk manage host=host-name 
>>> returning multiple A records... will
>>> it allow authentication for any of the IP's returned?
>>>
>>> I would assume that in the case of 'inbound' if you specify a host-name 
>>> that you have PTR records for you could do it in one entry
>>> again I'm making a blind assumption.
>>>       
>> As I understand it, Asterisk does a DNS lookup on load/reload and uses 
>> whatever the first IP address returned.
>>
>> allow= and deny= is what should be used for access control.  Not the 
>> host= line.  The host= line is normally used for Asterisk -> Device stuff.
>> _______________________________________________
>> --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
>>     
> Does that mean that even when dynamic dns entries exist and the time to
> live  is set to 15 minutes asterisk will continue to try using the old
> expired results?
>
> Dave
>
> _______________________________________________
> --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
>   
it does mean that, however it updates at the sip registration timeout, 
the point in which the device re-registers. So make sure your reg 
timeout in sip.conf and in the device are below 15 minutes and its not 
an issue. FYI the default timeout is 3600 seconds, 1 hour.


More information about the asterisk-users mailing list