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

Eric "ManxPower" Wieling eric at fnords.org
Wed May 30 13:29:20 MST 2007


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.


More information about the asterisk-users mailing list