[Freeswitch-svn] [commit] r9713 - freeswitch/trunk/conf/dialplan
Author: brian Date: Sun Sep 28 21:09:27 2008 New Revision: 9713 Modified: freeswitch/trunk/conf/dialplan/default.xml freeswitch/trunk/conf/dialplan/public.xml Log: more tweaks.. inside vs outside Modified: freeswitch/trunk/conf/dialplan/default.xml ============================================================================== --- freeswitch/trunk/conf/dialplan/default.xml (original) +++ freeswitch/trunk/conf/dialplan/default.xml Sun Sep 28 21:09:27 2008 @@ -80,14 +80,13 @@ </extension> <!-- If to_host and from_host differ this is an external sip URI so lets send it out. --> - <!-- <extension name="external_sip_uri" continue="true"> <condition field="source" expression="mod_sofia"/> - <condition field="${sip_from_host}" expression="${sip_to_host}"> + <condition field="${outside_call}" expression="^$"/> + <condition field="${sip_req_host}" expression="${sip_from_host}"> <anti-action application="bridge" data="sofia/${use_profile}/${sip_to_uri}"/> </condition> </extension> - --> <!-- snom button demo, call 9000 to make button 2 mapped to transfer the current call to a conference --> Modified: freeswitch/trunk/conf/dialplan/public.xml ============================================================================== --- freeswitch/trunk/conf/dialplan/public.xml (original) +++ freeswitch/trunk/conf/dialplan/public.xml Sun Sep 28 21:09:27 2008 @@ -2,6 +2,12 @@ <include> <context name="public"> + <extension name="outside_call" continue="true"> + <condition break="never"> + <action application="set" data="outside_call=true"/> + </condition> + </extension> + <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$">
participants (1)
-
Freeswitch SVN