[Freeswitch-users] Routing inbound calls from gateways?

Ken Rice krice at freeswitch.org
Sat Jun 25 03:26:44 MSD 2016


Personally for ip auth i do it in the dialplan either like the network_addr you do below or via xml curl and have a back end return the dialplan for any given ip.

You can also get fancy with the acl api in the condition

Sent from my iPhone

> On Jun 24, 2016, at 6:00 PM, Yu Boot <yu at yu-boot.ru> wrote:
> 
> Hello. Asked it sometimes ago, but unfortunately I didn't get any answer.
> 
> Is it possible to route inbound calls from the gateways described in SIP 
> profile in other way but
>             <condition field="network_addr" expression="^1\.2\.3\.4$" 
> break="never">
> ?
> 
> context variable in gateway parameters seems to be totally ignored by 
> FS, but it works for password-protected users.
> 
> Or why it's impossible to just auth that calls in FS by peer name-peer 
> IP pair, like Asterisk does?
> 
> _________________________________________________________________________
> 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



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