Author: brian Date: Fri Nov 9 05:30:24 2007 New Revision: 6192 Modified: freeswitch/trunk/conf/default_context.xml Log: interesting Modified: freeswitch/trunk/conf/default_context.xml ============================================================================== --- freeswitch/trunk/conf/default_context.xml (original) +++ freeswitch/trunk/conf/default_context.xml Fri Nov 9 05:30:24 2007 @@ -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