IP based authentication for end user and route call to gateway
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. Mobile:- +91-9377579349
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. Mobile:- +91-9377579349 <+91%2093775%2079349>
_________________________________________________________________________ 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* *E-mail:* *kaduww@gmail.com <kaduww@gmail.com>* *carlos@gnotel.com.br <carlos@gnotel.com.br>* *Fone:* +55 48 9981-0894 *Skype:* carlos.e.wagner www.gnotel.com.br www.blogdovoip.com
Like: <user id="1000" cidr="12.34.56.78/32"> <!-- user's params --> </user> 2017-08-12 19:52 GMT-03:00 Carlos Eduardo <kaduww@gmail.com>:
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. Mobile:- +91-9377579349 <+91%2093775%2079349>
_________________________________________________________________________ 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* *E-mail:* *kaduww@gmail.com <kaduww@gmail.com>* *carlos@gnotel.com.br <carlos@gnotel.com.br>* *Fone:* +55 48 9981-0894 <(48)%209981-0894> *Skype:* carlos.e.wagner www.gnotel.com.br www.blogdovoip.com
-- *Carlos E. Wagner* *Tecnólogo em Telecomunicações, OCP, dCAA* *Gnotel Telecom* *E-mail:* *kaduww@gmail.com <kaduww@gmail.com>* *carlos@gnotel.com.br <carlos@gnotel.com.br>* *Fone:* +55 48 9981-0894 *Skype:* carlos.e.wagner www.gnotel.com.br www.blogdovoip.com
participants (2)
-
Carlos Eduardo
-
Uday kumar