When you use the ACL, the calls will use the dialplan set on the sofia profile. To create a ip authentication to a unser, you must use the cidr option on user direcory, like:


2017-08-12 6:29 GMT-03:00 Uday kumar <udy786@gmail.com>:
Hello All,

I have one Freeswitch 1.6 server installed on CentOS 7.2 64-Bit.

I configured one gateway to make outbound calls and one extension. Registered that extension on softphone dialed a number. Its working. 

Extension => Freeswitch => Gateway => Mobile =======Working

After that registered same extension on an Asterisk server and from Asterisk dialed a number and then also working. 

Asterisk(with username/password) => Freeswitch => Gateway => Mobile ========Working. 

Now I am trying to remove registration from Asterisk and send directly call to Freeswtich and on Freeswitch check if that IP is allowed then allow IP to make call. I added Asterisk IP in Domain ACL on Freeswitch but when call called from Asterisk, its going in Public context and considered as a incoming calls. 

How I can add IP based authentication for end user and route call to configured gateway?
 
--
Thanks & Regard
Uday.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Carlos E. Wagner
Tecnólogo em Telecomunicações, OCP, dCAA

Gnotel Telecom
            carlos@gnotel.com.br
Fone: +55 48 9981-0894
Skype: carlos.e.wagner