[Freeswitch-users] IP-Based Authentication

Victor Chukalovskiy victor.chukalovskiy at gmail.com
Tue Jul 28 19:52:37 MSD 2015


Hi, you might want to be more specific with your question.

For incoming calls (FreeSWITCH receiving calls from an IP):

Use Sofia profile param apply-inbound-acl=my_list. Then define agent 
IP(s) directly in the acl list "my_list" that you define in acl.conf.xml
or use Sofia profile param apply-inbound-acl=domains. Then define 
"domains" ACL  in acl.conf.xml pointed to your user directory. Put agent 
IPs as a cidr param in user directory

For outgoing calls (FreeSWITCH sending calls to an IP):

Construct  dial-string that includes agent's IP and use it in the dialplan.
or create a gateway that points to the IP. This way you can also do 
OPTIONS ping in case far-end is down.


On 15-07-28 11:42 AM, Murugan Pandian wrote:
> Hi,
>
>
>       How i auth agent based on IP Address
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150728/1c483b85/attachment.html 


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