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@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@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@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
Need commercial support? Contact sales@freeswitch.com for details.