3 media="application/mediaservercontrol+xml"
4 description="Media Server Control Markup Language - draft 07"
11 DTD for MSCML - draft 07
12 http://ietfreport.isoc.org/all-ids/draft-vandyke-mscml-07.txt
13 See this for current limitations:
14 http://wireshark.org/lists/ethereal-dev/200605/msg02351.html
16 (c)Copyright 2006 Hewlett-Packard Development Company, LP.
17 Contact: olivier.jacques@hp.com
20 <!ELEMENT MediaServerControl (request | response | notification) >
21 <!-- <!ATTLIST MediaServerControl version <!ATTLIST > #REQUIRED > -->
22 <!ATTLIST MediaServerControl version CDATA #REQUIRED >
23 <!ELEMENT request (configure_conference | configure_leg | play | playcollect | playrecord | managecontent | faxplay | faxrecord | stop)>
24 <!ELEMENT configure_conference (subscribe?)>
25 <!ATTLIST configure_conference
27 reservedtalkers NMTOKEN #IMPLIED
28 <!-- there should be | 1 | 0 in addition but Wireshark doesn't like it -->
29 reserveconfmedia (yes | no | true | false) "yes"
31 <!ELEMENT configure_leg (inputgain?, outputgain?, configure_team?, subscribe?)>
32 <!ATTLIST configure_leg
34 type (talker | listener) #IMPLIED
35 mixmode (full | mute | preferred | parked | private) #IMPLIED
36 dtmfclamp (yes | no | true | false) #IMPLIED
37 toneclamp (yes | no | true | false) #IMPLIED
39 <!ELEMENT play (prompt?)>
42 prompturl CDATA #IMPLIED
44 promptencoding CDATA #IMPLIED
46 <!ELEMENT playcollect (prompt?, pattern?)>
49 prompturl CDATA #IMPLIED
51 barge (yes | no | true | false) "yes"
52 promptencoding CDATA #IMPLIED
53 cleardigits (yes | no | true | false) "no"
54 maxdigits CDATA #IMPLIED
55 firstdigittimer CDATA "5000ms"
56 interdigittimer CDATA "2000ms"
57 extradigittimer CDATA "1000ms"
58 interdigitcriticaltimer CDATA #IMPLIED
59 skipinterval CDATA "6s"
64 maskdigits (yes | no | true | false) "no"
66 <!ELEMENT playrecord (prompt?)>
69 prompturl CDATA #IMPLIED
70 promptencoding CDATA #IMPLIED
72 barge (yes | no | true | false) "yes"
73 cleardigits (yes | no | true | false) "no"
75 recurl CDATA #REQUIRED
76 mode (append | overwrite) "overwrite"
77 recencoding CDATA #IMPLIED
78 initsilence CDATA #IMPLIED
79 endsilence CDATA #IMPLIED
80 duration CDATA #IMPLIED
81 beep (yes | no | true | false) "yes"
82 recstopmask CDATA "01234567890*#"
84 <!ELEMENT managecontent EMPTY>
85 <!ATTLIST managecontent
87 fetchtimeout CDATA "10000"
88 mimetype CDATA #IMPLIED
90 httpmethod (put | post) #IMPLIED
91 action (move | delete) #IMPLIED
95 <!ELEMENT faxplay (prompt?)>
99 prompturl CDATA #IMPLIED
100 recurl CDATA #IMPLIED
103 <!ELEMENT faxrecord (prompt?)>
107 prompturl CDATA #IMPLIED
108 recurl CDATA #IMPLIED
111 <!ELEMENT stop EMPTY>
115 <!ELEMENT response (error_info?, team?)>
117 request (configure_conference | configure_leg | play | playcollect | playrecord | managecontent | faxplay | faxrecord | stop) #REQUIRED
121 reason CDATA #IMPLIED
122 reclength CDATA #IMPLIED
123 recduration CDATA #IMPLIED
124 digits CDATA #IMPLIED
126 playduration CDATA #IMPLIED
127 playoffset CDATA #IMPLIED
128 faxcode CDATA #IMPLIED
129 pages_sent CDATA #IMPLIED
130 pages_recv CDATA #IMPLIED
132 <!ELEMENT notification (conference | keypress | signal)>
133 <!ELEMENT conference (activetalkers?)>
135 uniqueid CDATA #REQUIRED
136 numtalkers CDATA #REQUIRED
138 <!ELEMENT keypress (status)>
140 digit CDATA #REQUIRED
141 length (standard | long) #REQUIRED
142 method (standard | long | double) #REQUIRED
143 interdigittime CDATA #REQUIRED
144 <!-- FIXME: Added for events in leg_eventsubscriptionType -->
145 report (standard | long | both | none) #REQUIRED
146 maskdigits (yes | no | true | false) "no"
149 <!ELEMENT signal EMPTY>
150 <!-- FIXME: added because signal can be of type CDATA and nmtoken -->
152 type CDATA #FIXED "busy"
153 report (yes | no | true | false) #REQUIRED
155 <!ELEMENT prompt (audio | variable)+>
157 locale CDATA #IMPLIED
158 baseurl CDATA #IMPLIED
159 stoponerror (yes | no | true | false) "no"
165 duration CDATA "infinite"
169 <!ELEMENT subscribe (events)>
170 <!ELEMENT inputgain (auto | fixed)>
171 <!ELEMENT outputgain (auto | fixed)>
172 <!ELEMENT configure_team (teammate*)>
173 <!ATTLIST configure_team
175 action (add | delete | query | set) #REQUIRED
177 <!ELEMENT teammate EMPTY>
181 <!ELEMENT pattern (regex+ | mgcpdigitmap | megacodigitmap)>
182 <!ELEMENT regex EMPTY>
184 value CDATA #REQUIRED
187 <!ELEMENT mgcpdigitmap EMPTY>
188 <!ATTLIST mgcpdigitmap
189 value CDATA #REQUIRED
192 <!ELEMENT megacodigitmap EMPTY>
193 <!ATTLIST megacodigitmap
194 value CDATA #REQUIRED
197 <!ELEMENT error_info EMPTY>
201 context CDATA #REQUIRED
203 <!ELEMENT team (teammate*)>
206 numteam NMTOKEN #REQUIRED
208 <!-- two events elements are possible (conference_eventsubscriptionType, leg_eventsubscriptionType)
211 <!ELEMENT events (activetalkers)>
212 <!ELEMENT activetalkers EMPTY>
213 <!ATTLIST activetalkers
216 <!ELEMENT events (keypress?, signal*)>
217 <!ELEMENT keypress EMPTY>
219 report (standard | long | both | none) #REQUIRED
220 maskdigits (yes | no | true | false) "no"
223 <!ELEMENT events (activetalkers*, keypress*, signal*)>
224 <!-- FIXME: two different activetalkers defined
225 <!ELEMENT activetalkers EMPTY>
226 <!ATTLIST activetalkers
227 report (yes | no | true | false) #REQUIRED
233 <!ELEMENT signal EMPTY>
235 type NMTOKEN #REQUIRED
236 report (yes | no | true | false) #REQUIRED
239 <!ELEMENT activetalkers (talker*)?>
240 <!ATTLIST activetalkers
241 report (yes | no | true | false) #IMPLIED
244 <!ELEMENT talker EMPTY>
246 callid CDATA #REQUIRED
248 <!ELEMENT status EMPTY>
250 command (idle | play | collect | record) #REQUIRED
251 duration CDATA #REQUIRED
253 <!ELEMENT audio EMPTY>
256 encoding CDATA #IMPLIED
262 <!ELEMENT variable EMPTY>
264 type (dat | dig | dur | mth | mny | num | sil | str | tme | wkd) #REQUIRED
265 <!-- FIXME: USD creates an error -> is it because of all capital? -->
266 <!-- subtype (mdy | dmy | ymd | ndn | t12 | t24 | USD | gen | ndn | crd | ord) #IMPLIED -->
267 subtype (mdy | dmy | ymd | ndn | usd | t12 | t24 | gen | ndn | crd | ord) #IMPLIED
268 value CDATA #REQUIRED
270 <!ELEMENT auto EMPTY>
272 startlevel CDATA #IMPLIED
273 targetlevel CDATA #IMPLIED
274 silencethreshold CDATA #IMPLIED
276 <!ELEMENT fixed EMPTY>