mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-28 14:14:16 +00:00
tweak configs slightly to use the acl for rfc1918 check
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7971 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
5d81e456ff
commit
da72bfb9f6
2 files changed
+3
-3
No files matched your search
@@ -40,8 +40,8 @@
|
||||
|
||||
<extension name="global" continue="true">
|
||||
<condition field="${network_addr}" expression="^$" break="never">
|
||||
<action application="set" data="use_profile=${cond(${is_lan_addr($${local_ip_v4})} == yes ? nat : default)}"/>
|
||||
<anti-action application="set" data="use_profile=${cond(${is_lan_addr(${network_addr})} == yes ? nat : default)}"/>
|
||||
<action application="set" data="use_profile=${cond(${acl($${local_ip_v4} rfc1918)} == true ? nat : default)}"/>
|
||||
<anti-action application="set" data="use_profile=${cond(${acl(${network_addr} rfc1918)} == true ? nat : default)}"/>
|
||||
</condition>
|
||||
<!-- This will setup some variables if the user isn't authenticated.
|
||||
numbering_plan is required for the demo to function properly.
|
||||
|
||||
Reference in new issue
Block a user