[Freeswitch-svn] [commit] r6132 - freeswitch/trunk/dtd

Freeswitch SVN brian at freeswitch.org
Thu Nov 1 10:59:32 EDT 2007


Author: brian
Date: Thu Nov  1 10:59:32 2007
New Revision: 6132

Added:
   freeswitch/trunk/dtd/freeswitch_dialplan.dtd

Log:
xmllint --dtdvalid freeswitch_dialplan.dtd /usr/local/freeswitch/conf/default_context.xml >>/dev/null

To validate your dialplan.

Thanks [intra]lanman.

/b



Added: freeswitch/trunk/dtd/freeswitch_dialplan.dtd
==============================================================================
--- (empty file)
+++ freeswitch/trunk/dtd/freeswitch_dialplan.dtd	Thu Nov  1 10:59:32 2007
@@ -0,0 +1,31 @@
+<!ELEMENT include (context*)>
+
+<!ELEMENT context (extension*)>
+<!ATTLIST context
+	name CDATA #REQUIRED
+>
+
+<!ELEMENT extension (condition*)>
+<!ATTLIST extension 
+	name CDATA #REQUIRED
+	continue CDATA #IMPLIED
+>
+
+<!ELEMENT condition (action*, anti-action*)>
+<!ATTLIST condition 
+	field CDATA #IMPLIED
+	expression CDATA #IMPLIED
+	continue CDATA #IMPLIED
+>
+
+<!ELEMENT action EMPTY>
+<!ATTLIST action 
+	application CDATA #REQUIRED
+	data CDATA #IMPLIED
+>
+
+<!ELEMENT anti-action EMPTY>
+<!ATTLIST anti-action
+        application CDATA #REQUIRED
+        data CDATA #IMPLIED
+>



More information about the Freeswitch-svn mailing list