[Freeswitch-svn] [commit] r9916 - freeswitch/trunk/conf/dialplan

Freeswitch SVN brian at freeswitch.org
Thu Oct 9 13:53:21 EDT 2008


Author: brian
Date: Thu Oct  9 13:53:21 2008
New Revision: 9916

Modified:
   freeswitch/trunk/conf/dialplan/public.xml

Log:
this is a bit sip centric but using the sip_req_host does make more sense in this case

Modified: freeswitch/trunk/conf/dialplan/public.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/public.xml	(original)
+++ freeswitch/trunk/conf/dialplan/public.xml	Thu Oct  9 13:53:21 2008
@@ -38,7 +38,7 @@
       <condition field="${sip_req_params}" expression="domain_name=([A-Z-a-z0-9.]+)" break="never">
 	<!-- We need to export this so the B-Leg will have it after transfer too. -->
 	<action application="export" data="domain_name=$1"/>
-	<anti-action application="export" data="domain_name=$${domain}"/>
+	<anti-action application="export" data="domain_name=${sip_req_host}"/>
       </condition>
     </extension>
 



More information about the Freeswitch-svn mailing list