]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
interesting
authorBrian West <brian@freeswitch.org>
Fri, 9 Nov 2007 10:30:24 +0000 (10:30 +0000)
committerBrian West <brian@freeswitch.org>
Fri, 9 Nov 2007 10:30:24 +0000 (10:30 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6192 d0543943-73ff-0310-b7d9-9358b9ac24b2

conf/default_context.xml

index 3828468c113f9a51622bb3b647418592475e5c80..188da8e1f2ca881035a507bb77b9275e0112f1ca 100644 (file)
@@ -1,4 +1,9 @@
 <context name="default">
+  <extension name="global">
+    <condition>
+      <action application="set" data="use_profile=${qq(${is_lan_addr(${network_addr})} == yes ? nat : default)}"/>
+    </condition>
+  </extension>
   <!-- 
   if the calling party is the called party, go to their VM
   if the calling party is NOT the called party dial the extension