[Freeswitch-users] Can I use a domain name in an ACL list?

Szeto, Steven steven.szeto at mitel.com
Thu Feb 5 18:59:47 MSK 2015


Suppose I have a switch with DNS hostname of "myswitch.company.com" and an
IP address of 10.11.12.13.

If I want to allow this switch's phones to call FreeSwitch, I have to
update the acl.conf.xml file with an entry that looks like this:

    <list name="domains" default="deny">

      <node type="allow" cidr="10.11.12.13/32" />

    </list>


What I would like to do is use the DNS hostname of the switch instead. So
the above entry should look something like this:

    <list name="domains" default="deny">

      <node type="allow" host="myswitch.company.com" />

    </list>

When I try the above, the calls are rejected by FreeSwitch.

When creating its Access Control List, is there a way to tell FreeSwitch to
do a hostname lookup when hosts are specified?

Regards,
Steve

-- 
This e-mail (including any attachments) is for the sole use of the intended 
recipient(s) and may contain information that is confidential and/or 
protected by legal privilege. Any unauthorized review, use, copy, 
disclosure or distribution of this e-mail is strictly prohibited. If you 
are not the intended recipient, please notify Mitel immediately and destroy 
all copies of this e-mail.  Mitel does not accept any liability for breach 
of security, error or virus that may result from the transmission of this 
message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150205/ad22f2af/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list