[Freeswitch-users] Change Gateway Context to receive calls

Alexey Sibyakin alex at freeswitch.com
Mon Dec 3 03:15:24 UTC 2018


Hello,

That's expected behavior. If you need extra flexibility with ACLs you can
check them real-time in the Dialplan (e.g. in Public context) and to
Transfer on match.

https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+check_acl
https://freeswitch.org/confluence/display/FREESWITCH/ACL (check example at
very bottom)

Regards,

Alex

On Sat, Dec 1, 2018 at 3:34 AM Caio Assis <caioebassis at hotmail.com> wrote:

> Hello!
>
> I have to configure a Gateway to receive calls from it and process it
> correctly. The problem is that I haven't found a way to change the context,
> and, when I receive a call from a Peer with the same IP as the Gateway,
> FreeSwitch ignores the authentication from the Peer and checks if the IP is
> allowed in ACL domains.
>
> Call comes from authenticated Peer 1000 though context CUSTOM -> OK
> I have to configure a Gateway which has the same IP as the Peer 1000, so I
> allow it in ACL.
> Then, all calls from Peer 1000 come through PUBLIC context.
>
> Thanks.
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com



-- 
Alex Sibyakin | Support Engineer
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: alex at freeswitch.com
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
Need commercial support? Contact sales at freeswitch.com for details.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181203/af034e70/attachment-0001.html>


More information about the FreeSWITCH-users mailing list