freeswitch/dtd/freeswitch_dialplan.dtd
Brian West c58f3deb3d 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
2007-11-01 14:59:32 +00:00

32 lines
566 B
DTD

<!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
>