Skip to content

Commit

Permalink
xmllint --dtdvalid freeswitch_dialplan.dtd /usr/local/freeswitch/conf…
Browse files Browse the repository at this point in the history
…/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
briankwest committed Nov 1, 2007
1 parent becb40a commit c58f3de
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions dtd/freeswitch_dialplan.dtd
Original file line number Diff line number Diff line change
@@ -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
>

0 comments on commit c58f3de

Please sign in to comment.