[Freeswitch-branches] [commit] r11358 - freeswitch/branches/1.0/conf/autoload_configs

FreeSWITCH SVN mikej at freeswitch.org
Thu Jan 22 09:35:15 PST 2009


Author: mikej
Date: Thu Jan 22 11:35:15 2009
New Revision: 11358

Log:
mod_easyroute: add configuration file example for custom-query (r:11055)

Modified:
   freeswitch/branches/1.0/conf/autoload_configs/easyroute.conf.xml

Modified: freeswitch/branches/1.0/conf/autoload_configs/easyroute.conf.xml
==============================================================================
--- freeswitch/branches/1.0/conf/autoload_configs/easyroute.conf.xml	(original)
+++ freeswitch/branches/1.0/conf/autoload_configs/easyroute.conf.xml	Thu Jan 22 11:35:15 2009
@@ -10,5 +10,16 @@
     
     <!-- IP or Hostname of Default Route -->
     <param name="default-gateway" value="192.168.66.6"/>
+
+    <!-- Customer Query. Use this with Care!!! We are not responsible if you mess
+         This up!!! Query *MUST* return columns in the following order!
+	 gateway varchar(128) - contains destination gateway host:port pair (ex: 192.168.1.1:5060 )
+	 group varchar(128) - contains optional group name
+	 call_limit varchar(16) - contains optional call limit
+	 tech_prefix varchar(128) - tech prefix used to build dial string (ex: sofia/default )
+	 acctcode varchar(128) - used to set channel variable acctcode for logging into the CDRs
+	 destination_number varchar(16) - Number returning for the query for building the dial string. (ex: 18005551212) 
+	 See Documentation on the Wiki for further information -->
+    <!-- <param name="custom-query" value="call  FS_GET_SIP_LOCATION(%s);"/> -->
   </settings>
 </configuration>



More information about the Freeswitch-branches mailing list