thanks trixter
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6469 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
92b76e5924
commit
2fa929524f
|
@ -1,7 +1,8 @@
|
|||
<context name="default">
|
||||
<extension name="global" continue="true">
|
||||
<condition>
|
||||
<action application="set" data="use_profile=${cond(${is_lan_addr(${network_addr})} == yes ? nat : default)}"/>
|
||||
<condition field="${network_addr}" condition="^$">
|
||||
<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)}"/>
|
||||
</condition>
|
||||
<!-- This will setup some variables if the user isn't authenticated.
|
||||
numbering_plan is required for the demo to function properly.
|
||||
|
|
Loading…
Reference in New Issue