]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix broken paths and XML in conf/sbc
authorTravis Cross <tc@traviscross.com>
Sat, 25 Jan 2014 23:51:21 +0000 (23:51 +0000)
committerTravis Cross <tc@traviscross.com>
Sat, 25 Jan 2014 23:54:32 +0000 (23:54 +0000)
Before Jay, no one must have actually tried using the example SBC
config.

Thanks-to: Jay Blinks <jaybinks@gmail.com>
Thanks-to: Cal Leeming <cal.leeming@simplicitymedialtd.co.uk>
FS-6144 --resolve

conf/sbc/autoload_configs/sofia.conf.xml
conf/sbc/dialplan/default.xml
conf/sbc/freeswitch.xml
conf/sbc/vars.xml

index 24252d08ce3dcc83ff34959833068593501a9e3e..c41758beed56a6e04d6f8acdf05b57046b16557c 100644 (file)
@@ -6,13 +6,8 @@
     <param name="debug-presence" value="0"/>
   </global_settings>
 
-  <!--
-      The rabbit hole goes deep.  This includes all the
-      profiles in the sip_profiles directory that is up
-      one level from this directory.
-  -->
   <profiles>
-    <X-PRE-PROCESS cmd="include" data="../sip_profiles/*.xml"/>
+    <X-PRE-PROCESS cmd="include" data="../sbc_profiles/*.xml"/>
   </profiles>
 
 </configuration>
index 2280a041f303c908ac06613e9e453fae3f1edd71..3173e4d930dd4e7bcd7a1dc63955cc19a2253651 100644 (file)
@@ -9,7 +9,6 @@
     will build the domains acl using this value.
 -->
 
-<?xml version="1.0" encoding="utf-8"?>
 <!-- http://wiki.freeswitch.org/wiki/Dialplan_XML -->
 <include>
   <context name="default">
index e449978c761f41eb122e8ee68e27ac1c992805c0..ad7fd08b1ceb7aa32cdff340f2679fc4ad246b83 100644 (file)
@@ -1,4 +1,4 @@
-<include>
+<document type="freeswitch/xml">
   <!--#comment 
       All comments starting with #command will be preprocessed and never sent to the xml parser
       Valid instructions:
     <X-PRE-PROCESS cmd="include" data="dialplan/*.xml"/>
   </section>
 
-  <!-- mod_dingaling is reliant on the vcard data in the "directory" section. -->
-  <!-- mod_sofia is reliant on the user data for authorization --> 
-  <section name="directory" description="User Directory">
-    <X-PRE-PROCESS cmd="include" data="directory/*.xml"/>
-  </section>
-
-  <!-- phrases section (under development still) -->
-  <section name="phrases" description="Speech Phrase Management">
-    <macros>
-      <X-PRE-PROCESS cmd="include" data="lang/en/*.xml"/>
-    </macros>
-  </section>
-</include>
+</document>
 
 
 
index 0fbcda17b839287344bb8c91c57fbf18c4451055..52efb0683ac96d45b727d3a2c701f09cf5b61550 100644 (file)
@@ -1,3 +1,4 @@
+<include>
   <!-- Preprocessor Variables
        These are introduced when configuration strings must be consistent across modules. 
    -->
   <X-PRE-PROCESS cmd="set" data="external_tls_port=5081"/>
   <X-PRE-PROCESS cmd="set" data="external_ssl_enable=false"/>
   <X-PRE-PROCESS cmd="set" data="external_ssl_dir=$${base_dir}/conf/ssl"/>
+</include>