Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

xmllint --dtdvalid freeswitch_dialplan.dtd /usr/local/freeswitch/conf…

…/default_context.xml >>/dev/null

To validate your dialplan.

Thanks [intra]lanman.

/b



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6132 d0543943-73ff-0310-b7d9-9358b9ac24b2
  • Loading branch information...
commit c58f3deb3d346c3c0d798c1482317131093ddf55 1 parent becb40a
@FreeSWITCH FreeSWITCH authored
Showing with 31 additions and 0 deletions.
  1. +31 −0 dtd/freeswitch_dialplan.dtd
View
31 dtd/freeswitch_dialplan.dtd
@@ -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
+>
Please sign in to comment.
Something went wrong with that request. Please try again.