regen pidl all: rm epan/dissectors/pidl/*-stamp; pushd epan/dissectors/pidl/ && make...
[wireshark-sm.git] / tools / SkinnyProtocolOptimized.xml
blob3eb5f83bdc84e95dec30f8d63b9a0b921129f4b0
1 <?xml version="1.0"?>
2 <messages>
3   <bitfield name="Generic_Bitfield_8">
4     <entries>
5       <entry comment="" name="Generic_Bitfield_Bit1" text="Bit1" value="0x01"/>
6       <entry comment="" name="Generic_Bitfield_Bit2" text="Bit2" value="0x02"/>
7       <entry comment="" name="Generic_Bitfield_Bit3" text="Bit3" value="0x04"/>
8       <entry comment="" name="Generic_Bitfield_Bit4" text="Bit4" value="0x08"/>
9       <entry comment="" name="Generic_Bitfield_Bit5" text="Bit5" value="0x10"/>
10       <entry comment="" name="Generic_Bitfield_Bit6" text="Bit6" value="0x20"/>
11       <entry comment="" name="Generic_Bitfield_Bit7" text="Bit7" value="0x40"/>
12       <entry comment="" name="Generic_Bitfield_Bit8" text="Bit8" value="0x80"/>
13     </entries>
14   </bitfield>
15   <bitfield name="Generic_Bitfield_16">
16     <entries>
17       <entry comment="" name="Generic_Bitfield_Bit1" text="Bit1" value="0x0001"/>
18       <entry comment="" name="Generic_Bitfield_Bit2" text="Bit2" value="0x0002"/>
19       <entry comment="" name="Generic_Bitfield_Bit3" text="Bit3" value="0x0004"/>
20       <entry comment="" name="Generic_Bitfield_Bit4" text="Bit4" value="0x0008"/>
21       <entry comment="" name="Generic_Bitfield_Bit5" text="Bit5" value="0x0010"/>
22       <entry comment="" name="Generic_Bitfield_Bit6" text="Bit6" value="0x0020"/>
23       <entry comment="" name="Generic_Bitfield_Bit7" text="Bit7" value="0x0040"/>
24       <entry comment="" name="Generic_Bitfield_Bit8" text="Bit8" value="0x0080"/>
25       <entry comment="" name="Generic_Bitfield_Bit9" text="Bit9" value="0x0100"/>
26       <entry comment="" name="Generic_Bitfield_Bit10" text="Bit10" value="0x0200"/>
27       <entry comment="" name="Generic_Bitfield_Bit11" text="Bit11" value="0x0400"/>
28       <entry comment="" name="Generic_Bitfield_Bit12" text="Bit12" value="0x0800"/>
29       <entry comment="" name="Generic_Bitfield_Bit13" text="Bit13" value="0x1000"/>
30       <entry comment="" name="Generic_Bitfield_Bit14" text="Bit14" value="0x2000"/>
31       <entry comment="" name="Generic_Bitfield_Bit15" text="Bit15" value="0x4000"/>
32       <entry comment="" name="Generic_Bitfield_Bit16" text="Bit16" value="0x8000"/>
33     </entries>
34   </bitfield>
35   <bitfield name="Generic_Bitfield_32">
36     <entries>
37       <entry comment="" name="Generic_Bitfield_Bit1" text="Bit1" value="0x00000001"/>
38       <entry comment="" name="Generic_Bitfield_Bit2" text="Bit2" value="0x00000002"/>
39       <entry comment="" name="Generic_Bitfield_Bit3" text="Bit3" value="0x00000004"/>
40       <entry comment="" name="Generic_Bitfield_Bit4" text="Bit4" value="0x00000008"/>
41       <entry comment="" name="Generic_Bitfield_Bit5" text="Bit5" value="0x00000010"/>
42       <entry comment="" name="Generic_Bitfield_Bit6" text="Bit6" value="0x00000020"/>
43       <entry comment="" name="Generic_Bitfield_Bit7" text="Bit7" value="0x00000040"/>
44       <entry comment="" name="Generic_Bitfield_Bit8" text="Bit8" value="0x00000080"/>
45       <entry comment="" name="Generic_Bitfield_Bit9" text="Bit9" value="0x00000100"/>
46       <entry comment="" name="Generic_Bitfield_Bit10" text="Bit10" value="0x00000200"/>
47       <entry comment="" name="Generic_Bitfield_Bit11" text="Bit11" value="0x00000400"/>
48       <entry comment="" name="Generic_Bitfield_Bit12" text="Bit12" value="0x00000800"/>
49       <entry comment="" name="Generic_Bitfield_Bit13" text="Bit13" value="0x00001000"/>
50       <entry comment="" name="Generic_Bitfield_Bit14" text="Bit14" value="0x00002000"/>
51       <entry comment="" name="Generic_Bitfield_Bit15" text="Bit15" value="0x00004000"/>
52       <entry comment="" name="Generic_Bitfield_Bit16" text="Bit16" value="0x00008000"/>
53       <entry comment="" name="Generic_Bitfield_Bit17" text="Bit17" value="0x00010000"/>
54       <entry comment="" name="Generic_Bitfield_Bit18" text="Bit18" value="0x00020000"/>
55       <entry comment="" name="Generic_Bitfield_Bit19" text="Bit19" value="0x00040000"/>
56       <entry comment="" name="Generic_Bitfield_Bit20" text="Bit20" value="0x00080000"/>
57       <entry comment="" name="Generic_Bitfield_Bit21" text="Bit21" value="0x00100000"/>
58       <entry comment="" name="Generic_Bitfield_Bit22" text="Bit22" value="0x00200000"/>
59       <entry comment="" name="Generic_Bitfield_Bit23" text="Bit23" value="0x00400000"/>
60       <entry comment="" name="Generic_Bitfield_Bit24" text="Bit24" value="0x00800000"/>
61       <entry comment="" name="Generic_Bitfield_Bit25" text="Bit25" value="0x01000000"/>
62       <entry comment="" name="Generic_Bitfield_Bit26" text="Bit26" value="0x02000000"/>
63       <entry comment="" name="Generic_Bitfield_Bit27" text="Bit27" value="0x04000000"/>
64       <entry comment="" name="Generic_Bitfield_Bit28" text="Bit28" value="0x08000000"/>
65       <entry comment="" name="Generic_Bitfield_Bit29" text="Bit29" value="0x10000000"/>
66       <entry comment="" name="Generic_Bitfield_Bit30" text="Bit30" value="0x20000000"/>
67       <entry comment="" name="Generic_Bitfield_Bit31" text="Bit31" value="0x40000000"/>
68       <entry comment="" name="Generic_Bitfield_Bit32" text="Bit32" value="0x80000000"/>
69     </entries>
70   </bitfield>
71   <enum name="DisplayLabels_36">
72     <entries>
73       <entry name="DisplayLabel_Empty" text="Empty" value="0o000"/>
74       <entry name="DisplayLabel_Acct" text="Acct" value="0o002"/>
75       <entry name="DisplayLabel_Flash" text="Flash" value="0o003"/>
76       <entry name="DisplayLabel_Login" text="Login" value="0o004"/>
77       <entry name="DisplayLabel_Device_In_Home_Location" text="Device In Home Location" value="0o005"/>
78       <entry name="DisplayLabel_Device_In_Roaming_Location" text="Device In Roaming Location" value="0o006"/>
79       <entry name="DisplayLabel_Enter_Authorization_Code" text="Enter Authorization Code" value="0o007"/>
80       <entry name="DisplayLabel_Enter_Client_Matter_Code" text="Enter Client Matter Code" value="0o010"/>
81       <entry name="DisplayLabel_Calls_Available_For_Pickup" text="Calls Available For Pickup" value="0o011"/>
82       <entry name="DisplayLabel_Cm_Fallback_Service_Operating" text="Cm Fallback Service Operating" value="0o012"/>
83       <entry name="DisplayLabel_Max_Phones_Exceeded" text="Max Phones Exceeded" value="0o013"/>
84       <entry name="DisplayLabel_Waiting_To_Rehome" text="Waiting To Rehome" value="0o014"/>
85       <entry name="DisplayLabel_Please_End_Call" text="Please End Call" value="0o015"/>
86       <entry name="DisplayLabel_Paging" text="Paging" value="0o016"/>
87       <entry name="DisplayLabel_Select_Line" text="Select Line" value="0o017"/>
88       <entry name="DisplayLabel_Transfer_Destination_Is_Busy" text="Transfer Destination Is Busy" value="0o020"/>
89       <entry name="DisplayLabel_Select_A_Service" text="Select A Service" value="0o021"/>
90       <entry name="DisplayLabel_Local_Services" text="Local Services" value="0o022"/>
91       <entry name="DisplayLabel_Enter_Search_Criteria" text="Enter Search Criteria" value="0o023"/>
92       <entry name="DisplayLabel_Night_Service" text="Night Service" value="0o024"/>
93       <entry name="DisplayLabel_Night_Service_Active" text="Night Service Active" value="0o025"/>
94       <entry name="DisplayLabel_Night_Service_Disabled" text="Night Service Disabled" value="0o026"/>
95       <entry name="DisplayLabel_Login_Successful" text="Login Successful" value="0o027"/>
96       <entry name="DisplayLabel_Wrong_Pin" text="Wrong Pin" value="0o030"/>
97       <entry name="DisplayLabel_Please_Enter_Pin" text="Please Enter Pin" value="0o031"/>
98       <entry name="DisplayLabel_Of" text="Of" value="0o032"/>
99       <entry name="DisplayLabel_Records_1_To" text="Records 1 To" value="0o033"/>
100       <entry name="DisplayLabel_No_Record_Found" text="No Record Found" value="0o034"/>
101       <entry name="DisplayLabel_Search_Results" text="Search Results" value="0o035"/>
102       <entry name="DisplayLabel_Calls_In_Queue" text="Calls In Queue" value="0o036"/>
103       <entry name="DisplayLabel_Join_To_Hunt_Group" text="Join To Hunt Group" value="0o037"/>
104       <entry name="DisplayLabel_Ready" text="Ready" value="0o040"/>
105       <entry name="DisplayLabel_Notready" text="Notready" value="0o041"/>
106       <entry name="DisplayLabel_Call_On_Hold" text="Call On Hold" value="0o042"/>
107       <entry name="DisplayLabel_Hold_Reversion" text="Hold Reversion" value="0o043"/>
108       <entry name="DisplayLabel_Setup_Failed" text="Setup Failed" value="0o044"/>
109       <entry name="DisplayLabel_No_Resources" text="No Resources" value="0o045"/>
110       <entry name="DisplayLabel_Device_Not_Authorized" text="Device Not Authorized" value="0o046"/>
111       <entry name="DisplayLabel_Monitoring" text="Monitoring" value="0o047"/>
112       <entry name="DisplayLabel_Recording_Awaiting_Call_To_Be_Active" text="Recording Awaiting Call To Be Active" value="0o050"/>
113       <entry name="DisplayLabel_Recording_Already_In_Progress" text="Recording Already In Progress" value="0o051"/>
114       <entry name="DisplayLabel_Inactive_Recording_Session" text="Inactive Recording Session" value="0o052"/>
115       <entry name="DisplayLabel_Mobility" text="Mobility" value="0o053"/>
116       <entry name="DisplayLabel_Whisper" text="Whisper" value="0o054"/>
117       <entry name="DisplayLabel_Forward_All" text="Forward All" value="0o055"/>
118       <entry name="DisplayLabel_Malicious_Call_Id" text="Malicious Call Id" value="0o056"/>
119       <entry name="DisplayLabel_Group_Pickup" text="Group Pickup" value="0o057"/>
120       <entry name="DisplayLabel_Remove_Last_Participant" text="Remove Last Participant" value="0o060"/>
121       <entry name="DisplayLabel_Other_Pickup" text="Other Pickup" value="0o061"/>
122       <entry name="DisplayLabel_Video" text="Video" value="0o062"/>
123       <entry name="DisplayLabel_End_Call" text="End Call" value="0o063"/>
124       <entry name="DisplayLabel_Conference_List" text="Conference List" value="0o064"/>
125       <entry name="DisplayLabel_Quality_Reporting_Tool" text="Quality Reporting Tool" value="0o065"/>
126       <entry name="DisplayLabel_Hunt_Group" text="Hunt Group" value="0o066"/>
127       <entry name="DisplayLabel_Use_Line_Or_Join_To_Complete" text="Use Line Or Join To Complete" value="0o067"/>
128       <entry name="DisplayLabel_Do_Not_Disturb" text="Do Not Disturb" value="0o070"/>
129       <entry name="DisplayLabel_Do_Not_Disturb_Is_Active" text="Do Not Disturb Is Active" value="0o071"/>
130       <entry name="DisplayLabel_Cfwdall_Loop_Detected" text="Cfwdall Loop Detected" value="0o072"/>
131       <entry name="DisplayLabel_Cfwdall_Hops_Exceeded" text="Cfwdall Hops Exceeded" value="0o073"/>
132       <entry name="DisplayLabel_Abbrdial" text="Abbrdial" value="0o074"/>
133       <entry name="DisplayLabel_Pickup_Is_Unavailable" text="Pickup Is Unavailable" value="0o075"/>
134       <entry name="DisplayLabel_Conference_Is_Unavailable" text="Conference Is Unavailable" value="0o076"/>
135       <entry name="DisplayLabel_Meetme_Is_Unavailable" text="Meetme Is Unavailable" value="0o077"/>
136       <entry name="DisplayLabel_Cannot_Retrieve_Parked_Call" text="Cannot Retrieve Parked Call" value="0o0100"/>
137       <entry name="DisplayLabel_Cannot_Send_Call_To_Mobile" text="Cannot Send Call To Mobile" value="0o0101"/>
138       <entry name="DisplayLabel_Record" text="Record" value="0o0103"/>
139       <entry name="DisplayLabel_Cannot_Move_Conversation" text="Cannot Move Conversation" value="0o0104"/>
140       <entry name="DisplayLabel_Cw_Off" text="Cw Off" value="0o0105"/>
141       <entry name="DisplayLabel_Coaching" text="Coaching" value="0o0106"/>
142       <entry name="DisplayLabel_Recording" text="Recording" value="0o0117"/>
143       <entry name="DisplayLabel_Recording_Failed" text="Recording Failed" value="0o0120"/>
144       <entry name="DisplayLabel_Connecting" text="Connecting" value="0o0121"/>
145     </entries>
146   </enum>
147   <enum name="DisplayLabels_200">
148     <entries>
149       <entry name="DisplayLabel_Redial" text="Redial" value="0o01"/>
150       <entry name="DisplayLabel_Newcall" text="Newcall" value="0o02"/>
151       <entry name="DisplayLabel_Hold" text="Hold" value="0o03"/>
152       <entry name="DisplayLabel_Transfer" text="Transfer" value="0o04"/>
153       <entry name="DisplayLabel_Cfwdall" text="Cfwdall" value="0o05"/>
154       <entry name="DisplayLabel_Cfwdbusy" text="Cfwdbusy" value="0o06"/>
155       <entry name="DisplayLabel_Cfwdnoanswer" text="Cfwdnoanswer" value="0o07"/>
156       <entry name="DisplayLabel_Backspace" text="Backspace" value="0o010"/>
157       <entry name="DisplayLabel_Endcall" text="Endcall" value="0o011"/>
158       <entry name="DisplayLabel_Resume" text="Resume" value="0o012"/>
159       <entry name="DisplayLabel_Answer" text="Answer" value="0o013"/>
160       <entry name="DisplayLabel_Info" text="Info" value="0o014"/>
161       <entry name="DisplayLabel_Confrn" text="Confrn" value="0o015"/>
162       <entry name="DisplayLabel_Park" text="Park" value="0o016"/>
163       <entry name="DisplayLabel_Join" text="Join" value="0o017"/>
164       <entry name="DisplayLabel_Meetme" text="Meetme" value="0o020"/>
165       <entry name="DisplayLabel_Pickup" text="Pickup" value="0o021"/>
166       <entry name="DisplayLabel_Gpickup" text="Gpickup" value="0o022"/>
167       <entry name="DisplayLabel_Your_Current_Options" text="Your Current Options" value="0o023"/>
168       <entry name="DisplayLabel_Off_Hook" text="Off Hook" value="0o024"/>
169       <entry name="DisplayLabel_On_Hook" text="On Hook" value="0o025"/>
170       <entry name="DisplayLabel_Ring_Out" text="Ring Out" value="0o026"/>
171       <entry name="DisplayLabel_From" text="From " value="0o027"/>
172       <entry name="DisplayLabel_Connected" text="Connected" value="0o030"/>
173       <entry name="DisplayLabel_Busy" text="Busy" value="0o031"/>
174       <entry name="DisplayLabel_Line_In_Use" text="Line In Use" value="0o032"/>
175       <entry name="DisplayLabel_Call_Waiting" text="Call Waiting" value="0o033"/>
176       <entry name="DisplayLabel_Call_Transfer" text="Call Transfer" value="0o034"/>
177       <entry name="DisplayLabel_Call_Park" text="Call Park" value="0o035"/>
178       <entry name="DisplayLabel_Call_Proceed" text="Call Proceed" value="0o036"/>
179       <entry name="DisplayLabel_In_Use_Remote" text="In Use Remote" value="0o037"/>
180       <entry name="DisplayLabel_Enter_Number" text="Enter Number" value="0o040"/>
181       <entry name="DisplayLabel_Call_Park_At" text="Call Park At" value="0o041"/>
182       <entry name="DisplayLabel_Primary_Only" text="Primary Only" value="0o042"/>
183       <entry name="DisplayLabel_Temp_Fail" text="Temp Fail" value="0o043"/>
184       <entry name="DisplayLabel_You_Have_Voicemail" text="You Have Voicemail" value="0o044"/>
185       <entry name="DisplayLabel_Forwarded_To" text="Forwarded To" value="0o045"/>
186       <entry name="DisplayLabel_Can_Not_Complete_Conference" text="Can Not Complete Conference" value="0o046"/>
187       <entry name="DisplayLabel_No_Conference_Bridge" text="No Conference Bridge" value="0o047"/>
188       <entry name="DisplayLabel_Can_Not_Hold_Primary_Control" text="Can Not Hold Primary Control" value="0o050"/>
189       <entry name="DisplayLabel_Invalid_Conference_Participant" text="Invalid Conference Participant" value="0o051"/>
190       <entry name="DisplayLabel_In_Conference_Already" text="In Conference Already" value="0o052"/>
191       <entry name="DisplayLabel_No_Participant_Info" text="No Participant Info" value="0o053"/>
192       <entry name="DisplayLabel_Exceed_Maximum_Parties" text="Exceed Maximum Parties" value="0o054"/>
193       <entry name="DisplayLabel_Key_Is_Not_Active" text="Key Is Not Active" value="0o055"/>
194       <entry name="DisplayLabel_Error_No_License" text="Error No License" value="0o056"/>
195       <entry name="DisplayLabel_Error_Dbconfig" text="Error Dbconfig" value="0o057"/>
196       <entry name="DisplayLabel_Error_Database" text="Error Database" value="0o060"/>
197       <entry name="DisplayLabel_Error_Pass_Limit" text="Error Pass Limit" value="0o061"/>
198       <entry name="DisplayLabel_Error_Unknown" text="Error Unknown" value="0o062"/>
199       <entry name="DisplayLabel_Error_Mismatch" text="Error Mismatch" value="0o063"/>
200       <entry name="DisplayLabel_Conference" text="Conference" value="0o064"/>
201       <entry name="DisplayLabel_Park_Number" text="Park Number" value="0o065"/>
202       <entry name="DisplayLabel_Private" text="Private" value="0o066"/>
203       <entry name="DisplayLabel_Not_Enough_Bandwidth" text="Not Enough Bandwidth" value="0o067"/>
204       <entry name="DisplayLabel_Unknown_Number" text="Unknown Number" value="0o070"/>
205       <entry name="DisplayLabel_Rmlstc" text="Rmlstc" value="0o071"/>
206       <entry name="DisplayLabel_Voicemail" text="Voicemail" value="0o072"/>
207       <entry name="DisplayLabel_Immdiv" text="Immdiv" value="0o073"/>
208       <entry name="DisplayLabel_Intrcpt" text="Intrcpt" value="0o074"/>
209       <entry name="DisplayLabel_Setwtch" text="Setwtch" value="0o075"/>
210       <entry name="DisplayLabel_Trnsfvm" text="Trnsfvm" value="0o076"/>
211       <entry name="DisplayLabel_Dnd" text="Dnd" value="0o077"/>
212       <entry name="DisplayLabel_Divall" text="Divall" value="0o0100"/>
213       <entry name="DisplayLabel_Callback" text="Callback" value="0o0101"/>
214       <entry name="DisplayLabel_Network_Congestion_Rerouting" text="Network Congestion Rerouting" value="0o0102"/>
215       <entry name="DisplayLabel_Barge" text="Barge" value="0o0103"/>
216       <entry name="DisplayLabel_Failed_To_Setup_Barge" text="Failed To Setup Barge" value="0o0104"/>
217       <entry name="DisplayLabel_Another_Barge_Exists" text="Another Barge Exists" value="0o0105"/>
218       <entry name="DisplayLabel_Incompatible_Device_Type" text="Incompatible Device Type" value="0o0106"/>
219       <entry name="DisplayLabel_No_Park_Number_Available" text="No Park Number Available" value="0o0107"/>
220       <entry name="DisplayLabel_Callpark_Reversion" text="Callpark Reversion" value="0o0110"/>
221       <entry name="DisplayLabel_Service_Is_Not_Active" text="Service Is Not Active" value="0o0111"/>
222       <entry name="DisplayLabel_High_Traffic_Try_Again_Later" text="High Traffic Try Again Later" value="0o0112"/>
223       <entry name="DisplayLabel_Qrt" text="Qrt" value="0o0113"/>
224       <entry name="DisplayLabel_Mcid" text="Mcid" value="0o0114"/>
225       <entry name="DisplayLabel_Dirtrfr" text="Dirtrfr" value="0o0115"/>
226       <entry name="DisplayLabel_Select" text="Select" value="0o0116"/>
227       <entry name="DisplayLabel_Conflist" text="Conflist" value="0o0117"/>
228       <entry name="DisplayLabel_Idivert" text="Idivert" value="0o0120"/>
229       <entry name="DisplayLabel_Cbarge" text="Cbarge" value="0o0121"/>
230       <entry name="DisplayLabel_Can_Not_Complete_Transfer" text="Can Not Complete Transfer" value="0o0122"/>
231       <entry name="DisplayLabel_Can_Not_Join_Calls" text="Can Not Join Calls" value="0o0123"/>
232       <entry name="DisplayLabel_Mcid_Successful" text="Mcid Successful" value="0o0124"/>
233       <entry name="DisplayLabel_Number_Not_Configured" text="Number Not Configured" value="0o0125"/>
234       <entry name="DisplayLabel_Security_Error" text="Security Error" value="0o0126"/>
235       <entry name="DisplayLabel_Video_Bandwidth_Unavailable" text="Video Bandwidth Unavailable" value="0o0127"/>
236       <entry name="DisplayLabel_Vidmode" text="Vidmode" value="0o0130"/>
237       <entry name="DisplayLabel_Max_Call_Duration_Timeout" text="Max Call Duration Timeout" value="0o0131"/>
238       <entry name="DisplayLabel_Max_Hold_Duration_Timeout" text="Max Hold Duration Timeout" value="0o0132"/>
239       <entry name="DisplayLabel_Opickup" text="Opickup" value="0o0133"/>
240       <entry name="DisplayLabel_Hlog" text="Hlog" value="0o0134"/>
241       <entry name="DisplayLabel_Logged_Out_Of_Hunt_Group" text="Logged Out Of Hunt Group" value="0o0135"/>
242       <entry name="DisplayLabel_Park_Slot_Unavailable" text="Park Slot Unavailable" value="0o0136"/>
243       <entry name="DisplayLabel_No_Call_Available_For_Pickup" text="No Call Available For Pickup" value="0o0137"/>
244       <entry name="DisplayLabel_External_Transfer_Restricted" text="External Transfer Restricted" value="0o0141"/>
245       <entry name="DisplayLabel_No_Line_Available_For_Pickup" text="No Line Available For Pickup" value="0o0142"/>
246       <entry name="DisplayLabel_Path_Replacement_In_Progress" text="Path Replacement In Progress" value="0o0143"/>
247       <entry name="DisplayLabel_Unknown_2" text="Unknown 2" value="0o0144"/>
248       <entry name="DisplayLabel_Mac_Address" text="Mac Address" value="0o0145"/>
249       <entry name="DisplayLabel_Host_Name" text="Host Name" value="0o0146"/>
250       <entry name="DisplayLabel_Domain_Name" text="Domain Name" value="0o0147"/>
251       <entry name="DisplayLabel_Ip_Address" text="Ip Address" value="0o0150"/>
252       <entry name="DisplayLabel_Subnet_Mask" text="Subnet Mask" value="0o0151"/>
253       <entry name="DisplayLabel_Tftp_Server_1" text="Tftp Server 1" value="0o0152"/>
254       <entry name="DisplayLabel_Default_Router_1" text="Default Router 1" value="0o0153"/>
255       <entry name="DisplayLabel_Default_Router_2" text="Default Router 2" value="0o0154"/>
256       <entry name="DisplayLabel_Default_Router_3" text="Default Router 3" value="0o0155"/>
257       <entry name="DisplayLabel_Default_Router_4" text="Default Router 4" value="0o0156"/>
258       <entry name="DisplayLabel_Default_Router_5" text="Default Router 5" value="0o0157"/>
259       <entry name="DisplayLabel_Dns_Server_1" text="Dns Server 1" value="0o0160"/>
260       <entry name="DisplayLabel_Dns_Server_2" text="Dns Server 2" value="0o0161"/>
261       <entry name="DisplayLabel_Dns_Server_3" text="Dns Server 3" value="0o0162"/>
262       <entry name="DisplayLabel_Dns_Server_4" text="Dns Server 4" value="0o0163"/>
263       <entry name="DisplayLabel_Dns_Server_5" text="Dns Server 5" value="0o0164"/>
264       <entry name="DisplayLabel_Operational_Vlan_Id" text="Operational Vlan Id" value="0o0165"/>
265       <entry name="DisplayLabel_Admin_Vlan_Id" text="Admin Vlan Id" value="0o0166"/>
266       <entry name="DisplayLabel_Call_Manager_1" text="Call Manager 1" value="0o0167"/>
267       <entry name="DisplayLabel_Call_Manager_2" text="Call Manager 2" value="0o0170"/>
268       <entry name="DisplayLabel_Call_Manager_3" text="Call Manager 3" value="0o0171"/>
269       <entry name="DisplayLabel_Call_Manager_4" text="Call Manager 4" value="0o0172"/>
270       <entry name="DisplayLabel_Call_Manager_5" text="Call Manager 5" value="0o0173"/>
271       <entry name="DisplayLabel_Information_Url" text="Information Url" value="0o0174"/>
272       <entry name="DisplayLabel_Directories_Url" text="Directories Url" value="0o0175"/>
273       <entry name="DisplayLabel_Messages_Url" text="Messages Url" value="0o0176"/>
274       <entry name="DisplayLabel_Services_Url" text="Services Url" value="0o0177"/>
275     </entries>
276   </enum>
277   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="KeepAliveReqMessage" opcode="0x0000" type="RegistrationAndManagement"/>
278   <enum name="DeviceType">
279     <entries>
280       <entry comment="" name="DeviceType_Station30SPplus" text="Station30SPplus" value="0x00001"/>
281       <entry comment="" name="DeviceType_Station12SPplus" text="Station12SPplus" value="0x00002"/>
282       <entry comment="" name="DeviceType_Station12SP" text="Station12SP" value="0x00003"/>
283       <entry comment="" name="DeviceType_Station12" text="Station12" value="0x00004"/>
284       <entry comment="" name="DeviceType_Station30VIP" text="Station30VIP" value="0x00005"/>
285       <entry comment="" name="DeviceType_StationTelecasterMgr" text="StationTelecasterMgr" value="0x00007"/>
286       <entry comment="" name="DeviceType_StationVGC" text="StationVGC" value="0x0000a"/>
287       <entry comment="" name="DeviceType_VGCVirtualPhone" text="VGCVirtualPhone" value="0x0000b"/>
288       <entry comment="" name="DeviceType_StationATA186" text="StationATA186" value="0x0000c"/>
289       <entry comment="" name="DeviceType_StationATA188" text="StationATA188" value="0x0000d"/>
290       <entry comment="" name="DeviceType_EmccBase" text="EmccBase" value="0x0000f"/>
291       <entry comment="" name="DeviceType_Virtual30SPplus" text="Virtual30SPplus" value="0x00014"/>
292       <entry comment="" name="DeviceType_StationPhoneApplication" text="StationPhoneApplication" value="0x00015"/>
293       <entry comment="" name="DeviceType_AnalogAccess" text="AnalogAccess" value="0x0001e"/>
294       <entry comment="" name="DeviceType_DigitalAccessTitan1" text="DigitalAccessTitan1" value="0x00028"/>
295       <entry comment="Digital Access T1" name="DeviceType_DigitalAccessT1" text="Digital Access T1" value="0x00029"/>
296       <entry comment="" name="DeviceType_DigitalAccessTitan2" text="DigitalAccessTitan2" value="0x0002a"/>
297       <entry comment="" name="DeviceType_DigitalAccessLennon" text="DigitalAccessLennon" value="0x0002b"/>
298       <entry comment="" name="DeviceType_AnalogAccessElvis" text="AnalogAccessElvis" value="0x0002f"/>
299       <entry comment="" name="DeviceType_VGCGateway" text="VGCGateway" value="0x00030"/>
300       <entry comment="" name="DeviceType_ConferenceBridge" text="ConferenceBridge" value="0x00032"/>
301       <entry comment="" name="DeviceType_ConferenceBridgeYoko" text="ConferenceBridgeYoko" value="0x00033"/>
302       <entry comment="" name="DeviceType_ConferenceBridgeDixieLand" text="ConferenceBridgeDixieLand" value="0x00034"/>
303       <entry comment="" name="DeviceType_ConferenceBridgeSummit" text="ConferenceBridgeSummit" value="0x00035"/>
304       <entry comment="" name="DeviceType_H225" text="H225" value="0x0003c"/>
305       <entry comment="" name="DeviceType_H323Phone" text="H323Phone" value="0x0003d"/>
306       <entry comment="" name="DeviceType_H323Gateway" text="H323Gateway" value="0x0003e"/>
307       <entry comment="" name="DeviceType_MusicOnHold" text="MusicOnHold" value="0x00046"/>
308       <entry comment="" name="DeviceType_Pilot" text="Pilot" value="0x00047"/>
309       <entry comment="" name="DeviceType_TapiPort" text="TapiPort" value="0x00048"/>
310       <entry comment="" name="DeviceType_TapiRoutePoint" text="TapiRoutePoint" value="0x00049"/>
311       <entry comment="" name="DeviceType_VoiceInBox" text="VoiceInBox" value="0x00050"/>
312       <entry comment="" name="DeviceType_VoiceInboxAdmin" text="VoiceInboxAdmin" value="0x00051"/>
313       <entry comment="" name="DeviceType_LineAnnunciator" text="LineAnnunciator" value="0x00052"/>
314       <entry comment="" name="DeviceType_SoftwareMtpDixieLand" text="SoftwareMtpDixieLand" value="0x00053"/>
315       <entry comment="" name="DeviceType_CiscoMediaServer" text="CiscoMediaServer" value="0x00054"/>
316       <entry comment="" name="DeviceType_ConferenceBridgeFlint" text="ConferenceBridgeFlint" value="0x00055"/>
317       <entry comment="" name="DeviceType_ConferenceBridgeHetroGen" text="ConferenceBridgeHetroGen" value="0x00056"/>
318       <entry comment="" name="DeviceType_ConferenceBridgeAudVid" text="ConferenceBridgeAudVid" value="0x00057"/>
319       <entry comment="" name="DeviceType_ConferenceHVideoBridge" text="ConferenceHVideoBridge" value="0x00058"/>
320       <entry comment="" name="DeviceType_RouteList" text="RouteList" value="0x0005a"/>
321       <entry comment="" name="DeviceType_LoadSimulator" text="LoadSimulator" value="0x00064"/>
322       <entry comment="" name="DeviceType_MediaTerminationPoint" text="MediaTerminationPoint" value="0x0006e"/>
323       <entry comment="" name="DeviceType_MediaTerminationPointYoko" text="MediaTerminationPointYoko" value="0x0006f"/>
324       <entry comment="" name="DeviceType_MediaTerminationPointDixieLand" text="MediaTerminationPointDixieLand" value="0x00070"/>
325       <entry comment="" name="DeviceType_MediaTerminationPointSummit" text="MediaTerminationPointSummit" value="0x00071"/>
326       <entry comment="" name="DeviceType_Cisco_7941G" text="7941G" value="0x00073"/>
327       <entry comment="" name="DeviceType_Cisco_7971" text="7971" value="0x00077"/>
328       <entry comment="" name="DeviceType_MGCPStation" text="MGCPStation" value="0x00078"/>
329       <entry comment="" name="DeviceType_MGCPTrunk" text="MGCPTrunk" value="0x00079"/>
330       <entry comment="" name="DeviceType_RASProxy" text="RASProxy" value="0x0007a"/>
331       <entry comment="" name="DeviceType_Trunk" text="Trunk" value="0x0007d"/>
332       <entry comment="" name="DeviceType_Annunciator" text="Annunciator" value="0x0007e"/>
333       <entry comment="" name="DeviceType_MonitorBridge" text="MonitorBridge" value="0x0007f"/>
334       <entry comment="" name="DeviceType_Recorder" text="Recorder" value="0x00080"/>
335       <entry comment="" name="DeviceType_MonitorBridgeYoko" text="MonitorBridgeYoko" value="0x00081"/>
336       <entry comment="" name="DeviceType_SipTrunk" text="SipTrunk" value="0x00083"/>
337       <entry comment="" name="DeviceType_SipGateway" text="SipGateway" value="0x00084"/>
338       <entry comment="" name="DeviceType_WsmTrunk" text="WsmTrunk" value="0x00085"/>
339       <entry comment="" name="DeviceType_RemoteDestination" text="RemoteDestination" value="0x00086"/>
340       <entry comment="" name="DeviceType_GenericDevice" text="GenericDevice" value="0x000fd"/>
341       <entry comment="" name="DeviceType_UnknownMGCPGateway" text="UnknownMGCPGateway" value="0x000fe"/>
342       <entry comment="" name="DeviceType_NotDefined" text="NotDefined" value="0x000ff"/>
343       <entry comment="" name="DeviceType_Cisco_7911" text="7911" value="0x00133"/>
344       <entry comment="" name="DeviceType_MotorolaCN622" text="MotorolaCN622" value="0x0014f"/>
345       <entry comment="" name="DeviceType_ThirdPartySipBasic" text="3rdPartySipBasic" value="0x00150"/>
346       <entry comment="" name="DeviceType_UnifiedCommunicator" text="UnifiedCommunicator" value="0x00166"/>
347       <entry comment="" name="DeviceType_Cisco_7921" text="7921" value="0x0016d"/>
348       <entry comment="" name="DeviceType_Cisco_7906" text="7906" value="0x00171"/>
349       <entry comment="" name="DeviceType_ThirdPartySipAdv" text="3rdPartySipAdv" value="0x00176"/>
350       <entry comment="" name="DeviceType_Telepresence" text="Telepresence" value="0x00177"/>
351       <entry comment="" name="DeviceType_Cisco_7962" text="7962" value="0x00194"/>
352       <entry comment="" name="DeviceType_Cisco_3951" text="3951" value="0x0019c"/>
353       <entry comment="" name="DeviceType_Cisco_7937" text="7937" value="0x001af"/>
354       <entry comment="" name="DeviceType_Cisco_7942" text="7942" value="0x001b2"/>
355       <entry comment="" name="DeviceType_Cisco_7945" text="7945" value="0x001b3"/>
356       <entry comment="" name="DeviceType_Cisco_7965" text="7965" value="0x001b4"/>
357       <entry comment="" name="DeviceType_Cisco_7975" text="7975" value="0x001b5"/>
358       <entry comment="" name="DeviceType_Cisco_9971_CE" text="9971_CE" value="0x001ed"/>
359       <entry comment="" name="DeviceType_UnifiedMobileCommunicator" text="UnifiedMobileCommunicator" value="0x001d4"/>
360       <entry comment="" name="DeviceType_CSF" text="CSF" value="0x001f7"/>
361       <entry comment="" name="DeviceType_CiscoTelepresenceMcu" text="CiscoTelepresenceMcu" value="0x00255"/>
362       <entry comment="" name="DeviceType_CiscoTelePresenceConductor" text="CiscoTelePresenceConductor" value="0x08cc9"/>
363       <entry comment="" name="DeviceType_CiscoTelePresenceExchange" text="CiscoTelePresenceExchange" value="0x00257"/>
364       <entry comment="" name="DeviceType_CiscoTelePresenceSoftwareConferenceBridge" text="CiscoTelePresenceSoftwareConferenceBridge" value="0x00258"/>
365       <entry comment="" name="DeviceType_ASSip" text="ASSip" value="0x00277"/>
366       <entry comment="" name="DeviceType_CtiRemoteDevice" text="CtiRemoteDevice" value="0x0027b"/>
367       <entry comment="" name="DeviceType_Cisco_7905" text="7905" value="0x04e20"/>
368       <entry comment="" name="DeviceType_Cisco_7920" text="7920" value="0x07532"/>
369       <entry comment="" name="DeviceType_Cisco_7970" text="7970" value="0x07536"/>
370       <entry comment="" name="DeviceType_Cisco_7912" text="7912" value="0x07537"/>
371       <entry comment="" name="DeviceType_Cisco_7902" text="7902" value="0x07538"/>
372       <entry comment="" name="DeviceType_Cisco_7961G" text="7961G" value="0x07542"/>
373       <entry comment="" name="DeviceType_Cisco_7936" text="7936" value="0x07543"/>
374       <entry comment="" name="DeviceType_AnalogPhone" text="AnalogPhone" value="0x0754b"/>
375       <entry comment="" name="DeviceType_ISDNBRIPhone" text="ISDNBRIPhone" value="0x0754c"/>
376       <entry comment="" name="DeviceType_SCCPGwVirtualPhone" text="SCCPGwVirtualPhone" value="0x07550"/>
377       <entry comment="" name="DeviceType_IP_STE" text="IP_STE" value="0x07553"/>
378       <entry comment="" name="DeviceType_InteractiveVoiceResponse" text="InteractiveVoiceResponse" value="0x8d7b"/>
379       <entry comment="Cisco 7910" name="DeviceType_Cisco_7910" text="Cisco 7910" value="0x00006"/>
380       <entry comment="Cisco 7925" name="DeviceType_Cisco_7925" text="Cisco 7925" value="0x001e4"/>
381       <entry comment="Cisco 7931" name="DeviceType_Cisco_7931" text="Cisco 7931" value="0x0015c"/>
382       <entry comment="Cisco 7935" name="DeviceType_Cisco_7935" text="Cisco 7935" value="0x00009"/>
383       <entry comment="Cisco 7940" name="DeviceType_Cisco_7940" text="Cisco 7940" value="0x00008"/>
384       <entry comment="Cisco 7961 GE" name="DeviceType_Cisco_7961_GE" text="Cisco 7961 GE" value="0x00134"/>
385       <entry comment="" name="DeviceType_Cisco_7961G_GE" text="7961G_GE" value="0x00135"/>
386       <entry comment="Cisco 7985" name="DeviceType_Cisco_7985" text="Cisco 7985" value="0x0012e"/>
387       <entry comment="Nokia E Series" name="DeviceType_Nokia_E_Series" text="Nokia E Series" value="0x00113"/>
388       <entry comment="Cisco IP Communicator" name="DeviceType_Cisco_IP_Communicator" text="Cisco IP Communicator" value="0x07540"/>
389       <entry comment="Nokia ICC client" name="DeviceType_Nokia_ICC_client" text="Nokia ICC client" value="0x00178"/>
390       <entry comment="Cisco 6901" name="DeviceType_Cisco_6901" text="Cisco 6901" value="0x00223"/>
391       <entry comment="Cisco 6911" name="DeviceType_Cisco_6911" text="Cisco 6911" value="0x00224"/>
392       <entry comment="Cisco 6921" name="DeviceType_Cisco_6921" text="Cisco 6921" value="0x001ef"/>
393       <entry comment="Cisco 6941" name="DeviceType_Cisco_6941" text="Cisco 6941" value="0x001f0"/>
394       <entry comment="Cisco 6945" name="DeviceType_Cisco_6945" text="Cisco 6945" value="0x00234"/>
395       <entry comment="Cisco 6961" name="DeviceType_Cisco_6961" text="Cisco 6961" value="0x001f1"/>
396       <entry comment="Cisco 8941" name="DeviceType_Cisco_8941" text="Cisco 8941" value="0x0024a"/>
397       <entry comment="Cisco 8945" name="DeviceType_Cisco_8945" text="Cisco 8945" value="0x00249"/>
398       <entry comment="Cisco SPA 303G (1 line)" name="DeviceType_Cisco_SPA_303G" text="Cisco SPA 303G" value="0x1388b"/>
399       <entry comment="Cisco SPA 502G (1 line)" name="DeviceType_Cisco_SPA_502G" text="Cisco SPA 502G" value="0x13883"/>
400       <entry comment="Cisco SPA 504G (4 lines)" name="DeviceType_Cisco_SPA_504G" text="Cisco SPA 504G" value="0x13884"/>
401       <entry comment="Cisco SPA 509G (12 lines)" name="DeviceType_Cisco_SPA_509G" text="Cisco SPA 509G" value="0x13887"/>
402       <entry comment="Cisco SPA 521S" name="DeviceType_Cisco_SPA_521S" text="Cisco SPA 521S" value="0x13880"/>
403       <entry comment="Cisco SPA 525G (5 lines / color / wifi / bluetooth)" name="DeviceType_Cisco_SPA_525G" text="Cisco SPA 525G" value="0x13885"/>
404       <entry comment="Cisco SPA 525G2 (5 lines / color / wifi / bluetooth)" name="DeviceType_Cisco_SPA_525G2" text="Cisco SPA 525G2" value="0x13889"/>
405       <entry comment="Cisco 7914 AddOn" name="DeviceType_Cisco_7914_AddOn" text="Cisco 7914 AddOn" value="0x0007c"/>
406       <entry comment="Cisco 7915 AddOn (12 Buttons)" name="DeviceType_Cisco_7915_AddOn" text="Cisco 7915 AddOn" value="0x000e3"/>
407       <entry comment="Cisco 7915 AddOn (24 Buttons)" name="DeviceType_Cisco_7915_AddOn_24" text="Cisco 7915 AddOn 24" value="0x000e4"/>
408       <entry comment="Cisco 7916 AddOn (12 Buttons)" name="DeviceType_Cisco_7916_AddOn" text="Cisco 7916 AddOn" value="0x000e5"/>
409       <entry comment="Cisco 7916 AddOn (24 Buttons)" name="DeviceType_Cisco_7916_AddOn_24" text="Cisco 7916 AddOn 24" value="0x000e6"/>
410     </entries>
411   </enum>
412   <bitfield name="PhoneFeatures">
413     <entries>
414       <entry comment="" name="PhoneFeatures_Bit1" text="Bit1" value="0x0001"/>
415       <entry comment="" name="PhoneFeatures_Bit2" text="Bit2" value="0x0002"/>
416       <entry comment="" name="PhoneFeatures_Bit3" text="Bit3" value="0x0004"/>
417       <entry comment="" name="PhoneFeatures_Bit4" text="Bit4" value="0x0008"/>
418       <entry comment="Supports UTF-8" name="PhoneFeatures_UTF8" text="UTF8Bit5" value="0x0010"/>
419       <entry comment="" name="PhoneFeatures_Bit6" text="Bit6" value="0x0020"/>
420       <entry comment="" name="PhoneFeatures_Bit7" text="Bit7" value="0x0040"/>
421       <entry comment="Support Dynamic Messages" name="PhoneFeatures_DynamicMessages" text="DynamicMessages" value="0x0080"/>
422       <entry comment="" name="PhoneFeatures_Bit9" text="Bit9" value="0x0100"/>
423       <entry comment="Supports DTMF Type RFC2833" name="PhoneFeatures_RFC2833" text="RFC2833" value="0x0200"/>
424       <entry comment="" name="PhoneFeatures_Bit11" text="Bit11" value="0x0400"/>
425       <entry comment="" name="PhoneFeatures_Bit12" text="Bit12" value="0x0800"/>
426       <entry comment="" name="PhoneFeatures_Bit13" text="Bit13" value="0x1000"/>
427       <entry comment="" name="PhoneFeatures_Bit14" text="Bit14" value="0x2000"/>
428       <entry comment="" name="PhoneFeatures_Bit15" text="Bit15" value="0x4000"/>
429       <entry comment="Abbreviated Dial" name="PhoneFeatures_Abbreviated_Dial" text="AbbrevDial" value="0x8000"/>
430     </entries>
431   </bitfield>
432   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="RegisterReqMessage" opcode="0x0001" type="RegistrationAndManagement">
433     <fields>
434       <struct comment="Station Identifier" longcomment="Device Name of this phone / appliance" name="sid" type="struct">
435         <fields>
436           <string comment="Device Name" name="DeviceName" size="16" type="char"/>
437           <integer comment="User Id" name="reserved_for_future_use" type="uint32"/>
438           <integer comment="Device Instance" name="instance" type="uint32"/>
439         </fields>
440       </struct>
441       <ip comment="IPv4 Address" name="stationIpAddr" type="ipv4"/>
442       <enum comment="Device Type" longcomment="Device Type of this phone / appliance" name="deviceType" subtype="DeviceType" type="uint32"/>
443       <integer comment="Maximum Number of Concurrent RTP Streams" longcomment="Indicates the maximum number of simultaneous RTP duplex streams, which this client/appliance can handle." name="maxStreams" type="uint32"/>
444     </fields>
445     <fields size_gt="52">
446       <integer comment="Active RTP Streams" longcomment="Active RTP Streams at Registration" name="activeStreams" type="uint32"/>
447       <integer comment="Protocol Version" longcomment="Maximum Supported Protocol Version" name="protocolVer" type="uint8"/>
448       <integer comment="unknown" longcomment="unknown (Part of ProtocolVer)" name="unknown" type="uint8"/>
449       <bitfield comment="Features this device supports" name="phoneFeatures" size="uint16" subtype="PhoneFeatures" type="bitfield">
450         <entries>
451           <entry comment="" name="PhoneFeatures_Bit1" text="Bit1" value="0x0001"/>
452           <entry comment="" name="PhoneFeatures_Bit2" text="Bit2" value="0x0002"/>
453           <entry comment="" name="PhoneFeatures_Bit3" text="Bit3" value="0x0004"/>
454           <entry comment="" name="PhoneFeatures_Bit4" text="Bit4" value="0x0008"/>
455           <entry comment="Supports UTF-8" name="PhoneFeatures_UTF8" text="UTF8Bit5" value="0x0010"/>
456           <entry comment="" name="PhoneFeatures_Bit6" text="Bit6" value="0x0020"/>
457           <entry comment="" name="PhoneFeatures_Bit7" text="Bit7" value="0x0040"/>
458           <entry comment="Support Dynamic Messages" name="PhoneFeatures_DynamicMessages" text="DynamicMessages" value="0x0080"/>
459           <entry comment="" name="PhoneFeatures_Bit9" text="Bit9" value="0x0100"/>
460           <entry comment="Supports DTMF Type RFC2833" name="PhoneFeatures_RFC2833" text="RFC2833" value="0x0200"/>
461           <entry comment="" name="PhoneFeatures_Bit11" text="Bit11" value="0x0400"/>
462           <entry comment="" name="PhoneFeatures_Bit12" text="Bit12" value="0x0800"/>
463           <entry comment="" name="PhoneFeatures_Bit13" text="Bit13" value="0x1000"/>
464           <entry comment="" name="PhoneFeatures_Bit14" text="Bit14" value="0x2000"/>
465           <entry comment="" name="PhoneFeatures_Bit15" text="Bit15" value="0x4000"/>
466           <entry comment="Abbreviated Dial" name="PhoneFeatures_Abbreviated_Dial" text="AbbrevDial" value="0x8000"/>
467         </entries>
468       </bitfield>
469       <integer comment="Maximum Number of Concurrent Conferences" longcomment="Indicates the maximum number of simultaneous Conferences, which this client/appliance can handle" name="maxConferences" type="uint32"/>
470     </fields>
471     <fields size_gt="100">
472       <integer comment="Active Conferences" longcomment="Active Conferences at Registration" name="activeConferences" type="uint32"/>
473       <ether comment="Mac Address" longcomment="Ethernet/Mac Address" name="macAddress" size="12" type="ether"/>
474       <integer comment="IPv4 Address Scope" name="ipV4AddressScope" type="uint32"/>
475       <integer comment="Maximum number of lines" name="maxNumberOfLines" type="uint32"/>
476       <ip comment="IPv6 Address" endianness="big" name="stationIpV6Addr" type="ipv6"/>
477       <integer comment="IPv6 Address Scope" name="ipV6AddressScope" type="uint32"/>
478       <string comment="Firmware Load Name" name="firmwareLoadName" size="32" type="char"/>
479     </fields>
480     <fields beginversion="0" endversion="22" size_gt="191">
481       <string comment="" name="configVersionStamp" size="48" type="char"/>
482     </fields>
483   </message>
484   <enum name="KeyPadButton">
485     <entries>
486       <entry comment="" name="KeyPadButton_Zero" text="Zero" value="0x0000"/>
487       <entry comment="" name="KeyPadButton_One" text="One" value="0x0001"/>
488       <entry comment="" name="KeyPadButton_Two" text="Two" value="0x0002"/>
489       <entry comment="" name="KeyPadButton_Three" text="Three" value="0x0003"/>
490       <entry comment="" name="KeyPadButton_Four" text="Four" value="0x0004"/>
491       <entry comment="" name="KeyPadButton_Five" text="Five" value="0x0005"/>
492       <entry comment="" name="KeyPadButton_Six" text="Six" value="0x0006"/>
493       <entry comment="" name="KeyPadButton_Seven" text="Seven" value="0x0007"/>
494       <entry comment="" name="KeyPadButton_Eight" text="Eight" value="0x0008"/>
495       <entry comment="" name="KeyPadButton_Nine" text="Nine" value="0x0009"/>
496       <entry comment="" name="KeyPadButton_A" text="A" value="0x000a"/>
497       <entry comment="" name="KeyPadButton_B" text="B" value="0x000b"/>
498       <entry comment="" name="KeyPadButton_C" text="C" value="0x000c"/>
499       <entry comment="" name="KeyPadButton_D" text="D" value="0x000d"/>
500       <entry comment="" name="KeyPadButton_Star" text="Star" value="0x000e"/>
501       <entry comment="" name="KeyPadButton_Pound" text="Pound" value="0x000f"/>
502       <entry comment="" name="KeyPadButton_Plus" text="Plus" value="0x0010"/>
503     </entries>
504   </enum>
505   <enum name="KeyPadButton_short">
506     <entries>
507       <entry comment="" name="KeyPadButton_Zero" text="0" value="0x0000"/>
508       <entry comment="" name="KeyPadButton_One" text="1" value="0x0001"/>
509       <entry comment="" name="KeyPadButton_Two" text="2" value="0x0002"/>
510       <entry comment="" name="KeyPadButton_Three" text="3" value="0x0003"/>
511       <entry comment="" name="KeyPadButton_Four" text="4" value="0x0004"/>
512       <entry comment="" name="KeyPadButton_Five" text="5" value="0x0005"/>
513       <entry comment="" name="KeyPadButton_Six" text="6" value="0x0006"/>
514       <entry comment="" name="KeyPadButton_Seven" text="7" value="0x0007"/>
515       <entry comment="" name="KeyPadButton_Eight" text="8" value="0x0008"/>
516       <entry comment="" name="KeyPadButton_Nine" text="9" value="0x0009"/>
517       <entry comment="" name="KeyPadButton_A" text="A" value="0x000a"/>
518       <entry comment="" name="KeyPadButton_B" text="B" value="0x000b"/>
519       <entry comment="" name="KeyPadButton_C" text="C" value="0x000c"/>
520       <entry comment="" name="KeyPadButton_D" text="D" value="0x000d"/>
521       <entry comment="" name="KeyPadButton_Star" text="*" value="0x000e"/>
522       <entry comment="" name="KeyPadButton_Pound" text="#" value="0x000f"/>
523       <entry comment="" name="KeyPadButton_Plus" text="+" value="0x0010"/>
524     </entries>
525   </enum>
526   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="IpPortMessage" opcode="0x0002" type="CallControl">
527     <fields beginversion="0" endversion="22">
528       <integer comment="RTP Media Port" name="rtpMediaPort" type="uint32"/>
529     </fields>
530   </message>
531   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="KeypadButtonMessage" opcode="0x0003" type="CallControl">
532     <fields>
533       <enum comment="KeyPad Button which was Pressed" name="kpButton" subtype="KeyPadButton" type="uint32" make_additional_info_short="yes"/>
534     </fields>
535     <fields beginversion="0" endversion="22" size_gt="8">
536       <integer comment="LineId" name="lineInstance" type="uint32"/>
537       <integer comment="CallId" name="callReference" type="uint32"/>
538     </fields>
539   </message>
540   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="EnblocCallMessage" opcode="0x0004" type="CallControl">
541     <fields>
542       <string comment="CalledPartyNumber" declare="yes" name="calledParty" size="VariableDirnumSize" type="char"/>
543     </fields>
544     <fields size_gt="28">
545       <integer comment="LineId" name="lineInstance" type="uint32"/>
546     </fields>
547   </message>
548   <enum name="DeviceStimulus">
549     <entries>
550       <entry comment="" name="DeviceStimulus_LastNumberRedial" text="LastNumberRedial" value="0x0001"/>
551       <entry comment="" name="DeviceStimulus_SpeedDial" text="SpeedDial" value="0x0002"/>
552       <entry comment="" name="DeviceStimulus_Hold" text="Hold" value="0x0003"/>
553       <entry comment="" name="DeviceStimulus_Transfer" text="Transfer" value="0x0004"/>
554       <entry comment="" name="DeviceStimulus_ForwardAll" text="ForwardAll" value="0x0005"/>
555       <entry comment="" name="DeviceStimulus_ForwardBusy" text="ForwardBusy" value="0x0006"/>
556       <entry comment="" name="DeviceStimulus_ForwardNoAnswer" text="ForwardNoAnswer" value="0x0007"/>
557       <entry comment="" name="DeviceStimulus_Display" text="Display" value="0x0008"/>
558       <entry comment="" name="DeviceStimulus_Line" text="Line" value="0x0009"/>
559       <entry comment="" name="DeviceStimulus_T120Chat" text="T120Chat" value="0x000a"/>
560       <entry comment="" name="DeviceStimulus_T120Whiteboard" text="T120Whiteboard" value="0x000b"/>
561       <entry comment="" name="DeviceStimulus_T120ApplicationSharing" text="T120ApplicationSharing" value="0x000c"/>
562       <entry comment="" name="DeviceStimulus_T120FileTransfer" text="T120FileTransfer" value="0x000d"/>
563       <entry comment="" name="DeviceStimulus_Video" text="Video" value="0x000e"/>
564       <entry comment="" name="DeviceStimulus_VoiceMail" text="VoiceMail" value="0x000f"/>
565       <entry comment="" name="DeviceStimulus_AnswerRelease" text="AnswerRelease" value="0x0010"/>
566       <entry comment="" name="DeviceStimulus_AutoAnswer" text="AutoAnswer" value="0x0011"/>
567       <entry comment="" name="DeviceStimulus_Select" text="Select" value="0x0012"/>
568       <entry comment="" name="DeviceStimulus_Privacy" text="Privacy" value="0x0013"/>
569       <entry comment="" name="DeviceStimulus_ServiceURL" text="ServiceURL" value="0x0014"/>
570       <entry comment="" name="DeviceStimulus_BLFSpeedDial" text="BLFSpeedDial" value="0x0015"/>
571       <entry comment="" name="DeviceStimulus_DPark" text="DPark" value="0x0016"/>
572       <entry comment="" name="DeviceStimulus_Intercom" text="Intercom" value="0x0017"/>
573       <entry comment="" name="DeviceStimulus_MaliciousCall" text="MaliciousCall" value="0x001b"/>
574       <entry comment="" name="DeviceStimulus_GenericAppB1" text="GenericAppB1" value="0x0021"/>
575       <entry comment="" name="DeviceStimulus_GenericAppB2" text="GenericAppB2" value="0x0022"/>
576       <entry comment="" name="DeviceStimulus_GenericAppB3" text="GenericAppB3" value="0x0023"/>
577       <entry comment="" name="DeviceStimulus_GenericAppB4" text="GenericAppB4" value="0x0024"/>
578       <entry comment="" name="DeviceStimulus_GenericAppB5" text="GenericAppB5" value="0x0025"/>
579       <entry comment="" name="DeviceStimulus_MeetMeConference" text="MeetMeConference" value="0x007b"/>
580       <entry comment="" name="DeviceStimulus_Conference" text="Conference" value="0x007d"/>
581       <entry comment="" name="DeviceStimulus_CallPark" text="CallPark" value="0x007e"/>
582       <entry comment="" name="DeviceStimulus_CallPickUp" text="CallPickUp" value="0x007f"/>
583       <entry comment="" name="DeviceStimulus_GroupCallPickUp" text="GroupCallPickUp" value="0x0080"/>
584       <entry comment="" name="DeviceStimulus_Mobility" text="Mobility" value="0x0081"/>
585       <entry comment="" name="DeviceStimulus_DoNotDisturb" text="DoNotDisturb" value="0x0082"/>
586       <entry comment="" name="DeviceStimulus_ConfList" text="ConfList" value="0x0083"/>
587       <entry comment="" name="DeviceStimulus_RemoveLastParticipant" text="RemoveLastParticipant" value="0x0084"/>
588       <entry comment="" name="DeviceStimulus_QRT" text="QRT" value="0x0085"/>
589       <entry comment="" name="DeviceStimulus_CallBack" text="CallBack" value="0x0086"/>
590       <entry comment="" name="DeviceStimulus_OtherPickup" text="OtherPickup" value="0x0087"/>
591       <entry comment="" name="DeviceStimulus_VideoMode" text="VideoMode" value="0x0088"/>
592       <entry comment="" name="DeviceStimulus_NewCall" text="NewCall" value="0x0089"/>
593       <entry comment="" name="DeviceStimulus_EndCall" text="EndCall" value="0x008a"/>
594       <entry comment="" name="DeviceStimulus_HLog" text="HLog" value="0x008b"/>
595       <entry comment="" name="DeviceStimulus_Queuing" text="Queuing" value="0x008f"/>
596       <entry boundscheck="max" comment="" name="DeviceStimulus_MaxStimulusValue" text="MaxStimulusValue" value="0x00ff"/>
597     </entries>
598   </enum>
599   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="StimulusMessage" opcode="0x0005" type="CallControl">
600     <fields beginversion="0" endversion="22">
601       <enum comment="Device Stimulus" name="stimulus" subtype="DeviceStimulus" type="uint32"/>
602       <integer comment="LineId" name="lineInstance" type="uint32"/>
603       <integer comment="CallId" name="callReference" type="uint32"/>
604       <integer comment="Stimulus Status" name="stimulusStatus" type="uint32"/>
605     </fields>
606   </message>
607   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="OffHookMessage" opcode="0x0006" type="CallControl">
608     <fields beginversion="0" endversion="22" size_gt="4">
609       <integer comment="LineId" name="lineInstance" type="uint32"/>
610       <integer comment="CallId" name="callReference" type="uint32"/>
611     </fields>
612   </message>
613   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="OnHookMessage" opcode="0x0007" type="CallControl">
614     <fields beginversion="0" endversion="22" size_gt="4">
615       <integer comment="LineId" name="lineInstance" type="uint32"/>
616       <integer comment="CallId" name="callReference" type="uint32"/>
617     </fields>
618   </message>
619   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="HookFlashMessage" opcode="0x0008" type="CallControl">
620     <fields beginversion="0" endversion="22">
621       <integer comment="LineId" name="lineInstance" type="uint32"/>
622       <integer comment="CallId" name="callReference" type="uint32"/>
623     </fields>
624   </message>
625   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="ForwardStatReqMessage" opcode="0x0009" type="RegistrationAndManagement">
626     <fields beginversion="0" endversion="22">
627       <integer comment="" declare="yes" name="lineNumber" req_resp_key="1" type="uint32"/>
628     </fields>
629   </message>
630   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="SpeedDialStatReqMessage" opcode="0x000a" type="RegistrationAndManagement">
631     <fields beginversion="0" endversion="22">
632       <integer comment="" declare="yes" name="speedDialNumber" req_resp_key="1" type="uint32"/>
633     </fields>
634   </message>
635   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="LineStatReqMessage" opcode="0x000b" type="RegistrationAndManagement">
636     <fields beginversion="0" endversion="22">
637       <integer comment="" declare="yes" name="lineNumber" req_resp_key="1" type="uint32"/>
638     </fields>
639   </message>
640   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="ConfigStatReqMessage" opcode="0x000c" type="RegistrationAndManagement"/>
641   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="TimeDateReqMessage" opcode="0x000d" type="RegistrationAndManagement"/>
642   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="ButtonTemplateReqMessage" opcode="0x000e" type="RegistrationAndManagement"/>
643   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="VersionReqMessage" opcode="0x000f" type="RegistrationAndManagement"/>
644   <enum define="yes" name="Media_PayloadType">
645     <entries type="audio">
646       <entry comment="" name="Media_Payload_G711Alaw64k" text="Media_Payload_G711Alaw64k" value="0x0002"/>
647       <entry comment="" name="Media_Payload_G711Alaw56k" text="Media_Payload_G711Alaw56k" value="0x0003"/>
648       <entry comment="" name="Media_Payload_G711Ulaw64k" text="Media_Payload_G711Ulaw64k" value="0x0004"/>
649       <entry comment="" name="Media_Payload_G711Ulaw56k" text="Media_Payload_G711Ulaw56k" value="0x0005"/>
650       <entry comment="" name="Media_Payload_G722_64k" text="Media_Payload_G722_64k" value="0x0006"/>
651       <entry comment="" name="Media_Payload_G722_56k" text="Media_Payload_G722_56k" value="0x0007"/>
652       <entry comment="" name="Media_Payload_G722_48k" text="Media_Payload_G722_48k" value="0x0008"/>
653       <entry comment="" name="Media_Payload_G7231" text="Media_Payload_G7231" value="0x0009"/>
654       <entry comment="" name="Media_Payload_G728" text="Media_Payload_G728" value="0x000a"/>
655       <entry comment="" name="Media_Payload_G729" text="Media_Payload_G729" value="0x000b"/>
656       <entry comment="" name="Media_Payload_G729AnnexA" text="Media_Payload_G729AnnexA" value="0x000c"/>
657       <entry comment="" name="Media_Payload_G729AnnexB" text="Media_Payload_G729AnnexB" value="0x000f"/>
658       <entry comment="" name="Media_Payload_G729AnnexAwAnnexB" text="Media_Payload_G729AnnexAwAnnexB" value="0x0010"/>
659       <entry comment="" name="Media_Payload_GSM_Full_Rate" text="Media_Payload_GSM_Full_Rate" value="0x0012"/>
660       <entry comment="" name="Media_Payload_GSM_Half_Rate" text="Media_Payload_GSM_Half_Rate" value="0x0013"/>
661       <entry comment="" name="Media_Payload_GSM_Enhanced_Full_Rate" text="Media_Payload_GSM_Enhanced_Full_Rate" value="0x0014"/>
662       <entry comment="" name="Media_Payload_Wide_Band_256k" text="Media_Payload_Wide_Band_256k" value="0x0019"/>
663       <entry comment="" name="Media_Payload_Data64" text="Media_Payload_Data64" value="0x0020"/>
664       <entry comment="" name="Media_Payload_Data56" text="Media_Payload_Data56" value="0x0021"/>
665       <entry comment="" name="Media_Payload_G7221_32K" text="Media_Payload_G7221_32K" value="0x0028"/>
666       <entry comment="" name="Media_Payload_G7221_24K" text="Media_Payload_G7221_24K" value="0x0029"/>
667       <entry comment="" name="Media_Payload_AAC" text="Media_Payload_AAC" value="0x002a"/>
668       <entry comment="" name="Media_Payload_MP4ALATM_128" text="Media_Payload_MP4ALATM_128" value="0x002b"/>
669       <entry comment="" name="Media_Payload_MP4ALATM_64" text="Media_Payload_MP4ALATM_64" value="0x002c"/>
670       <entry comment="" name="Media_Payload_MP4ALATM_56" text="Media_Payload_MP4ALATM_56" value="0x002d"/>
671       <entry comment="" name="Media_Payload_MP4ALATM_48" text="Media_Payload_MP4ALATM_48" value="0x002e"/>
672       <entry comment="" name="Media_Payload_MP4ALATM_32" text="Media_Payload_MP4ALATM_32" value="0x002f"/>
673       <entry comment="" name="Media_Payload_MP4ALATM_24" text="Media_Payload_MP4ALATM_24" value="0x0030"/>
674       <entry comment="" name="Media_Payload_MP4ALATM_NA" text="Media_Payload_MP4ALATM_NA" value="0x0031"/>
675       <entry comment="" name="Media_Payload_GSM" text="Media_Payload_GSM" value="0x0050"/>
676       <entry comment="" name="Media_Payload_G726_32K" text="Media_Payload_G726_32K" value="0x0052"/>
677       <entry comment="" name="Media_Payload_G726_24K" text="Media_Payload_G726_24K" value="0x0053"/>
678       <entry comment="" name="Media_Payload_G726_16K" text="Media_Payload_G726_16K" value="0x0054"/>
679       <entry comment="" name="Media_Payload_ILBC" text="Media_Payload_ILBC" value="0x0056"/>
680       <entry comment="" name="Media_Payload_ISAC" text="Media_Payload_ISAC" value="0x0059"/>
681       <entry comment="" name="Media_Payload_OPUS" text="Media_Payload_OPUS" value="0x005a"/>
682       <entry comment="" name="Media_Payload_AMR" text="Media_Payload_AMR" value="0x0061"/>
683       <entry comment="" name="Media_Payload_AMR_WB" text="Media_Payload_AMR_WB" value="0x0062"/>
684     </entries>
685     <entries type="video">
686       <entry comment="" name="Media_Payload_H261" text="Media_Payload_H261" value="0x0064"/>
687       <entry comment="" name="Media_Payload_H263" text="Media_Payload_H263" value="0x0065"/>
688       <entry comment="" name="Media_Payload_Vieo" text="Media_Payload_Vieo" value="0x0066"/>
689       <entry comment="" name="Media_Payload_H264" text="Media_Payload_H264" value="0x0067"/>
690       <entry comment="" name="Media_Payload_H264_SVC" text="Media_Payload_H264_SVC" value="0x0068"/>
691       <entry comment="" name="Media_Payload_T120" text="Media_Payload_T120" value="0x0069"/>
692       <entry comment="" name="Media_Payload_H224" text="Media_Payload_H224" value="0x006a"/>
693       <entry comment="" name="Media_Payload_T38Fax" text="Media_Payload_T38Fax" value="0x006b"/>
694       <entry comment="" name="Media_Payload_TOTE" text="Media_Payload_TOTE" value="0x006c"/>
695       <entry comment="" name="Media_Payload_H265" text="Media_Payload_H265" value="0x006d"/>
696       <entry comment="" name="Media_Payload_H264_UC" text="Media_Payload_H264_UC" value="0x006e"/>
697       <entry comment="" name="Media_Payload_XV150_MR_711U" text="Media_Payload_XV150_MR_711U" value="0x006f"/>
698       <entry comment="" name="Media_Payload_NSE_VBD_711U" text="Media_Payload_NSE_VBD_711U" value="0x0070"/>
699       <entry comment="" name="Media_Payload_XV150_MR_729A" text="Media_Payload_XV150_MR_729A" value="0x0071"/>
700       <entry comment="" name="Media_Payload_NSE_VBD_729A" text="Media_Payload_NSE_VBD_729A" value="0x0072"/>
701       <entry comment="" name="Media_Payload_H264_FEC" text="Media_Payload_H264_FEC" value="0x0073"/>
702     </entries>
703     <entries type="data">
704       <entry comment="" name="Media_Payload_Clear_Chan" text="Media_Payload_Clear_Chan" value="0x0078"/>
705       <entry comment="" name="Media_Payload_Universal_Xcoder" text="Media_Payload_Universal_Xcoder" value="0x00de"/>
706       <entry comment="" name="Media_Payload_RFC2833_DynPayload" text="Media_Payload_RFC2833_DynPayload" value="0x0101"/>
707       <entry comment="" name="Media_Payload_PassThrough" text="Media_Payload_PassThrough" value="0x0102"/>
708       <entry comment="" name="Media_Payload_Dynamic_Payload_PassThru" text="Media_Payload_Dynamic_Payload_PassThru" value="0x0103"/>
709       <entry comment="" name="Media_Payload_DTMF_OOB" text="Media_Payload_DTMF_OOB" value="0x0104"/>
710       <entry comment="" name="Media_Payload_Inband_DTMF_RFC2833" text="Media_Payload_Inband_DTMF_RFC2833" value="0x0105"/>
711       <entry comment="" name="Media_Payload_CFB_Tones" text="Media_Payload_CFB_Tones" value="0x0106"/>
712       <entry comment="" name="Media_Payload_NoAudio" text="Media_Payload_NoAudio" value="0x012b"/>
713       <entry comment="" name="Media_Payload_v150_LC_ModemRelay" text="Media_Payload_v150_LC_ModemRelay" value="0x012c"/>
714       <entry comment="" name="Media_Payload_v150_LC_SPRT" text="Media_Payload_v150_LC_SPRT" value="0x012d"/>
715       <entry comment="" name="Media_Payload_v150_LC_SSE" text="Media_Payload_v150_LC_SSE" value="0x012e"/>
716       <entry comment="" name="Media_Payload_Max" text="Media_Payload_Max" value="0x012f"/>
717     </entries>
718   </enum>
719   <enum name="Media_G723BitRate">
720     <entries>
721       <entry comment="" name="Media_G723BRate_5_3" text="Media_G723BRate_5_3" value="0x0001"/>
722       <entry comment="" name="Media_G723BRate_6_3" text="Media_G723BRate_6_3" value="0x0002"/>
723     </entries>
724   </enum>
725   <message comment="" direction="dev2pbx" dynamic="no" msgtype="response" name="CapabilitiesResMessage" opcode="0x0010" request="0x009b" type="RegistrationAndManagement">
726     <fields beginversion="0" endversion="22">
727       <integer comment="" declare="yes" name="capCount" type="uint32"/>
728       <struct comment="" maxsize="18" name="caps" size_fieldname="capCount" type="struct">
729         <fields>
730           <enum comment="" declare="yes" name="payloadCapability" subtype="Media_PayloadType" type="uint32"/>
731           <integer comment="" name="maxFramesPerPacket" type="uint32"/>
732           <union comment="" lookup_guide="payloadCapability" name="PAYLOADS" subtype="MediaCapabilityUnion" type="union">
733             <fields>
734               <enum comment="" lookup_eq="Media_Payload_G7231" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
735               <struct comment="" lookup_eq="Media_Payload_v150_LC_ModemRelay" name="modemRelay" type="struct">
736                 <fields>
737                   <integer comment="" name="capAndVer" type="uint32"/>
738                   <integer comment="" name="modAnd2833" type="uint32"/>
739                 </fields>
740               </struct>
741               <struct comment="" lookup_eq="Media_Payload_v150_LC_SPRT" name="sprtPayload" type="struct">
742                 <fields>
743                   <integer comment="" name="chan0MaxPayload" type="uint16"/>
744                   <integer comment="" name="chan2MaxPayload" type="uint16"/>
745                   <integer comment="" name="chan3MaxPayload" type="uint16"/>
746                   <integer comment="" name="chan2MaxWindow" type="uint16"/>
747                 </fields>
748               </struct>
749               <struct comment="" lookup_eq="Media_Payload_v150_LC_SSE" name="sse" type="struct">
750                 <fields>
751                   <integer comment="" name="standard" type="uint32"/>
752                   <integer comment="" name="vendor" type="uint32"/>
753                 </fields>
754               </struct>
755               <struct comment="" lookup_eq="*" name="codecParams" subtype="CodecParameters" type="struct">
756                 <fields>
757                   <integer comment="" name="codecMode" type="uint8"/>
758                   <integer comment="" name="dynamicPayload" type="uint8"/>
759                   <integer comment="" name="codecParam1" type="uint8"/>
760                   <integer comment="" name="codecParam2" type="uint8"/>
761                 </fields>
762               </struct>
763             </fields>
764           </union>
765         </fields>
766       </struct>
767     </fields>
768   </message>
769   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="ServerReqMessage" opcode="0x0012" type="RegistrationAndManagement"/>
770   <enum name="DeviceAlarmSeverity">
771     <entries>
772       <entry comment="" name="DeviceAlarmSeverity_Critical" text="Critical" value="0x0000"/>
773       <entry comment="" name="DeviceAlarmSeverity_Major" text="Major" value="0x0007"/>
774       <entry comment="" name="DeviceAlarmSeverity_Minor" text="Minor" value="0x0008"/>
775       <entry comment="" name="DeviceAlarmSeverity_Warning" text="Warning" value="0x0001"/>
776       <entry comment="" name="DeviceAlarmSeverity_Marginal" text="Marginal" value="0x000a"/>
777       <entry comment="" name="DeviceAlarmSeverity_Unknown" text="Unknown" value="0x0004"/>
778       <entry comment="" name="DeviceAlarmSeverity_Informational" text="Informational" value="0x0002"/>
779       <entry comment="" name="DeviceAlarmSeverity_TraceInfo" text="TraceInfo" value="0x0014"/>
780     </entries>
781   </enum>
782   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="AlarmMessage" opcode="0x0020" type="RegistrationAndManagement">
783     <fields beginversion="0" endversion="22">
784       <enum comment="" name="alarmSeverity" subtype="DeviceAlarmSeverity" type="uint32"/>
785       <string comment="" name="text" size="80" type="char"/>
786       <integer comment="" name="parm1" type="uint32"/>
787       <integer comment="" name="parm2" type="uint32"/>
788     </fields>
789   </message>
790   <enum name="MulticastMediaReceptionStatus">
791     <entries>
792       <entry comment="" name="MulticastMediaReceptionStatus_Ok" text="Ok" value="0x0000"/>
793       <entry comment="" name="MulticastMediaReceptionStatus_Error" text="Error" value="0x0001"/>
794     </entries>
795   </enum>
796   <message comment="" direction="dev2pbx" dynamic="no" msgtype="response" name="MulticastMediaReceptionAckMessage" opcode="0x0021" request="0x0101" type="MediaControl">
797     <fields beginversion="0" endversion="22">
798       <enum comment="" name="multicastReceptionStatus" subtype="MulticastMediaReceptionStatus" type="uint32"/>
799       <integer comment="PassThrough PartyId" declare="yes" name="passThroughPartyId" req_resp_key="1" type="uint32"/>
800       <integer comment="CallId" name="callReference" type="uint32"/>
801     </fields>
802   </message>
803   <enum name="MediaStatus">
804     <entries>
805       <entry comment="" name="MediaStatus_Ok" text="Ok" value="0x0000"/>
806       <entry comment="" name="MediaStatus_Unknown" text="Unknown" value="0x0001"/>
807       <entry comment="" name="MediaStatus_NotEnoughChannels" text="NotEnoughChannels" value="0x0002"/>
808       <entry comment="" name="MediaStatus_CodecTooComplex" text="CodecTooComplex" value="0x0003"/>
809       <entry comment="" name="MediaStatus_InvalidPartyID" text="InvalidPartyID" value="0x0004"/>
810       <entry comment="" name="MediaStatus_InvalidCallRef" text="InvalidCallRef" value="0x0005"/>
811       <entry comment="" name="MediaStatus_InvalidCodec" text="InvalidCodec" value="0x0006"/>
812       <entry comment="" name="MediaStatus_InvalidPacketSize" text="InvalidPacketSize" value="0x0007"/>
813       <entry comment="" name="MediaStatus_OutOfSockets" text="OutOfSockets" value="0x0008"/>
814       <entry comment="" name="MediaStatus_EncoderOrDecoderFailed" text="EncoderOrDecoderFailed" value="0x0009"/>
815       <entry comment="" name="MediaStatus_InvalidDynamicPayloadType" text="InvalidDynamicPayloadType" value="0x000a"/>
816       <entry comment="" name="MediaStatus_RequestedIpAddrTypeUnAvailable" text="RequestedIpAddrTypeUnAvailable" value="0x000b"/>
817       <entry comment="" name="MediaStatus_DeviceOnHook" text="DeviceOnHook" value="0x00ff"/>
818     </entries>
819   </enum>
820   <enum define="yes" name="IpAddrType">
821     <entries>
822       <entry comment="" name="IpAddrType_Ipv4" text="v4" value="0x0000"/>
823       <entry comment="" name="IpAddrType_Ipv6" text="v6" value="0x0001"/>
824       <entry comment="" name="IpAddrType_Ipv4_v6" text="v4_v6" value="0x0002"/>
825       <entry comment="" name="IpAddrType_Ip_Invalid" text="_Invalid" value="0x0003"/>
826     </entries>
827   </enum>
828   <message comment="" direction="dev2pbx" dynamic="no" msgtype="response" name="OpenReceiveChannelAckMessage" opcode="0x0022" request="0x0105" type="MediaControl">
829     <fields>
830       <enum comment="" name="mediaReceptionStatus" subtype="MediaStatus" type="uint32"/>
831       <ipv4or6 comment="" name="ipAddr" subtype="IPV4orV6Address" type="ipaddr" make_additional_info="yes"/>
832       <integer comment="" declare="yes" name="portNumber" subtype="uint32" type="ipport" use_param="ipAddr" make_additional_info="yes"/>
833       <integer comment="PassThrough PartyId" declare="yes" name="passThroughPartyId" req_resp_key="1" type="uint32"/>
834     </fields>
835     <fields beginversion="0" endversion="22" size_gt="20">
836       <integer comment="CallId" name="callReference" type="uint32"/>
837     </fields>
838   </message>
839   <enum name="StatsProcessingType">
840     <entries>
841       <entry comment="" name="StatsProcessingType_clearStats" text="clearStats" value="0x0000"/>
842       <entry comment="" name="StatsProcessingType_doNotClearStats" text="doNotClearStats" value="0x0001"/>
843     </entries>
844   </enum>
845   <message comment="" direction="dev2pbx" dynamic="no" msgtype="response" name="ConnectionStatisticsResMessage" opcode="0x0023" request="0x0107" type="CallControl">
846     <fields endversion="17" fixed="yes">
847       <string comment="" name="directoryNum" size="24" type="char"/>
848       <integer comment="CallId" declare="yes" name="callReference" req_resp_key="1" type="uint32"/>
849       <enum comment="Stats Processing Mode" longcomment="What to do after you send the stats" name="statsProcessingMode" subtype="StatsProcessingType" type="uint32"/>
850     </fields>
851     <fields beginversion="18" endversion="22" fixed="yes">
852       <string comment="" name="directoryNum" size="28" type="char"/>
853       <integer comment="CallId" declare="yes" name="callReference" req_resp_key="1" type="uint32"/>
854       <integer comment="Stats Processing Mode" longcomment="What to do after you send the stats" name="statsProcessingMode" subtype="StatsProcessingType" type="uint8"/>
855     </fields>
856     <fields>
857       <integer comment="Number of Packets Sent" name="numberPacketsSent" type="uint32"/>
858       <integer comment="Number of Octets Sent" name="numberOctetsSent" type="uint32"/>
859       <integer comment="Number of Packets Received" name="numberPacketsReceived" type="uint32"/>
860       <integer comment="Number of Octets Received" name="numberOctetsReceived" type="uint32"/>
861       <integer comment="Number of Packets Lost" name="numberPacketsLost" type="uint32"/>
862       <integer comment="Amount of Jitter" name="jitter" type="uint32"/>
863       <integer comment="Amount of Latency" name="latency" type="uint32"/>
864     </fields>
865     <fields size_gt="64">
866       <integer comment="Data Size" declare="yes" name="dataSize" type="uint32"/>
867       <string comment="Statistics" longcomment="variable field size (max: 600]" maxsize="600" name="data" size_fieldname="dataSize" type="char"/>
868     </fields>
869   </message>
870   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="OffHookWithCallingPartyNumberMessage" opcode="0x0024" type="CallControl">
871     <fields>
872       <string comment="Calling Party Number" declare="yes" name="callingPartyNumber" size="VariableDirnumSize" type="char"/>
873       <string comment="Calling Party Voicemail Box Number" declare="yes" name="cgpnVoiceMailbox" size="VariableDirnumSize" type="char"/>
874       <integer comment="LineId" name="lineInstance" type="uint32"/>
875     </fields>
876   </message>
877   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="SoftKeySetReqMessage" opcode="0x0025" type="RegistrationAndManagement"/>
878   <enum name="SoftKeySet">
879     <entries>
880       <entry name="SoftKeySet_OnHook" text="On Hook" value="0"/>
881       <entry name="SoftKeySet_Connected" text="Connected" value="1"/>
882       <entry name="SoftKeySet_OnHold" text="On Hold" value="2"/>
883       <entry name="SoftKeySet_Ringin" text="Ring In" value="3"/>
884       <entry name="SoftKeySet_OffHook" text="Off Hook" value="4"/>
885       <entry name="SoftKeySet_ConnTrans" text="Connected Transferable" value="5"/>
886       <entry name="SoftKeySet_DigitsFoll" text="Digits Following" value="6"/>
887       <entry name="SoftKeySet_ConnConf" text="Connected Conference" value="7"/>
888       <entry name="SoftKeySet_RingOut" text="Ring Out" value="8"/>
889       <entry name="SoftKeySet_OffHookFeat" text="OffHook with Features" value="9"/>
890       <entry name="SoftKeySet_InUseHint" text="In Use Hint" value="10"/>
891       <entry name="SoftKeySet_OnHookStealable" text="On Hook with Stealable Call" value="11"/>
892     </entries>
893   </enum>
894   <enum name="SoftKeyEvent">
895     <entries>
896       <entry name="SoftKeyEvent_Redial" text="Redial" value="1"/>
897       <entry name="SoftKeyEvent_NewCall" text="NewCall" value="2"/>
898       <entry name="SoftKeyEvent_Hold" text="Hold" value="3"/>
899       <entry name="SoftKeyEvent_Transfer" text="Transfer" value="4"/>
900       <entry name="SoftKeyEvent_CfwdAll" text="CfwdAll" value="5"/>
901       <entry name="SoftKeyEvent_CfwdBusy" text="CfwdBusy" value="6"/>
902       <entry name="SoftKeyEvent_CfwdNoAnswer" text="CfwdNoAnswer" value="7"/>
903       <entry name="SoftKeyEvent_BackSpace" text="BackSpace" value="8"/>
904       <entry name="SoftKeyEvent_EndCall" text="EndCall" value="9"/>
905       <entry name="SoftKeyEvent_Resume" text="Resume" value="10"/>
906       <entry name="SoftKeyEvent_Answer" text="Answer" value="11"/>
907       <entry name="SoftKeyEvent_Info" text="Info" value="12"/>
908       <entry name="SoftKeyEvent_Confrn" text="Confrn" value="13"/>
909       <entry name="SoftKeyEvent_Park" text="Park" value="14"/>
910       <entry name="SoftKeyEvent_Join" text="Join" value="15"/>
911       <entry name="SoftKeyEvent_MeetMe" text="MeetMe" value="16"/>
912       <entry name="SoftKeyEvent_PickUp" text="PickUp" value="17"/>
913       <entry name="SoftKeyEvent_GrpPickup" text="GrpPickup" value="18"/>
914       <entry name="SoftKeyEvent_YourCurrentOptions" text="Your current options" value="19"/>
915       <entry name="SoftKeyEvent_OffHook" text="Off Hook" value="20"/>
916       <entry name="SoftKeyEvent_OnHook" text="On Hook" value="21"/>
917       <entry name="SoftKeyEvent_RingOut" text="Ring out" value="22"/>
918       <entry name="SoftKeyEvent_From " text="From " value="23"/>
919       <entry name="SoftKeyEvent_Connected" text="Connected" value="24"/>
920       <entry name="SoftKeyEvent_Busy" text="Busy" value="25"/>
921       <entry name="SoftKeyEvent_LineInUse" text="Line In Use" value="26"/>
922       <entry name="SoftKeyEvent_CallWaiting" text="Call Waiting" value="27"/>
923       <entry name="SoftKeyEvent_CallTransfer" text="Call Transfer" value="28"/>
924       <entry name="SoftKeyEvent_CallPark" text="Call Park" value="29"/>
925       <entry name="SoftKeyEvent_CallProceed" text="Call Proceed" value="30"/>
926       <entry name="SoftKeyEvent_InUseRemote" text="In Use Remote" value="31"/>
927       <entry name="SoftKeyEvent_EnterNumber" text="Enter number" value="32"/>
928       <entry name="SoftKeyEvent_CallParkAt" text="Call park At" value="33"/>
929       <entry name="SoftKeyEvent_PrimaryOnly" text="Primary Only" value="34"/>
930       <entry name="SoftKeyEvent_TempFail" text="Temp Fail" value="35"/>
931       <entry name="SoftKeyEvent_YouHaveAVoiceMail" text="You Have a VoiceMail" value="36"/>
932       <entry name="SoftKeyEvent_ForwardedTo" text="Forwarded to" value="37"/>
933       <entry name="SoftKeyEvent_CanNotCompleteConference" text="Can Not Complete Conference" value="38"/>
934       <entry name="SoftKeyEvent_NoConferenceBridge" text="No Conference Bridge" value="39"/>
935       <entry name="SoftKeyEvent_CanNotHoldPrimaryControl" text="Can Not Hold Primary Control" value="40"/>
936       <entry name="SoftKeyEvent_InvalidConferenceParticipant" text="Invalid Conference Participant" value="41"/>
937       <entry name="SoftKeyEvent_InConferenceAlready" text="In Conference Already" value="42"/>
938       <entry name="SoftKeyEvent_NoParticipantInfo" text="No Participant Info" value="43"/>
939       <entry name="SoftKeyEvent_ExceedMaximumParties" text="Exceed Maximum Parties" value="44"/>
940       <entry name="SoftKeyEvent_KeyIsNotActive" text="Key Is Not Active" value="45"/>
941       <entry name="SoftKeyEvent_ErrorNoLicense" text="Error No License" value="46"/>
942       <entry name="SoftKeyEvent_ErrorDBConfig" text="Error DBConfig" value="47"/>
943       <entry name="SoftKeyEvent_ErrorDatabase" text="Error Database" value="48"/>
944       <entry name="SoftKeyEvent_ErrorPassLimit" text="Error Pass Limit" value="49"/>
945       <entry name="SoftKeyEvent_ErrorUnknown" text="Error Unknown" value="50"/>
946       <entry name="SoftKeyEvent_ErrorMismatch" text="Error Mismatch" value="51"/>
947       <entry name="SoftKeyEvent_Conference" text="Conference" value="52"/>
948       <entry name="SoftKeyEvent_ParkNumber" text="Park Number" value="53"/>
949       <entry name="SoftKeyEvent_Private" text="Private" value="54"/>
950       <entry name="SoftKeyEvent_NotEnoughBandwidth" text="Not Enough Bandwidth" value="55"/>
951       <entry name="SoftKeyEvent_UnknownNumber" text="Unknown Number" value="56"/>
952       <entry name="SoftKeyEvent_RmLstC" text="RmLstC" value="57"/>
953       <entry name="SoftKeyEvent_Voicemail" text="Voicemail" value="58"/>
954       <entry name="SoftKeyEvent_ImmDiv" text="ImmDiv" value="59"/>
955       <entry name="SoftKeyEvent_Intrcpt" text="Intrcpt" value="60"/>
956       <entry name="SoftKeyEvent_SetWtch" text="SetWtch" value="61"/>
957       <entry name="SoftKeyEvent_TrnsfVM" text="TrnsfVM" value="62"/>
958       <entry name="SoftKeyEvent_DND" text="DND" value="63"/>
959       <entry name="SoftKeyEvent_DivAll" text="DivAll" value="64"/>
960       <entry name="SoftKeyEvent_CallBack" text="CallBack" value="65"/>
961       <entry name="SoftKeyEvent_NetworkCongestionRerouting" text="Network congestion,rerouting" value="66"/>
962       <entry name="SoftKeyEvent_Barge" text="Barge" value="67"/>
963       <entry name="SoftKeyEvent_FailedToSetupBarge" text="Failed to setup Barge" value="68"/>
964       <entry name="SoftKeyEvent_AnotherBargeExists" text="Another Barge exists" value="69"/>
965       <entry name="SoftKeyEvent_IncompatibleDeviceType" text="Incompatible device type" value="70"/>
966       <entry name="SoftKeyEvent_NoParkNumberAvailable" text="No Park Number Available" value="71"/>
967       <entry name="SoftKeyEvent_CallParkReversion" text="CallPark Reversion" value="72"/>
968       <entry name="SoftKeyEvent_ServiceIsNotActive" text="Service is not Active" value="73"/>
969       <entry name="SoftKeyEvent_HighTrafficTryAgainLater" text="High Traffic Try Again Later" value="74"/>
970       <entry name="SoftKeyEvent_QRT" text="QRT" value="75"/>
971       <entry name="SoftKeyEvent_MCID" text="MCID" value="76"/>
972       <entry name="SoftKeyEvent_DirTrfr" text="DirTrfr" value="77"/>
973       <entry name="SoftKeyEvent_Select" text="Select" value="78"/>
974       <entry name="SoftKeyEvent_ConfList" text="ConfList" value="79"/>
975       <entry name="SoftKeyEvent_iDivert" text="iDivert" value="80"/>
976       <entry name="SoftKeyEvent_cBarge" text="cBarge" value="81"/>
977       <entry name="SoftKeyEvent_CanNotCompleteTransfer" text="Can Not Complete Transfer" value="82"/>
978       <entry name="SoftKeyEvent_CanNotJoinCalls" text="Can Not Join Calls" value="83"/>
979       <entry name="SoftKeyEvent_McidSuccessful" text="Mcid Successful" value="84"/>
980       <entry name="SoftKeyEvent_NumberNotConfigured" text="Number Not Configured" value="85"/>
981       <entry name="SoftKeyEvent_SecurityError" text="Security Error" value="86"/>
982       <entry name="SoftKeyEvent_VideoBandwidthUnavailable" text="Video Bandwidth Unavailable" value="87"/>
983       <entry name="SoftKeyEvent_VideoMode" text="Video Mode" value="88"/>
984       <entry name="SoftKeyEvent_Record" text="Record" value="202"/>
985       <entry name="SoftKeyEvent_Dial" text="Dial" value="201"/>
986     </entries>
987   </enum>
988   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="SoftKeyEventMessage" opcode="0x0026" type="RegistrationAndManagement">
989     <fields beginversion="0" endversion="22">
990       <enum comment="SoftKey Event" name="softKeyEvent" subtype="SoftKeyEvent" type="uint32"/>
991       <integer comment="LineId" name="lineInstance" type="uint32"/>
992       <integer comment="CallId" name="callReference" type="uint32"/>
993     </fields>
994   </message>
995   <enum name="UnRegReasonCode">
996     <entries>
997       <entry comment="" name="UnRegReasonCode_Unknown" text="Unknown" value="0x0000"/>
998       <entry comment="" name="UnRegReasonCode_PowerSaveMode" text="PowerSaveMode" value="0x0001"/>
999     </entries>
1000   </enum>
1001   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="UnregisterReqMessage" opcode="0x0027" type="RegistrationAndManagement">
1002     <fields beginversion="0" endversion="22" size_gt="12">
1003       <enum comment="" name="unRegReasonCode" subtype="UnRegReasonCode" type="uint32"/>
1004     </fields>
1005   </message>
1006   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="SoftKeyTemplateReqMessage" opcode="0x0028" type="RegistrationAndManagement"/>
1007   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="RegisterTokenReq" opcode="0x0029" type="RegistrationAndManagement">
1008     <fields beginversion="0" endversion="22">
1009       <struct comment="" name="sid" type="struct">
1010         <fields>
1011           <string comment="Device Name" name="DeviceName" size="16" type="char"/>
1012           <integer comment="User Id" name="reserved_for_future_use" type="uint32"/>
1013           <integer comment="Device Instance" name="instance" type="uint32"/>
1014         </fields>
1015       </struct>
1016       <integer comment="" name="stationIpAddr" type="uint32"/>
1017       <enum comment="" name="deviceType" subtype="DeviceType" type="uint32"/>
1018       <ipv4or6 comment="" endianness="big" name="stationIpV6Addr" size="16" subtype="uint8" type="ipaddr"/>
1019     </fields>
1020   </message>
1021   <message comment="" direction="dev2pbx" dynamic="no" msgtype="response" name="MediaTransmissionFailureMessage" opcode="0x002a" request="0x008a" type="MediaControl">
1022     <fields>
1023       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
1024       <integer comment="PassThrough PartyId" declare="yes" name="passThroughPartyId" req_resp_key="1" type="uint32"/>
1025       <ipv4or6 comment="ipaddress in big endian" endiannes="big" endianness="big" name="remoteIpAddr" subtype="IpAddress" type="ipaddr" make_additional_info="yes"/>
1026       <integer comment="" name="remotePortNumber" subtype="uint32" type="ipport" use_param="remoteIpAddr" make_additional_info="yes"/>
1027       <integer comment="CallId" name="callReference" type="uint32"/>
1028     </fields>
1029   </message>
1030   <enum name="HeadsetMode">
1031     <entries>
1032       <entry comment="" name="HeadsetMode_On" text="On" value="0x0001"/>
1033       <entry comment="" name="HeadsetMode_Off" text="Off" value="0x0002"/>
1034     </entries>
1035   </enum>
1036   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="HeadsetStatusMessage" opcode="0x002b" type="CallControl">
1037     <fields beginversion="0" endversion="22">
1038       <enum comment="" name="headsetStatus" subtype="HeadsetMode" type="uint32"/>
1039     </fields>
1040   </message>
1041   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="MediaResourceNotificationMessage" opcode="0x002c" type="MediaControl">
1042     <fields beginversion="0" endversion="22">
1043       <enum comment="" name="deviceType" subtype="DeviceType" type="uint32"/>
1044       <integer comment="" name="numberOfInServiceStreams" type="uint32"/>
1045       <integer comment="" name="maxStreamsPerConf" type="uint32"/>
1046       <integer comment="" name="numberOfOutOfServiceStreams" type="uint32"/>
1047     </fields>
1048   </message>
1049   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="RegisterAvailableLinesMessage" opcode="0x002d" type="RegistrationAndManagement">
1050     <fields beginversion="0" endversion="22">
1051       <integer comment="" name="maxNumOfAvailLines" type="uint32"/>
1052     </fields>
1053   </message>
1054   <enum name="SequenceFlag">
1055     <entries>
1056       <entry comment="" name="Sequence_First" text="First" value="0x0000"/>
1057       <entry comment="" name="Sequence_More" text="More" value="0x0001"/>
1058       <entry comment="" name="Sequence_Last" text="Last" value="0x0002"/>
1059     </entries>
1060   </enum>
1061   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="DeviceToUserDataMessage" opcode="0x002e" type="RegistrationAndManagement">
1062     <fields beginversion="0" endversion="22">
1063       <struct comment="" name="deviceToUserData" subtype="UserAndDeviceData" type="struct">
1064         <fields>
1065           <integer comment="" name="applicationId" type="uint32"/>
1066           <integer comment="LineId" name="lineInstance" type="uint32"/>
1067           <integer comment="CallId" name="callReference" type="uint32"/>
1068           <integer comment="" name="transactionId" type="uint32"/>
1069           <integer comment="" declare="yes" name="dataLength" type="uint32"/>
1070           <xml comment="" maxsize="2000" name="xmldata" size_fieldname="dataLength" type="xml"/>
1071         </fields>
1072       </struct>
1073     </fields>
1074   </message>
1075   <message comment="" direction="dev2pbx" dynamic="no" msgtype="response" name="DeviceToUserDataResponseMessage" opcode="0x002f" request="0x002e" type="RegistrationAndManagement">
1076     <fields beginversion="0" endversion="22">
1077       <struct comment="" name="deviceToUserData" subtype="UserAndDeviceData" type="struct">
1078         <fields>
1079           <integer comment="" name="applicationId" type="uint32"/>
1080           <integer comment="LineId" name="lineInstance" type="uint32"/>
1081           <integer comment="CallId" name="callReference" type="uint32"/>
1082           <integer comment="" name="transactionId" type="uint32"/>
1083           <integer comment="" declare="yes" name="dataLength" type="uint32"/>
1084           <xml comment="" maxsize="2000" name="xmldata" size_fieldname="dataLength" type="xml"/>
1085         </fields>
1086       </struct>
1087     </fields>
1088   </message>
1089   <enum name="Layout">
1090     <entries>
1091       <entry comment="" name="Layout_NoLayout" text="NoLayout" value="0x0000"/>
1092       <entry comment="" name="Layout_OneByOne" text="OneByOne" value="0x0001"/>
1093       <entry comment="" name="Layout_OneByTwo" text="OneByTwo" value="0x0002"/>
1094       <entry comment="" name="Layout_TwoByTwo" text="TwoByTwo" value="0x0003"/>
1095       <entry comment="" name="Layout_TwoByTwo3Alt1" text="TwoByTwo3Alt1" value="0x0004"/>
1096       <entry comment="" name="Layout_TwoByTwo3Alt2" text="TwoByTwo3Alt2" value="0x0005"/>
1097       <entry comment="" name="Layout_ThreeByThree" text="ThreeByThree" value="0x0006"/>
1098       <entry comment="" name="Layout_ThreeByThree6Alt1" text="ThreeByThree6Alt1" value="0x0007"/>
1099       <entry comment="" name="Layout_ThreeByThree6Alt2" text="ThreeByThree6Alt2" value="0x0008"/>
1100       <entry comment="" name="Layout_ThreeByThree4Alt1" text="ThreeByThree4Alt1" value="0x0009"/>
1101       <entry comment="" name="Layout_ThreeByThree4Alt2" text="ThreeByThree4Alt2" value="0x000a"/>
1102     </entries>
1103   </enum>
1104   <enum name="TransmitOrReceive">
1105     <entries>
1106       <entry comment="" name="TransmitOrReceive_None" text="None" value="0x0000"/>
1107       <entry comment="" name="TransmitOrReceive_ReceiveOnly" text="ReceiveOnly" value="0x0001"/>
1108       <entry comment="" name="TransmitOrReceive_TransmitOnly" text="TransmitOnly" value="0x0002"/>
1109       <entry comment="" name="TransmitOrReceive_Both" text="Both" value="0x0003"/>
1110     </entries>
1111   </enum>
1112   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="UpdateCapabilitiesMessage" opcode="0x0030" type="RegistrationAndManagement">
1113     <fields beginversion="0" endversion="22">
1114       <integer comment="" declare="yes" name="audioCapCount" type="uint32"/>
1115       <integer comment="" declare="yes" name="videoCapCount" type="uint32"/>
1116       <integer comment="" declare="yes" name="dataCapCount" type="uint32"/>
1117       <integer comment="" name="rtpPayloadFormat" type="uint32"/>
1118       <integer comment="" declare="yes" name="customPictureFormatCount" type="uint32"/>
1119       <struct comment="" maxsize="6" name="customPictureFormat" size_fieldname="customPictureFormatCount" subtype="CustomPictureFormat" type="struct">
1120         <fields>
1121           <integer comment="" name="pictureWidth" type="uint32"/>
1122           <integer comment="" name="pictureHeight" type="uint32"/>
1123           <integer comment="" name="pixelAspectRatio" type="uint32"/>
1124           <integer comment="" name="clockConversionCode" type="uint32"/>
1125           <integer comment="" name="clockDivisor" type="uint32"/>
1126         </fields>
1127       </struct>
1128       <struct comment="" name="confResources" subtype="ConfResources" type="struct">
1129         <fields>
1130           <integer comment="" name="activeStreamsOnRegistration" type="uint32"/>
1131           <integer comment="" name="maxBW" type="uint32"/>
1132           <integer comment="" declare="yes" name="serviceResourceCount" type="uint32"/>
1133           <struct comment="" maxsize="4" name="serviceResource" size_fieldname="serviceResourceCount" subtype="ServiceResource" type="struct">
1134             <fields>
1135               <integer comment="" declare="yes" name="layoutCount" type="uint32"/>
1136               <enum comment="" maxsize="5" name="layouts" size_fieldname="layoutCount" subtype="Layout" type="uint32"/>
1137               <integer comment="" name="serviceNum" type="uint32"/>
1138               <integer comment="" name="maxStreams" type="uint32"/>
1139               <integer comment="" name="maxConferences" type="uint32"/>
1140               <integer comment="Active Conference" longcomment="Active conference at Registration" name="activeConferenceOnRegistration" type="uint32"/>
1141             </fields>
1142           </struct>
1143         </fields>
1144       </struct>
1145       <struct comment="" maxsize="18" name="audiocaps" size_fieldname="audioCapCount" type="struct">
1146         <fields>
1147           <enum comment="" declare="yes" name="payloadCapability" subtype="Media_PayloadType" type="uint32"/>
1148           <integer comment="" name="maxFramesPerPacket" type="uint32"/>
1149           <union comment="" lookup_guide="payloadCapability" name="PAYLOADS" subtype="MediaCapabilityUnion" type="union">
1150             <fields>
1151               <enum comment="" lookup_eq="Media_Payload_G7231" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
1152               <struct comment="" lookup_eq="Media_Payload_v150_LC_ModemRelay" name="modemRelay" type="struct">
1153                 <fields>
1154                   <integer comment="" name="capAndVer" type="uint32"/>
1155                   <integer comment="" name="modAnd2833" type="uint32"/>
1156                 </fields>
1157               </struct>
1158               <struct comment="" lookup_eq="Media_Payload_v150_LC_SPRT" name="sprtPayload" type="struct">
1159                 <fields>
1160                   <integer comment="" name="chan0MaxPayload" type="uint16"/>
1161                   <integer comment="" name="chan2MaxPayload" type="uint16"/>
1162                   <integer comment="" name="chan3MaxPayload" type="uint16"/>
1163                   <integer comment="" name="chan2MaxWindow" type="uint16"/>
1164                 </fields>
1165               </struct>
1166               <struct comment="" lookup_eq="Media_Payload_v150_LC_SSE" name="sse" type="struct">
1167                 <fields>
1168                   <integer comment="" name="standard" type="uint32"/>
1169                   <integer comment="" name="vendor" type="uint32"/>
1170                 </fields>
1171               </struct>
1172               <struct comment="" lookup_eq="*" name="codecParams" subtype="CodecParameters" type="struct">
1173                 <fields>
1174                   <integer comment="" name="codecMode" type="uint8"/>
1175                   <integer comment="" name="dynamicPayload" type="uint8"/>
1176                   <integer comment="" name="codecParam1" type="uint8"/>
1177                   <integer comment="" name="codecParam2" type="uint8"/>
1178                 </fields>
1179               </struct>
1180             </fields>
1181           </union>
1182         </fields>
1183       </struct>
1184       <struct comment="" maxsize="10" name="vidCaps" size_fieldname="videoCapCount" subtype="VideoCapability" type="struct">
1185         <fields>
1186           <enum comment="" declare="yes" name="payloadCapability" subtype="Media_PayloadType" type="uint32"/>
1187           <enum comment="" name="videoCapabilityDirection" subtype="TransmitOrReceive" type="uint32"/>
1188           <integer comment="" declare="yes" name="levelPreferenceCount" type="uint32"/>
1189           <struct comment="" maxsize="4" name="levelPreference" size_fieldname="levelPreferenceCount" subtype="LevelPreference" type="struct">
1190             <fields>
1191               <integer comment="" name="transmitPreference" type="uint32"/>
1192               <integer comment="" name="format" type="uint32"/>
1193               <integer comment="" name="maxBitRate" type="uint32"/>
1194               <integer comment="" name="minBitRate" type="uint32"/>
1195               <integer comment="" name="MPI" type="uint32"/>
1196               <integer comment="" name="serviceNumber" type="uint32"/>
1197             </fields>
1198           </struct>
1199           <union comment="" lookup_guide="payloadCapability" name="capability" subtype="VideoCapabilityUnion" type="union">
1200             <fields>
1201               <struct comment="" lookup_eq="Media_Payload_H261" name="h261VideoCapability" subtype="H261VideoCapability" type="struct">
1202                 <fields>
1203                   <integer comment="Temporal spatial trade off capability" name="temporalSpatialTradeOffCapability" type="uint32"/>
1204                   <integer comment="Still Image Transmission" name="stillImageTransmission" type="uint32"/>
1205                 </fields>
1206               </struct>
1207               <struct comment="" lookup_eq="Media_Payload_H263" name="h263VideoCapability" subtype="H263VideoCapability" type="struct">
1208                 <fields>
1209                   <bitfield comment="H263 Capability BitField" name="h263_capability_bitfield" size="uint32" subtype="Generic_Bitfield_32" type="bitfield">
1210                     <entries>
1211                       <entry comment="" name="Generic_Bitfield_Bit1" text="Bit1" value="0x00000001"/>
1212                       <entry comment="" name="Generic_Bitfield_Bit2" text="Bit2" value="0x00000002"/>
1213                       <entry comment="" name="Generic_Bitfield_Bit3" text="Bit3" value="0x00000004"/>
1214                       <entry comment="" name="Generic_Bitfield_Bit4" text="Bit4" value="0x00000008"/>
1215                       <entry comment="" name="Generic_Bitfield_Bit5" text="Bit5" value="0x00000010"/>
1216                       <entry comment="" name="Generic_Bitfield_Bit6" text="Bit6" value="0x00000020"/>
1217                       <entry comment="" name="Generic_Bitfield_Bit7" text="Bit7" value="0x00000040"/>
1218                       <entry comment="" name="Generic_Bitfield_Bit8" text="Bit8" value="0x00000080"/>
1219                       <entry comment="" name="Generic_Bitfield_Bit9" text="Bit9" value="0x00000100"/>
1220                       <entry comment="" name="Generic_Bitfield_Bit10" text="Bit10" value="0x00000200"/>
1221                       <entry comment="" name="Generic_Bitfield_Bit11" text="Bit11" value="0x00000400"/>
1222                       <entry comment="" name="Generic_Bitfield_Bit12" text="Bit12" value="0x00000800"/>
1223                       <entry comment="" name="Generic_Bitfield_Bit13" text="Bit13" value="0x00001000"/>
1224                       <entry comment="" name="Generic_Bitfield_Bit14" text="Bit14" value="0x00002000"/>
1225                       <entry comment="" name="Generic_Bitfield_Bit15" text="Bit15" value="0x00004000"/>
1226                       <entry comment="" name="Generic_Bitfield_Bit16" text="Bit16" value="0x00008000"/>
1227                       <entry comment="" name="Generic_Bitfield_Bit17" text="Bit17" value="0x00010000"/>
1228                       <entry comment="" name="Generic_Bitfield_Bit18" text="Bit18" value="0x00020000"/>
1229                       <entry comment="" name="Generic_Bitfield_Bit19" text="Bit19" value="0x00040000"/>
1230                       <entry comment="" name="Generic_Bitfield_Bit20" text="Bit20" value="0x00080000"/>
1231                       <entry comment="" name="Generic_Bitfield_Bit21" text="Bit21" value="0x00100000"/>
1232                       <entry comment="" name="Generic_Bitfield_Bit22" text="Bit22" value="0x00200000"/>
1233                       <entry comment="" name="Generic_Bitfield_Bit23" text="Bit23" value="0x00400000"/>
1234                       <entry comment="" name="Generic_Bitfield_Bit24" text="Bit24" value="0x00800000"/>
1235                       <entry comment="" name="Generic_Bitfield_Bit25" text="Bit25" value="0x01000000"/>
1236                       <entry comment="" name="Generic_Bitfield_Bit26" text="Bit26" value="0x02000000"/>
1237                       <entry comment="" name="Generic_Bitfield_Bit27" text="Bit27" value="0x04000000"/>
1238                       <entry comment="" name="Generic_Bitfield_Bit28" text="Bit28" value="0x08000000"/>
1239                       <entry comment="" name="Generic_Bitfield_Bit29" text="Bit29" value="0x10000000"/>
1240                       <entry comment="" name="Generic_Bitfield_Bit30" text="Bit30" value="0x20000000"/>
1241                       <entry comment="" name="Generic_Bitfield_Bit31" text="Bit31" value="0x40000000"/>
1242                       <entry comment="" name="Generic_Bitfield_Bit32" text="Bit32" value="0x80000000"/>
1243                     </entries>
1244                   </bitfield>
1245                   <integer comment="" name="annexNandWFutureUse" type="uint32"/>
1246                 </fields>
1247               </struct>
1248               <struct comment="" lookup_eq="Media_Payload_Vieo" name="vieoVideoCapability" subtype="VieoVideoCapability" type="struct">
1249                 <fields>
1250                   <integer comment="" name="modelNumber" type="uint32"/>
1251                   <integer comment="" name="bandwidth" type="uint32"/>
1252                 </fields>
1253               </struct>
1254             </fields>
1255           </union>
1256         </fields>
1257       </struct>
1258       <struct comment="" maxsize="5" name="dataCaps" size_fieldname="dataCapCount" subtype="DataApplicationCapability" type="struct">
1259         <fields>
1260           <enum comment="" name="payloadCapability" subtype="Media_PayloadType" type="uint32"/>
1261           <enum comment="" name="dataCapabilityDirection" subtype="TransmitOrReceive" type="uint32"/>
1262           <integer comment="" name="protocolDependentData" type="uint32"/>
1263           <integer comment="" name="maxBitRate" type="uint32"/>
1264         </fields>
1265       </struct>
1266     </fields>
1267   </message>
1268   <enum name="OpenReceiveChanStatus">
1269     <entries>
1270       <entry comment="" name="OpenReceiveChanStatus_Ok" text="Ok" value="0x0000"/>
1271       <entry comment="" name="OpenReceiveChanStatus_Error" text="Error" value="0x0001"/>
1272     </entries>
1273   </enum>
1274   <message comment="" direction="dev2pbx" dynamic="no" msgtype="response" name="OpenMultiMediaReceiveChannelAckMessage" opcode="0x0031" request="0x0131" type="MediaControl">
1275     <fields>
1276       <enum comment="" name="multimediaReceptionStatus" subtype="OpenReceiveChanStatus" type="uint32"/>
1277       <ipv4or6 comment="ipaddress in big endian" endiannes="big" endianness="big" name="ipAddr" subtype="IpAddress" type="ipaddr" make_additional_info="yes"/>
1278       <integer comment="" declare="yes" name="portNumber" subtype="uint32" type="ipport" use_param="ipAddr" make_additional_info="yes"/>
1279       <integer comment="PassThrough PartyId" declare="yes" name="passThroughPartyId" req_resp_key="1" type="uint32"/>
1280       <integer comment="CallId" name="callReference" type="uint32"/>
1281     </fields>
1282   </message>
1283   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="ClearConferenceMessage" opcode="0x0032" type="Conference">
1284     <fields beginversion="0" endversion="22">
1285       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
1286       <integer comment="" name="serviceNum" type="uint32"/>
1287     </fields>
1288   </message>
1289   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="ServiceURLStatReqMessage" opcode="0x0033" type="RegistrationAndManagement">
1290     <fields beginversion="0" endversion="22">
1291       <integer comment="" declare="yes" name="serviceURLIndex" req_resp_key="1" type="uint32"/>
1292     </fields>
1293   </message>
1294   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="FeatureStatReqMessage" opcode="0x0034" type="RegistrationAndManagement">
1295     <fields>
1296       <integer comment="" declare="yes" name="featureIndex" req_resp_key="1" type="uint32"/>
1297     </fields>
1298     <fields beginversion="0" endversion="22" size_gt="16">
1299       <integer comment="" name="featureCapabilities" type="uint32"/>
1300     </fields>
1301   </message>
1302   <enum name="CreateConfResult">
1303     <entries>
1304       <entry comment="" name="CreateConfResult_OK" text="OK" value="0x0000"/>
1305       <entry comment="" name="CreateConfResult_ResourceNotAvailable" text="ResourceNotAvailable" value="0x0001"/>
1306       <entry comment="" name="CreateConfResult_ConferenceAlreadyExist" text="ConferenceAlreadyExist" value="0x0002"/>
1307       <entry comment="" name="CreateConfResult_SystemErr" text="SystemErr" value="0x0003"/>
1308     </entries>
1309   </enum>
1310   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="response" name="CreateConferenceResMessage" opcode="0x0035" request="0x0137" type="IntraCCM">
1311     <fields beginversion="0" endversion="22">
1312       <integer comment="Conference ID" declare="yes" name="conferenceId" req_resp_key="1" type="uint32"/>
1313       <enum comment="" name="result" subtype="CreateConfResult" type="uint32"/>
1314       <integer comment="" declare="yes" name="dataLength" type="uint32"/>
1315       <string comment="variable field size (max: 2000]" maxsize="2000" name="passThruData" size_fieldname="dataLength" type="char"/>
1316     </fields>
1317   </message>
1318   <enum name="DeleteConfResult">
1319     <entries>
1320       <entry comment="" name="DeleteConfResult_OK" text="OK" value="0x0000"/>
1321       <entry comment="" name="DeleteConfResult_ConferenceNotExist" text="ConferenceNotExist" value="0x0001"/>
1322       <entry comment="" name="DeleteConfResult_SystemErr" text="SystemErr" value="0x0002"/>
1323     </entries>
1324   </enum>
1325   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="response" name="DeleteConferenceResMessage" opcode="0x0036" request="0x0138" type="IntraCCM">
1326     <fields beginversion="0" endversion="22">
1327       <integer comment="Conference ID" declare="yes" name="conferenceId" req_resp_key="1" type="uint32"/>
1328       <enum comment="" name="delete_conf_result" subtype="DeleteConfResult" type="uint32"/>
1329     </fields>
1330   </message>
1331   <enum name="ModifyConfResult">
1332     <entries>
1333       <entry comment="" name="ModifyConfResult_OK" text="OK" value="0x0000"/>
1334       <entry comment="" name="ModifyConfResult_ResourceNotAvailable" text="ResourceNotAvailable" value="0x0001"/>
1335       <entry comment="" name="ModifyConfResult_ConferenceNotExist" text="ConferenceNotExist" value="0x0002"/>
1336       <entry comment="" name="ModifyConfResult_InvalidParameter" text="InvalidParameter" value="0x0003"/>
1337       <entry comment="" name="ModifyConfResult_MoreActiveCallsThanReserved" text="MoreActiveCallsThanReserved" value="0x0004"/>
1338       <entry comment="" name="ModifyConfResult_InvalidResourceType" text="InvalidResourceType" value="0x0005"/>
1339       <entry comment="" name="ModifyConfResult_SystemErr" text="SystemErr" value="0x0006"/>
1340     </entries>
1341   </enum>
1342   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="response" name="ModifyConferenceResMessage" opcode="0x0037" request="0x0139" type="IntraCCM">
1343     <fields beginversion="0" endversion="22">
1344       <integer comment="Conference ID" declare="yes" name="conferenceId" req_resp_key="1" type="uint32"/>
1345       <enum comment="" name="modify_conf_result" subtype="ModifyConfResult" type="uint32"/>
1346       <integer comment="" declare="yes" name="dataLength" type="uint32"/>
1347       <string comment="variable field size (max: 2000]" maxsize="2000" name="passThruData" size_fieldname="dataLength" type="char"/>
1348     </fields>
1349   </message>
1350   <enum name="AddParticipantResult">
1351     <entries>
1352       <entry comment="" name="AddParticipantResult_OK" text="OK" value="0x0000"/>
1353       <entry comment="" name="AddParticipantResult_ResourceNotAvailable" text="ResourceNotAvailable" value="0x0001"/>
1354       <entry comment="" name="AddParticipantResult_ConferenceNotExist" text="ConferenceNotExist" value="0x0002"/>
1355       <entry comment="" name="AddParticipantResult_DuplicateCallRef" text="DuplicateCallRef" value="0x0003"/>
1356       <entry comment="" name="AddParticipantResult_SystemErr" text="SystemErr" value="0x0004"/>
1357     </entries>
1358   </enum>
1359   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="response" name="AddParticipantResMessage" opcode="0x0038" request="0x013a" type="IntraCCM">
1360     <fields alignment="4" beginversion="0" endversion="22">
1361       <integer comment="Conference ID" declare="yes" name="conferenceId" req_resp_key="1" type="uint32"/>
1362       <integer comment="CallId" name="callReference" type="uint32"/>
1363       <enum comment="" name="add_participant_result" subtype="AddParticipantResult" type="uint32"/>
1364       <string comment="" name="bridgeParticipantId" size="257" type="char"/>
1365     </fields>
1366   </message>
1367   <enum name="ResourceType">
1368     <entries>
1369       <entry comment="" name="ResourceType_Conference" text="Conference" value="0x0000"/>
1370       <entry comment="" name="ResourceType_IVR" text="IVR" value="0x0001"/>
1371     </entries>
1372   </enum>
1373   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="response" name="AuditConferenceResMessage" opcode="0x0039" request="0x013c" type="IntraCCM">
1374     <fields beginversion="0" endversion="22">
1375       <integer comment="" name="last" type="uint32"/>
1376       <integer comment="" declare="yes" name="numberOfEntries" type="uint32"/>
1377       <struct comment="" maxsize="32" name="conferenceEntry" size_fieldname="numberOfEntries" subtype="AuditConferenceEntry" type="struct">
1378         <fields>
1379           <integer comment="Conference ID" name="conferenceId" type="uint32"/>
1380           <enum comment="" name="resourceType" subtype="ResourceType" type="uint32"/>
1381           <integer comment="" name="numberOfReservedParticipants" type="uint32"/>
1382           <integer comment="" name="numberOfActiveParticipants" type="uint32"/>
1383           <integer comment="" name="applicationId" type="uint32"/>
1384           <string comment="" name="appConfID" size="32" type="char"/>
1385           <string comment="" name="appData" size="24" type="char"/>
1386         </fields>
1387       </struct>
1388     </fields>
1389   </message>
1390   <enum name="AuditParticipantResult">
1391     <entries>
1392       <entry comment="" name="AuditParticipantResult_OK" text="OK" value="0x0000"/>
1393       <entry comment="" name="AuditParticipantResult_ConferenceNotExist" text="ConferenceNotExist" value="0x0001"/>
1394     </entries>
1395   </enum>
1396   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="response" name="AuditParticipantResMessage" opcode="0x0040" request="0x013d" type="IntraCCM">
1397     <fields beginversion="0" endversion="22">
1398       <enum comment="" name="audit_participant_result" subtype="AuditParticipantResult" type="uint32"/>
1399       <integer comment="" name="last" type="uint32"/>
1400       <integer comment="Conference ID" declare="yes" name="conferenceId" req_resp_key="1" type="uint32"/>
1401       <integer comment="" declare="yes" name="numberOfEntries" type="uint32"/>
1402       <integer comment="" maxsize="256" name="participantEntry" size_fieldname="numberOfEntries" type="uint32"/>
1403     </fields>
1404   </message>
1405   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="DeviceToUserDataMessageVersion1" opcode="0x0041" type="RegistrationAndManagement">
1406     <fields beginversion="0" endversion="22">
1407       <struct comment="" name="deviceToUserDataVersion1" subtype="UserAndDeviceDataVersion1" type="struct">
1408         <fields>
1409           <integer comment="" name="applicationId" type="uint32"/>
1410           <integer comment="LineId" name="lineInstance" type="uint32"/>
1411           <integer comment="CallId" name="callReference" type="uint32"/>
1412           <integer comment="" name="transactionId" type="uint32"/>
1413           <integer comment="" declare="yes" name="dataLength" type="uint32"/>
1414           <enum comment="" name="sequenceFlag" subtype="SequenceFlag" type="uint32"/>
1415           <integer comment="" name="displayPriority" type="uint32"/>
1416           <integer comment="Conference ID" name="conferenceId" type="uint32"/>
1417           <integer comment="" name="appInstanceID" type="uint32"/>
1418           <integer comment="" name="routingID" type="uint32"/>
1419           <xml comment="" maxsize="2000" name="xmldata" size_fieldname="dataLength" type="xml"/>
1420         </fields>
1421       </struct>
1422     </fields>
1423   </message>
1424   <message comment="" direction="dev2pbx" dynamic="no" msgtype="response" name="DeviceToUserDataResponseMessageVersion1" opcode="0x0042" request="0x0041" type="RegistrationAndManagement">
1425     <fields beginversion="0" endversion="22">
1426       <struct comment="" name="deviceToUserDataVersion1" subtype="UserAndDeviceDataVersion1" type="struct">
1427         <fields>
1428           <integer comment="" name="applicationId" type="uint32"/>
1429           <integer comment="LineId" name="lineInstance" type="uint32"/>
1430           <integer comment="CallId" name="callReference" type="uint32"/>
1431           <integer comment="" name="transactionId" type="uint32"/>
1432           <integer comment="" declare="yes" name="dataLength" type="uint32"/>
1433           <enum comment="" name="sequenceFlag" subtype="SequenceFlag" type="uint32"/>
1434           <integer comment="" name="displayPriority" type="uint32"/>
1435           <integer comment="Conference ID" name="conferenceId" type="uint32"/>
1436           <integer comment="" name="appInstanceID" type="uint32"/>
1437           <integer comment="" name="routingID" type="uint32"/>
1438           <xml comment="" maxsize="2000" name="xmldata" size_fieldname="dataLength" type="xml"/>
1439         </fields>
1440       </struct>
1441     </fields>
1442   </message>
1443   <message comment="" direction="dev2pbx" dynamic="no" msgtype="response" name="CapabilitiesV2ResMessage" opcode="0x0043" request="0x009b" type="RegistrationAndManagement">
1444     <fields beginversion="0" endversion="22">
1445       <integer comment="" declare="yes" name="audioCapCount" type="uint32"/>
1446       <integer comment="" declare="yes" name="videoCapCount" type="uint32"/>
1447       <integer comment="" declare="yes" name="dataCapCount" type="uint32"/>
1448       <integer comment="" name="rtpPayloadFormat" type="uint32"/>
1449       <integer comment="" declare="yes" name="customPictureFormatCount" type="uint32"/>
1450       <struct comment="" maxsize="6" name="customPictureFormat" size_fieldname="customPictureFormatCount" subtype="CustomPictureFormat" type="struct">
1451         <fields>
1452           <integer comment="" name="pictureWidth" type="uint32"/>
1453           <integer comment="" name="pictureHeight" type="uint32"/>
1454           <integer comment="" name="pixelAspectRatio" type="uint32"/>
1455           <integer comment="" name="clockConversionCode" type="uint32"/>
1456           <integer comment="" name="clockDivisor" type="uint32"/>
1457         </fields>
1458       </struct>
1459       <struct comment="" name="confResources" subtype="ConfResources" type="struct">
1460         <fields>
1461           <integer comment="" name="activeStreamsOnRegistration" type="uint32"/>
1462           <integer comment="" name="maxBW" type="uint32"/>
1463           <integer comment="" declare="yes" name="serviceResourceCount" type="uint32"/>
1464           <struct comment="" maxsize="4" name="serviceResource" size_fieldname="serviceResourceCount" subtype="ServiceResource" type="struct">
1465             <fields>
1466               <integer comment="" declare="yes" name="layoutCount" type="uint32"/>
1467               <enum comment="" maxsize="5" name="layouts" size_fieldname="layoutCount" subtype="Layout" type="uint32"/>
1468               <integer comment="" name="serviceNum" type="uint32"/>
1469               <integer comment="" name="maxStreams" type="uint32"/>
1470               <integer comment="" name="maxConferences" type="uint32"/>
1471               <integer comment="Active Conference" longcomment="Active conference at Registration" name="activeConferenceOnRegistration" type="uint32"/>
1472             </fields>
1473           </struct>
1474         </fields>
1475       </struct>
1476       <struct comment="" maxsize="18" name="audiocaps" size_fieldname="audioCapCount" type="struct">
1477         <fields>
1478           <enum comment="" declare="yes" name="payloadCapability" subtype="Media_PayloadType" type="uint32"/>
1479           <integer comment="" name="maxFramesPerPacket" type="uint32"/>
1480           <union comment="" lookup_guide="payloadCapability" name="PAYLOADS" subtype="MediaCapabilityUnion" type="union">
1481             <fields>
1482               <enum comment="" lookup_eq="Media_Payload_G7231" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
1483               <struct comment="" lookup_eq="Media_Payload_v150_LC_ModemRelay" name="modemRelay" type="struct">
1484                 <fields>
1485                   <integer comment="" name="capAndVer" type="uint32"/>
1486                   <integer comment="" name="modAnd2833" type="uint32"/>
1487                 </fields>
1488               </struct>
1489               <struct comment="" lookup_eq="Media_Payload_v150_LC_SPRT" name="sprtPayload" type="struct">
1490                 <fields>
1491                   <integer comment="" name="chan0MaxPayload" type="uint16"/>
1492                   <integer comment="" name="chan2MaxPayload" type="uint16"/>
1493                   <integer comment="" name="chan3MaxPayload" type="uint16"/>
1494                   <integer comment="" name="chan2MaxWindow" type="uint16"/>
1495                 </fields>
1496               </struct>
1497               <struct comment="" lookup_eq="Media_Payload_v150_LC_SSE" name="sse" type="struct">
1498                 <fields>
1499                   <integer comment="" name="standard" type="uint32"/>
1500                   <integer comment="" name="vendor" type="uint32"/>
1501                 </fields>
1502               </struct>
1503               <struct comment="" lookup_eq="*" name="codecParams" subtype="CodecParameters" type="struct">
1504                 <fields>
1505                   <integer comment="" name="codecMode" type="uint8"/>
1506                   <integer comment="" name="dynamicPayload" type="uint8"/>
1507                   <integer comment="" name="codecParam1" type="uint8"/>
1508                   <integer comment="" name="codecParam2" type="uint8"/>
1509                 </fields>
1510               </struct>
1511             </fields>
1512           </union>
1513         </fields>
1514       </struct>
1515       <struct comment="" maxsize="10" name="vidCaps" size_fieldname="videoCapCount" subtype="VideoCapabilityV2" type="struct">
1516         <fields>
1517           <enum comment="" declare="yes" name="payloadCapability" subtype="Media_PayloadType" type="uint32"/>
1518           <enum comment="" name="videoCapabilityDirection" subtype="TransmitOrReceive" type="uint32"/>
1519           <integer comment="" declare="yes" name="levelPreferenceCount" type="uint32"/>
1520           <struct comment="" maxsize="4" name="levelPreference" size_fieldname="levelPreferenceCount" subtype="LevelPreference" type="struct">
1521             <fields>
1522               <integer comment="" name="transmitPreference" type="uint32"/>
1523               <integer comment="" name="format" type="uint32"/>
1524               <integer comment="" name="maxBitRate" type="uint32"/>
1525               <integer comment="" name="minBitRate" type="uint32"/>
1526               <integer comment="" name="MPI" type="uint32"/>
1527               <integer comment="" name="serviceNumber" type="uint32"/>
1528             </fields>
1529           </struct>
1530           <union comment="" lookup_guide="payloadCapability" name="capability" subtype="VideoCapabilityV2Union" type="union">
1531             <fields>
1532               <struct comment="" lookup_eq="Media_Payload_H261" name="h261VideoCapability" subtype="H261VideoCapability" type="struct">
1533                 <fields>
1534                   <integer comment="Temporal spatial trade off capability" name="temporalSpatialTradeOffCapability" type="uint32"/>
1535                   <integer comment="Still Image Transmission" name="stillImageTransmission" type="uint32"/>
1536                 </fields>
1537               </struct>
1538               <struct comment="" lookup_eq="Media_Payload_H263" name="h263VideoCapability" subtype="H263VideoCapability" type="struct">
1539                 <fields>
1540                   <bitfield comment="H263 Capability BitField" name="h263_capability_bitfield" size="uint32" subtype="Generic_Bitfield_32" type="bitfield">
1541                     <entries>
1542                       <entry comment="" name="Generic_Bitfield_Bit1" text="Bit1" value="0x0001"/>
1543                       <entry comment="" name="Generic_Bitfield_Bit2" text="Bit2" value="0x0002"/>
1544                       <entry comment="" name="Generic_Bitfield_Bit3" text="Bit3" value="0x0004"/>
1545                       <entry comment="" name="Generic_Bitfield_Bit4" text="Bit4" value="0x0008"/>
1546                       <entry comment="" name="Generic_Bitfield_Bit5" text="Bit5" value="0x0010"/>
1547                       <entry comment="" name="Generic_Bitfield_Bit6" text="Bit6" value="0x0020"/>
1548                       <entry comment="" name="Generic_Bitfield_Bit7" text="Bit7" value="0x0040"/>
1549                       <entry comment="" name="Generic_Bitfield_Bit8" text="Bit8" value="0x0080"/>
1550                       <entry comment="" name="Generic_Bitfield_Bit9" text="Bit9" value="0x0100"/>
1551                       <entry comment="" name="Generic_Bitfield_Bit10" text="Bit10" value="0x0200"/>
1552                       <entry comment="" name="Generic_Bitfield_Bit11" text="Bit11" value="0x0400"/>
1553                       <entry comment="" name="Generic_Bitfield_Bit12" text="Bit12" value="0x0800"/>
1554                       <entry comment="" name="Generic_Bitfield_Bit13" text="Bit13" value="0x1000"/>
1555                       <entry comment="" name="Generic_Bitfield_Bit14" text="Bit14" value="0x2000"/>
1556                       <entry comment="" name="Generic_Bitfield_Bit15" text="Bit15" value="0x4000"/>
1557                       <entry comment="" name="Generic_Bitfield_Bit16" text="Bit16" value="0x8000"/>
1558                       <entry comment="" name="Generic_Bitfield_Bit17" text="Bit17" value="0x10000"/>
1559                       <entry comment="" name="Generic_Bitfield_Bit18" text="Bit18" value="0x20000"/>
1560                       <entry comment="" name="Generic_Bitfield_Bit19" text="Bit19" value="0x40000"/>
1561                       <entry comment="" name="Generic_Bitfield_Bit20" text="Bit20" value="0x80000"/>
1562                       <entry comment="" name="Generic_Bitfield_Bit21" text="Bit21" value="0x100000"/>
1563                       <entry comment="" name="Generic_Bitfield_Bit22" text="Bit22" value="0x200000"/>
1564                       <entry comment="" name="Generic_Bitfield_Bit23" text="Bit23" value="0x400000"/>
1565                       <entry comment="" name="Generic_Bitfield_Bit24" text="Bit24" value="0x800000"/>
1566                       <entry comment="" name="Generic_Bitfield_Bit25" text="Bit25" value="0x1000000"/>
1567                       <entry comment="" name="Generic_Bitfield_Bit26" text="Bit26" value="0x2000000"/>
1568                       <entry comment="" name="Generic_Bitfield_Bit27" text="Bit27" value="0x4000000"/>
1569                       <entry comment="" name="Generic_Bitfield_Bit28" text="Bit28" value="0x8000000"/>
1570                       <entry comment="" name="Generic_Bitfield_Bit29" text="Bit29" value="0x10000000"/>
1571                       <entry comment="" name="Generic_Bitfield_Bit30" text="Bit30" value="0x20000000"/>
1572                       <entry comment="" name="Generic_Bitfield_Bit31" text="Bit31" value="0x40000000"/>
1573                       <entry comment="" name="Generic_Bitfield_Bit32" text="Bit32" value="0x80000000"/>
1574                     </entries>
1575                   </bitfield>
1576                   <integer comment="" name="annexNandWFutureUse" type="uint32"/>
1577                 </fields>
1578               </struct>
1579               <struct comment="" lookup_eq="Media_Payload_H264" name="h264VideoCapability" subtype="H264VideoCapability" type="struct">
1580                 <fields>
1581                   <integer comment="" name="profile" type="uint32"/>
1582                   <integer comment="" name="level" type="uint32"/>
1583                   <integer comment="" name="customMaxMBPS" type="uint32"/>
1584                   <integer comment="" name="customMaxFS" type="uint32"/>
1585                   <integer comment="" name="customMaxDPB" type="uint32"/>
1586                   <integer comment="" name="customMaxBRandCPB" type="uint32"/>
1587                 </fields>
1588               </struct>
1589               <struct comment="" lookup_eq="Media_Payload_Vieo" name="vieoVideoCapability" subtype="VieoVideoCapability" type="struct">
1590                 <fields>
1591                   <integer comment="" name="modelNumber" type="uint32"/>
1592                   <integer comment="" name="bandwidth" type="uint32"/>
1593                 </fields>
1594               </struct>
1595             </fields>
1596           </union>
1597         </fields>
1598       </struct>
1599       <struct comment="" maxsize="5" name="dataCaps" size_fieldname="dataCapCount" subtype="DataApplicationCapability" type="struct">
1600         <fields>
1601           <enum comment="" name="payloadCapability" subtype="Media_PayloadType" type="uint32"/>
1602           <enum comment="" name="dataCapabilityDirection" subtype="TransmitOrReceive" type="uint32"/>
1603           <integer comment="" name="protocolDependentData" type="uint32"/>
1604           <integer comment="" name="maxBitRate" type="uint32"/>
1605         </fields>
1606       </struct>
1607     </fields>
1608   </message>
1609   <enum name="Media_Encryption_Capability">
1610     <entries>
1611       <entry comment="" name="Media_Encryption_Capability_NotEncryptionCapable" text="NotEncryptionCapable" value="0x0000"/>
1612       <entry comment="" name="Media_Encryption_Capability_EncryptionCapable" text="EncryptionCapable" value="0x0001"/>
1613     </entries>
1614   </enum>
1615   <enum name="IpAddrMode">
1616     <entries>
1617       <entry comment="" name="IpAddrMode_ModeIpv4" text="ModeIpv4" value="0x0000"/>
1618       <entry comment="" name="IpAddrMode_ModeIpv6" text="ModeIpv6" value="0x0001"/>
1619       <entry comment="" name="IpAddrMode_ModeIpv4AndIpv6" text="ModeIpv4AndIpv6" value="0x0002"/>
1620     </entries>
1621   </enum>
1622   <message comment="" direction="dev2pbx" dynamic="yes" msgtype="response" name="CapabilitiesV3ResMessage" opcode="0x0044" request="0x009b" type="RegistrationAndManagement">
1623     <fields beginversion="0" endversion="22">
1624       <integer comment="" declare="yes" name="audioCapCount" type="uint32"/>
1625       <integer comment="" declare="yes" name="videoCapCount" type="uint32"/>
1626       <integer comment="" declare="yes" name="dataCapCount" type="uint32"/>
1627       <integer comment="" name="rtpPayloadFormat" type="uint32"/>
1628       <integer comment="" declare="yes" name="customPictureFormatCount" type="uint32"/>
1629       <struct comment="" maxsize="6" name="customPictureFormat" size_fieldname="customPictureFormatCount" subtype="CustomPictureFormat" type="struct">
1630         <fields>
1631           <integer comment="" name="pictureWidth" type="uint32"/>
1632           <integer comment="" name="pictureHeight" type="uint32"/>
1633           <integer comment="" name="pixelAspectRatio" type="uint32"/>
1634           <integer comment="" name="clockConversionCode" type="uint32"/>
1635           <integer comment="" name="clockDivisor" type="uint32"/>
1636         </fields>
1637       </struct>
1638       <struct comment="" name="confResources" subtype="ConfResources" type="struct">
1639         <fields>
1640           <integer comment="" name="activeStreamsOnRegistration" type="uint32"/>
1641           <integer comment="" name="maxBW" type="uint32"/>
1642           <integer comment="" declare="yes" name="serviceResourceCount" type="uint32"/>
1643           <struct comment="" maxsize="4" name="serviceResource" size_fieldname="serviceResourceCount" subtype="ServiceResource" type="struct">
1644             <fields>
1645               <integer comment="" declare="yes" name="layoutCount" type="uint32"/>
1646               <enum comment="" maxsize="5" name="layouts" size_fieldname="layoutCount" subtype="Layout" type="uint32"/>
1647               <integer comment="" name="serviceNum" type="uint32"/>
1648               <integer comment="" name="maxStreams" type="uint32"/>
1649               <integer comment="" name="maxConferences" type="uint32"/>
1650               <integer comment="Active Conference" longcomment="Active conference at Registration" name="activeConferenceOnRegistration" type="uint32"/>
1651             </fields>
1652           </struct>
1653         </fields>
1654       </struct>
1655       <struct comment="" maxsize="18" name="audiocaps" size_fieldname="audioCapCount" type="struct">
1656         <fields>
1657           <enum comment="" declare="yes" name="payloadCapability" subtype="Media_PayloadType" type="uint32"/>
1658           <integer comment="" name="maxFramesPerPacket" type="uint32"/>
1659           <union comment="" lookup_guide="payloadCapability" name="PAYLOADS" subtype="MediaCapabilityUnion" type="union">
1660             <fields>
1661               <enum comment="" lookup_eq="Media_Payload_G7231" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
1662               <struct comment="" lookup_eq="Media_Payload_v150_LC_ModemRelay" name="modemRelay" type="struct">
1663                 <fields>
1664                   <integer comment="" name="capAndVer" type="uint32"/>
1665                   <integer comment="" name="modAnd2833" type="uint32"/>
1666                 </fields>
1667               </struct>
1668               <struct comment="" lookup_eq="Media_Payload_v150_LC_SPRT" name="sprtPayload" type="struct">
1669                 <fields>
1670                   <integer comment="" name="chan0MaxPayload" type="uint16"/>
1671                   <integer comment="" name="chan2MaxPayload" type="uint16"/>
1672                   <integer comment="" name="chan3MaxPayload" type="uint16"/>
1673                   <integer comment="" name="chan2MaxWindow" type="uint16"/>
1674                 </fields>
1675               </struct>
1676               <struct comment="" lookup_eq="Media_Payload_v150_LC_SSE" name="sse" type="struct">
1677                 <fields>
1678                   <integer comment="" name="standard" type="uint32"/>
1679                   <integer comment="" name="vendor" type="uint32"/>
1680                 </fields>
1681               </struct>
1682               <struct comment="" lookup_eq="*" name="codecParams" subtype="CodecParameters" type="struct">
1683                 <fields>
1684                   <integer comment="" name="codecMode" type="uint8"/>
1685                   <integer comment="" name="dynamicPayload" type="uint8"/>
1686                   <integer comment="" name="codecParam1" type="uint8"/>
1687                   <integer comment="" name="codecParam2" type="uint8"/>
1688                 </fields>
1689               </struct>
1690             </fields>
1691           </union>
1692         </fields>
1693       </struct>
1694       <struct comment="" maxsize="10" name="vidCaps" size_fieldname="videoCapCount" subtype="VideoCapabilityV3" type="struct">
1695         <fields>
1696           <enum comment="" declare="yes" name="payloadCapability" subtype="Media_PayloadType" type="uint32"/>
1697           <enum comment="" name="videoCapabilityDirection" subtype="TransmitOrReceive" type="uint32"/>
1698           <integer comment="" declare="yes" name="levelPreferenceCount" type="uint32"/>
1699           <struct comment="" maxsize="4" name="levelPreference" size_fieldname="levelPreferenceCount" subtype="LevelPreference" type="struct">
1700             <fields>
1701               <integer comment="" name="transmitPreference" type="uint32"/>
1702               <integer comment="" name="format" type="uint32"/>
1703               <integer comment="" name="maxBitRate" type="uint32"/>
1704               <integer comment="" name="minBitRate" type="uint32"/>
1705               <integer comment="" name="MPI" type="uint32"/>
1706               <integer comment="" name="serviceNumber" type="uint32"/>
1707             </fields>
1708           </struct>
1709           <enum comment="" name="encryptionCapability" subtype="Media_Encryption_Capability" type="uint32"/>
1710           <union comment="" lookup_guide="payloadCapability" name="capability" subtype="VideoCapabilityV3Union" type="union">
1711             <fields>
1712               <struct comment="" lookup_eq="Media_Payload_H261" name="h261VideoCapability" subtype="H261VideoCapability" type="struct">
1713                 <fields>
1714                   <integer comment="Temporal spatial trade off capability" name="temporalSpatialTradeOffCapability" type="uint32"/>
1715                   <integer comment="Still Image Transmission" name="stillImageTransmission" type="uint32"/>
1716                 </fields>
1717               </struct>
1718               <struct comment="" lookup_eq="Media_Payload_H263" name="h263VideoCapability" subtype="H263VideoCapability" type="struct">
1719                 <fields>
1720                   <bitfield comment="H263 Capability BitField" name="h263_capability_bitfield" size="uint32" subtype="Generic_Bitfield_32" type="bitfield">
1721                     <entries>
1722                       <entry comment="" name="Generic_Bitfield_Bit1" text="Bit1" value="0x0001"/>
1723                       <entry comment="" name="Generic_Bitfield_Bit2" text="Bit2" value="0x0002"/>
1724                       <entry comment="" name="Generic_Bitfield_Bit3" text="Bit3" value="0x0004"/>
1725                       <entry comment="" name="Generic_Bitfield_Bit4" text="Bit4" value="0x0008"/>
1726                       <entry comment="" name="Generic_Bitfield_Bit5" text="Bit5" value="0x0010"/>
1727                       <entry comment="" name="Generic_Bitfield_Bit6" text="Bit6" value="0x0020"/>
1728                       <entry comment="" name="Generic_Bitfield_Bit7" text="Bit7" value="0x0040"/>
1729                       <entry comment="" name="Generic_Bitfield_Bit8" text="Bit8" value="0x0080"/>
1730                       <entry comment="" name="Generic_Bitfield_Bit9" text="Bit9" value="0x0100"/>
1731                       <entry comment="" name="Generic_Bitfield_Bit10" text="Bit10" value="0x0200"/>
1732                       <entry comment="" name="Generic_Bitfield_Bit11" text="Bit11" value="0x0400"/>
1733                       <entry comment="" name="Generic_Bitfield_Bit12" text="Bit12" value="0x0800"/>
1734                       <entry comment="" name="Generic_Bitfield_Bit13" text="Bit13" value="0x1000"/>
1735                       <entry comment="" name="Generic_Bitfield_Bit14" text="Bit14" value="0x2000"/>
1736                       <entry comment="" name="Generic_Bitfield_Bit15" text="Bit15" value="0x4000"/>
1737                       <entry comment="" name="Generic_Bitfield_Bit16" text="Bit16" value="0x8000"/>
1738                       <entry comment="" name="Generic_Bitfield_Bit17" text="Bit17" value="0x10000"/>
1739                       <entry comment="" name="Generic_Bitfield_Bit18" text="Bit18" value="0x20000"/>
1740                       <entry comment="" name="Generic_Bitfield_Bit19" text="Bit19" value="0x40000"/>
1741                       <entry comment="" name="Generic_Bitfield_Bit20" text="Bit20" value="0x80000"/>
1742                       <entry comment="" name="Generic_Bitfield_Bit21" text="Bit21" value="0x100000"/>
1743                       <entry comment="" name="Generic_Bitfield_Bit22" text="Bit22" value="0x200000"/>
1744                       <entry comment="" name="Generic_Bitfield_Bit23" text="Bit23" value="0x400000"/>
1745                       <entry comment="" name="Generic_Bitfield_Bit24" text="Bit24" value="0x800000"/>
1746                       <entry comment="" name="Generic_Bitfield_Bit25" text="Bit25" value="0x1000000"/>
1747                       <entry comment="" name="Generic_Bitfield_Bit26" text="Bit26" value="0x2000000"/>
1748                       <entry comment="" name="Generic_Bitfield_Bit27" text="Bit27" value="0x4000000"/>
1749                       <entry comment="" name="Generic_Bitfield_Bit28" text="Bit28" value="0x8000000"/>
1750                       <entry comment="" name="Generic_Bitfield_Bit29" text="Bit29" value="0x10000000"/>
1751                       <entry comment="" name="Generic_Bitfield_Bit30" text="Bit30" value="0x20000000"/>
1752                       <entry comment="" name="Generic_Bitfield_Bit31" text="Bit31" value="0x40000000"/>
1753                       <entry comment="" name="Generic_Bitfield_Bit32" text="Bit32" value="0x80000000"/>
1754                     </entries>
1755                   </bitfield>
1756                   <integer comment="" name="annexNandWFutureUse" type="uint32"/>
1757                 </fields>
1758               </struct>
1759               <struct comment="" lookup_eq="Media_Payload_H264" name="h264VideoCapability" subtype="H264VideoCapability" type="struct">
1760                 <fields>
1761                   <integer comment="" name="profile" type="uint32"/>
1762                   <integer comment="" name="level" type="uint32"/>
1763                   <integer comment="" name="customMaxMBPS" type="uint32"/>
1764                   <integer comment="" name="customMaxFS" type="uint32"/>
1765                   <integer comment="" name="customMaxDPB" type="uint32"/>
1766                   <integer comment="" name="customMaxBRandCPB" type="uint32"/>
1767                 </fields>
1768               </struct>
1769               <struct comment="" lookup_eq="Media_Payload_Vieo" name="vieoVideoCapability" subtype="VieoVideoCapability" type="struct">
1770                 <fields>
1771                   <integer comment="" name="modelNumber" type="uint32"/>
1772                   <integer comment="" name="bandwidth" type="uint32"/>
1773                 </fields>
1774               </struct>
1775             </fields>
1776           </union>
1777           <enum comment="" name="ipAddressingMode" subtype="IpAddrMode" type="uint32"/>
1778         </fields>
1779         <fields beginversion="16" endversion="22">
1780           <enum comment="" name="ipAddressingMode" subtype="IpAddrMode" type="uint32"/>
1781         </fields>
1782       </struct>
1783       <struct comment="" maxsize="5" name="dataCaps" size_fieldname="dataCapCount" subtype="DataApplicationCapabilityV2" type="struct">
1784         <fields>
1785           <enum comment="" name="payloadCapability" subtype="Media_PayloadType" type="uint32"/>
1786           <enum comment="" name="dataCapabilityDirection" subtype="TransmitOrReceive" type="uint32"/>
1787           <integer comment="" name="protocolDependentData" type="uint32"/>
1788           <integer comment="" name="maxBitRate" type="uint32"/>
1789           <enum comment="" name="encryptionCapability" subtype="Media_Encryption_Capability" type="uint32"/>
1790         </fields>
1791       </struct>
1792     </fields>
1793   </message>
1794   <enum name="MediaType">
1795     <entries>
1796       <entry comment="" name="MediaType_Invalid" text="MediaType_Invalid" value="0x0000"/>
1797       <entry comment="" name="MediaType_Audio" text="MediaType_Audio" value="0x0001"/>
1798       <entry comment="" name="MediaType_Main_Video" text="MediaType_Main_Video" value="0x0002"/>
1799       <entry comment="" name="MediaType_FECC" text="MediaType_FECC" value="0x0003"/>
1800       <entry comment="" name="MediaType_Presentation_Video" text="MediaType_Presentation_Video" value="0x0004"/>
1801       <entry comment="" name="MediaType_DataApp_BFCP" text="MediaType_DataApp_BFCP" value="0x0005"/>
1802       <entry comment="" name="MediaType_DataApp_IXChannel" text="MediaType_DataApp_IXChannel" value="0x0006"/>
1803       <entry comment="" name="MediaType_T38" text="MediaType_T38" value="0x0007"/>
1804       <entry comment="" name="MediaType_Max" text="MediaType_Max" value="0x0008"/>
1805     </entries>
1806   </enum>
1807   <message comment="" direction="dev2pbx" dynamic="no" msgtype="response" name="PortResMessage" opcode="0x0045" request="0x014b" type="MediaControl">
1808     <fields>
1809       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
1810       <integer comment="CallId" declare="yes" name="callReference" req_resp_key="1" type="uint32"/>
1811       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
1812       <ipv4or6 comment="ipaddress in big endian" endiannes="big" endianness="big" name="ipAddr" subtype="IpAddress" type="ipaddr" make_additional_info="yes"/>
1813       <integer comment="" name="portNumber" subtype="uint32" type="ipport" use_param="ipAddr" make_additional_info="yes"/>
1814       <integer comment="" name="RTCPPortNumber" type="uint32"/>
1815     </fields>
1816     <fields beginversion="19" endversion="22">
1817       <enum comment="" name="mediaType" subtype="MediaType" type="uint32"/>
1818     </fields>
1819   </message>
1820   <enum name="RSVPDirection">
1821     <entries>
1822       <entry comment="" name="RSVPDirection_SEND" text="SEND" value="0x0001"/>
1823       <entry comment="" name="RSVPDirection_RECV" text="RECV" value="0x0002"/>
1824       <entry comment="" name="RSVPDirection_SENDRECV" text="SENDRECV" value="0x0003"/>
1825     </entries>
1826   </enum>
1827   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="event" name="QoSResvNotifyMessage" opcode="0x0046" type="IntraCCM">
1828     <fields beginversion="0" endversion="22">
1829       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
1830       <integer comment="CallId" name="callReference" type="uint32"/>
1831       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
1832       <ipv4or6 comment="ipaddress in big endian" endianness="big" name="remoteIpAddr" subtype="uint32" type="ipaddr" make_additional_info="yes"/>
1833       <integer comment="" name="remotePortNumber" subtype="uint32" type="ipport" use_param="remoteIpAddr" make_additional_info="yes"/>
1834       <enum comment="" name="direction" subtype="RSVPDirection" type="uint32"/>
1835     </fields>
1836   </message>
1837   <enum name="QoSErrorCode">
1838     <entries>
1839       <entry comment="" name="QOS_CAUSE_RESERVATION_TIMEOUT" text="QOS_CAUSE_RESERVATION_TIMEOUT" value="0x0000"/>
1840       <entry comment="" name="QOS_CAUSE_PATH_FAIL" text="QOS_CAUSE_PATH_FAIL" value="0x0001"/>
1841       <entry comment="" name="QOS_CAUSE_RESV_FAIL" text="QOS_CAUSE_RESV_FAIL" value="0x0002"/>
1842       <entry comment="" name="QOS_CAUSE_LISTEN_FAIL" text="QOS_CAUSE_LISTEN_FAIL" value="0x0003"/>
1843       <entry comment="" name="QOS_CAUSE_RESOURCE_UNAVAILABLE" text="QOS_CAUSE_RESOURCE_UNAVAILABLE" value="0x0004"/>
1844       <entry comment="" name="QOS_CAUSE_LISTEN_TIMEOUT" text="QOS_CAUSE_LISTEN_TIMEOUT" value="0x0005"/>
1845       <entry comment="" name="QOS_CAUSE_RESV_RETRIES_FAIL" text="QOS_CAUSE_RESV_RETRIES_FAIL" value="0x0006"/>
1846       <entry comment="" name="QOS_CAUSE_PATH_RETRIES_FAIL" text="QOS_CAUSE_PATH_RETRIES_FAIL" value="0x0007"/>
1847       <entry comment="" name="QOS_CAUSE_RESV_PREEMPTION" text="QOS_CAUSE_RESV_PREEMPTION" value="0x0008"/>
1848       <entry comment="" name="QOS_CAUSE_PATH_PREEMPTION" text="QOS_CAUSE_PATH_PREEMPTION" value="0x0009"/>
1849       <entry comment="" name="QOS_CAUSE_RESV_MODIFY_FAIL" text="QOS_CAUSE_RESV_MODIFY_FAIL" value="0x000a"/>
1850       <entry comment="" name="QOS_CAUSE_PATH_MODIFY_FAIL" text="QOS_CAUSE_PATH_MODIFY_FAIL" value="0x000b"/>
1851       <entry comment="" name="QOS_CAUSE_RESV_TEAR" text="QOS_CAUSE_RESV_TEAR" value="0x000c"/>
1852     </entries>
1853   </enum>
1854   <enum name="RSVPErrorCode">
1855     <entries>
1856       <entry comment="" name="RSVPErrorCode_CONFIRM" text="CONFIRM" value="0x0000"/>
1857       <entry comment="" name="RSVPErrorCode_ADMISSION" text="ADMISSION" value="0x0001"/>
1858       <entry comment="" name="RSVPErrorCode_ADMINISTRATIVE" text="ADMINISTRATIVE" value="0x0002"/>
1859       <entry comment="" name="RSVPErrorCode_NO_PATH_INFORMATION" text="NO_PATH_INFORMATION" value="0x0003"/>
1860       <entry comment="" name="RSVPErrorCode_NO_SENDER_INFORMATION" text="NO_SENDER_INFORMATION" value="0x0004"/>
1861       <entry comment="" name="RSVPErrorCode_CONFLICTING_STYLE" text="CONFLICTING_STYLE" value="0x0005"/>
1862       <entry comment="" name="RSVPErrorCode_UNKNOWN_STYLE" text="UNKNOWN_STYLE" value="0x0006"/>
1863       <entry comment="" name="RSVPErrorCode_CONFLICTING_DST_PORTS" text="CONFLICTING_DST_PORTS" value="0x0007"/>
1864       <entry comment="" name="RSVPErrorCode_CONFLICTING_SRC_PORTS" text="CONFLICTING_SRC_PORTS" value="0x0008"/>
1865       <entry comment="" name="RSVPErrorCode_SERVICE_PREEMPTED" text="SERVICE_PREEMPTED" value="0x000c"/>
1866       <entry comment="" name="RSVPErrorCode_UNKNOWN_OBJECT_CLASS" text="UNKNOWN_OBJECT_CLASS" value="0x000d"/>
1867       <entry comment="" name="RSVPErrorCode_UNKNOWN_CLASS_TYPE" text="UNKNOWN_CLASS_TYPE" value="0x000e"/>
1868       <entry comment="" name="RSVPErrorCode_API" text="API" value="0x0014"/>
1869       <entry comment="" name="RSVPErrorCode_TRAFFIC" text="TRAFFIC" value="0x0015"/>
1870       <entry comment="" name="RSVPErrorCode_TRAFFIC_SYSTEM" text="TRAFFIC_SYSTEM" value="0x0016"/>
1871       <entry comment="" name="RSVPErrorCode_SYSTEM" text="SYSTEM" value="0x0017"/>
1872       <entry comment="" name="RSVPErrorCode_ROUTING_PROBLEM" text="ROUTING_PROBLEM" value="0x0018"/>
1873     </entries>
1874   </enum>
1875   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="event" name="QoSErrorNotifyMessage" opcode="0x0047" type="IntraCCM">
1876     <fields beginversion="0" endversion="22">
1877       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
1878       <integer comment="CallId" name="callReference" type="uint32"/>
1879       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
1880       <ipv4or6 comment="ipaddress in big endian" endianness="big" name="remoteIpAddr" subtype="uint32" type="ipaddr" make_additional_info="yes"/>
1881       <integer comment="" name="remotePortNumber" subtype="uint32" type="ipport" use_param="remoteIpAddr" make_additional_info="yes"/>
1882       <enum comment="" name="direction" subtype="RSVPDirection" type="uint32"/>
1883       <enum comment="" name="errorCode" subtype="QoSErrorCode" type="uint32"/>
1884       <integer comment="" name="failureNodeIpAddr" type="uint32"/>
1885       <enum comment="" name="rsvpErrorCode" subtype="RSVPErrorCode" type="uint32"/>
1886       <integer comment="" name="rsvpErrorSubCodeVal" type="uint32"/>
1887       <integer comment="" name="rsvpErrorFlag" type="uint32"/>
1888     </fields>
1889   </message>
1890   <enum name="SubscriptionFeatureID">
1891     <entries>
1892       <entry comment="" name="SubscriptionFeatureID_BLF" text="BLF" value="0x0001"/>
1893     </entries>
1894   </enum>
1895   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="SubscriptionStatReqMessage" opcode="0x0048" type="CallControl">
1896     <fields beginversion="0" endversion="22">
1897       <integer comment="" declare="yes" name="transactionId" req_resp_key="1" type="uint32"/>
1898       <enum comment="" name="subscriptionFeatureID" subtype="SubscriptionFeatureID" type="uint32"/>
1899       <integer comment="" name="timer" type="uint32"/>
1900       <string comment="" name="subscriptionID" size="64" type="char"/>
1901     </fields>
1902   </message>
1903   <enum name="MediaPathID">
1904     <entries>
1905       <entry comment="" name="MediaPathID_Headset" text="Headset" value="0x0001"/>
1906       <entry comment="" name="MediaPathID_Handset" text="Handset" value="0x0002"/>
1907       <entry comment="" name="MediaPathID_Speaker" text="Speaker" value="0x0003"/>
1908     </entries>
1909   </enum>
1910   <enum name="MediaPathEvent">
1911     <entries>
1912       <entry comment="" name="MediaPathEvent_On" text="On" value="0x0001"/>
1913       <entry comment="" name="MediaPathEvent_Off" text="Off" value="0x0002"/>
1914     </entries>
1915   </enum>
1916   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="MediaPathEventMessage" opcode="0x0049" type="CallControl">
1917     <fields beginversion="0" endversion="22">
1918       <enum comment="" name="mediaPathID" subtype="MediaPathID" type="uint32"/>
1919       <enum comment="" name="mediaPathEvent" subtype="MediaPathEvent" type="uint32"/>
1920     </fields>
1921   </message>
1922   <enum name="MediaPathCapabilities">
1923     <entries>
1924       <entry comment="" name="MediaPathCapabilities_Enable" text="Enable" value="0x0001"/>
1925       <entry comment="" name="MediaPathCapabilities_Disable" text="Disable" value="0x0002"/>
1926       <entry comment="" name="MediaPathCapabilities_Monitor" text="Monitor" value="0x0003"/>
1927     </entries>
1928   </enum>
1929   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="MediaPathCapabilityMessage" opcode="0x004a" type="CallControl">
1930     <fields beginversion="0" endversion="22">
1931       <enum comment="" name="mediaPathID" subtype="MediaPathID" type="uint32"/>
1932       <enum comment="" name="mediaPathCapabilities" subtype="MediaPathCapabilities" type="uint32"/>
1933     </fields>
1934   </message>
1935   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="request" name="MwiNotificationMessage" opcode="0x004c" type="RegistrationAndManagement">
1936     <fields beginversion="0" endversion="22">
1937       <string comment="" name="mwiTargetNumber" size="25" type="char"/>
1938       <string comment="" name="mwiControlNumber" size="25" type="char"/>
1939       <integer comment="" name="areMessagesWaiting" type="uint32"/>
1940       <struct comment="" name="totalVmCounts" subtype="MwiMessageCounts" type="struct">
1941         <fields>
1942           <integer comment="" name="numNewMsgs" type="uint32"/>
1943           <integer comment="" name="numOldMsgs" type="uint32"/>
1944         </fields>
1945       </struct>
1946       <struct comment="" name="priorityVmCounts" subtype="MwiMessageCounts" type="struct">
1947         <fields>
1948           <integer comment="" name="numNewMsgs" type="uint32"/>
1949           <integer comment="" name="numOldMsgs" type="uint32"/>
1950         </fields>
1951       </struct>
1952       <struct comment="" name="totalFaxCounts" subtype="MwiMessageCounts" type="struct">
1953         <fields>
1954           <integer comment="" name="numNewMsgs" type="uint32"/>
1955           <integer comment="" name="numOldMsgs" type="uint32"/>
1956         </fields>
1957       </struct>
1958       <struct comment="" name="priorityFaxCounts" subtype="MwiMessageCounts" type="struct">
1959         <fields>
1960           <integer comment="" name="numNewMsgs" type="uint32"/>
1961           <integer comment="" name="numOldMsgs" type="uint32"/>
1962         </fields>
1963       </struct>
1964     </fields>
1965   </message>
1966   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="RegisterAckMessage" opcode="0x0081" request="0x0001" type="RegistrationAndManagement">
1967     <fields beginversion="0" endversion="22">
1968       <integer comment="" name="keepAliveInterval" type="uint32"/>
1969       <string comment="" name="dateTemplate" size="6" type="char"/>
1970       <integer comment="" name="alignmentPadding" type="uint16"/>
1971       <integer comment="" name="secondaryKeepAliveInterval" type="uint32"/>
1972       <integer comment="" name="maxProtocolVer" type="uint8"/>
1973       <integer comment="unknown" longcomment="unknown (Part of ProtocolVer)" name="unknown" type="uint8"/>
1974       <bitfield comment="Features this device supports" name="phoneFeatures" size="uint16" subtype="PhoneFeatures" type="bitfield">
1975         <entries>
1976           <entry comment="" name="PhoneFeatures_Bit1" text="Bit1" value="0x0001"/>
1977           <entry comment="" name="PhoneFeatures_Bit2" text="Bit2" value="0x0002"/>
1978           <entry comment="" name="PhoneFeatures_Bit3" text="Bit3" value="0x0004"/>
1979           <entry comment="" name="PhoneFeatures_Bit4" text="Bit4" value="0x0008"/>
1980           <entry comment="Supports UTF-8" name="PhoneFeatures_UTF8" text="UTF8Bit5" value="0x0010"/>
1981           <entry comment="" name="PhoneFeatures_Bit6" text="Bit6" value="0x0020"/>
1982           <entry comment="" name="PhoneFeatures_Bit7" text="Bit7" value="0x0040"/>
1983           <entry comment="Support Dynamic Messages" name="PhoneFeatures_DynamicMessages" text="DynamicMessages" value="0x0080"/>
1984           <entry comment="" name="PhoneFeatures_Bit9" text="Bit9" value="0x0100"/>
1985           <entry comment="Supports DTMF Type RFC2833" name="PhoneFeatures_RFC2833" text="RFC2833" value="0x0200"/>
1986           <entry comment="" name="PhoneFeatures_Bit11" text="Bit11" value="0x0400"/>
1987           <entry comment="" name="PhoneFeatures_Bit12" text="Bit12" value="0x0800"/>
1988           <entry comment="" name="PhoneFeatures_Bit13" text="Bit13" value="0x1000"/>
1989           <entry comment="" name="PhoneFeatures_Bit14" text="Bit14" value="0x2000"/>
1990           <entry comment="" name="PhoneFeatures_Bit15" text="Bit15" value="0x4000"/>
1991           <entry comment="Abbreviated Dial" name="PhoneFeatures_Abbreviated_Dial" text="AbbrevDial" value="0x8000"/>
1992         </entries>
1993       </bitfield>
1994     </fields>
1995   </message>
1996   <enum name="DeviceTone">
1997     <entries>
1998       <entry comment="" name="DeviceTone_Silence" text="Silence" value="0x0000"/>
1999       <entry comment="" name="DeviceTone_Dtmf1" text="Dtmf1" value="0x0001"/>
2000       <entry comment="" name="DeviceTone_Dtmf2" text="Dtmf2" value="0x0002"/>
2001       <entry comment="" name="DeviceTone_Dtmf3" text="Dtmf3" value="0x0003"/>
2002       <entry comment="" name="DeviceTone_Dtmf4" text="Dtmf4" value="0x0004"/>
2003       <entry comment="" name="DeviceTone_Dtmf5" text="Dtmf5" value="0x0005"/>
2004       <entry comment="" name="DeviceTone_Dtmf6" text="Dtmf6" value="0x0006"/>
2005       <entry comment="" name="DeviceTone_Dtmf7" text="Dtmf7" value="0x0007"/>
2006       <entry comment="" name="DeviceTone_Dtmf8" text="Dtmf8" value="0x0008"/>
2007       <entry comment="" name="DeviceTone_Dtmf9" text="Dtmf9" value="0x0009"/>
2008       <entry comment="" name="DeviceTone_Dtmf0" text="Dtmf0" value="0x000a"/>
2009       <entry comment="" name="DeviceTone_DtmfStar" text="DtmfStar" value="0x000e"/>
2010       <entry comment="" name="DeviceTone_DtmfPound" text="DtmfPound" value="0x000f"/>
2011       <entry comment="" name="DeviceTone_DtmfA" text="DtmfA" value="0x0010"/>
2012       <entry comment="" name="DeviceTone_DtmfB" text="DtmfB" value="0x0011"/>
2013       <entry comment="" name="DeviceTone_DtmfC" text="DtmfC" value="0x0012"/>
2014       <entry comment="" name="DeviceTone_DtmfD" text="DtmfD" value="0x0013"/>
2015       <entry comment="" name="DeviceTone_InsideDialTone" text="InsideDialTone" value="0x0021"/>
2016       <entry comment="" name="DeviceTone_OutsideDialTone" text="OutsideDialTone" value="0x0022"/>
2017       <entry comment="" name="DeviceTone_LineBusyTone" text="LineBusyTone" value="0x0023"/>
2018       <entry comment="" name="DeviceTone_AlertingTone" text="AlertingTone" value="0x0024"/>
2019       <entry comment="" name="DeviceTone_ReorderTone" text="ReorderTone" value="0x0025"/>
2020       <entry comment="" name="DeviceTone_RecorderWarningTone" text="RecorderWarningTone" value="0x0026"/>
2021       <entry comment="" name="DeviceTone_RecorderDetectedTone" text="RecorderDetectedTone" value="0x0027"/>
2022       <entry comment="" name="DeviceTone_RevertingTone" text="RevertingTone" value="0x0028"/>
2023       <entry comment="" name="DeviceTone_ReceiverOffHookTone" text="ReceiverOffHookTone" value="0x0029"/>
2024       <entry comment="" name="DeviceTone_MessageWaitingIndicatorTone" text="MessageWaitingIndicatorTone" value="0x002a"/>
2025       <entry comment="" name="DeviceTone_NoSuchNumberTone" text="NoSuchNumberTone" value="0x002b"/>
2026       <entry comment="" name="DeviceTone_BusyVerificationTone" text="BusyVerificationTone" value="0x002c"/>
2027       <entry comment="" name="DeviceTone_CallWaitingTone" text="CallWaitingTone" value="0x002d"/>
2028       <entry comment="" name="DeviceTone_ConfirmationTone" text="ConfirmationTone" value="0x002e"/>
2029       <entry comment="" name="DeviceTone_CampOnIndicationTone" text="CampOnIndicationTone" value="0x002f"/>
2030       <entry comment="" name="DeviceTone_RecallDialTone" text="RecallDialTone" value="0x0030"/>
2031       <entry comment="" name="DeviceTone_ZipZip" text="ZipZip" value="0x0031"/>
2032       <entry comment="" name="DeviceTone_Zip" text="Zip" value="0x0032"/>
2033       <entry comment="" name="DeviceTone_BeepBonk" text="BeepBonk" value="0x0033"/>
2034       <entry comment="" name="DeviceTone_MusicTone" text="MusicTone" value="0x0034"/>
2035       <entry comment="" name="DeviceTone_HoldTone" text="HoldTone" value="0x0035"/>
2036       <entry comment="" name="DeviceTone_TestTone" text="TestTone" value="0x0036"/>
2037       <entry comment="" name="DeviceTone_MonitorWarningTone" text="MonitorWarningTone" value="0x0038"/>
2038       <entry comment="" name="DeviceTone_SecureWarningTone" text="SecureWarningTone" value="0x0039"/>
2039       <entry comment="" name="DeviceTone_AddCallWaiting" text="AddCallWaiting" value="0x0040"/>
2040       <entry comment="" name="DeviceTone_PriorityCallWait" text="PriorityCallWait" value="0x0041"/>
2041       <entry comment="" name="DeviceTone_RecallDial" text="RecallDial" value="0x0042"/>
2042       <entry comment="" name="DeviceTone_BargIn" text="BargIn" value="0x0043"/>
2043       <entry comment="" name="DeviceTone_DistinctAlert" text="DistinctAlert" value="0x0044"/>
2044       <entry comment="" name="DeviceTone_PriorityAlert" text="PriorityAlert" value="0x0045"/>
2045       <entry comment="" name="DeviceTone_ReminderRing" text="ReminderRing" value="0x0046"/>
2046       <entry comment="" name="DeviceTone_PrecedenceRingBack" text="PrecedenceRingBack" value="0x0047"/>
2047       <entry comment="" name="DeviceTone_PreemptionTone" text="PreemptionTone" value="0x0048"/>
2048       <entry comment="" name="DeviceTone_NonSecureWarningTone" text="NonSecureWarningTone" value="0x0049"/>
2049       <entry comment="" name="DeviceTone_MF1" text="MF1" value="0x0050"/>
2050       <entry comment="" name="DeviceTone_MF2" text="MF2" value="0x0051"/>
2051       <entry comment="" name="DeviceTone_MF3" text="MF3" value="0x0052"/>
2052       <entry comment="" name="DeviceTone_MF4" text="MF4" value="0x0053"/>
2053       <entry comment="" name="DeviceTone_MF5" text="MF5" value="0x0054"/>
2054       <entry comment="" name="DeviceTone_MF6" text="MF6" value="0x0055"/>
2055       <entry comment="" name="DeviceTone_MF7" text="MF7" value="0x0056"/>
2056       <entry comment="" name="DeviceTone_MF8" text="MF8" value="0x0057"/>
2057       <entry comment="" name="DeviceTone_MF9" text="MF9" value="0x0058"/>
2058       <entry comment="" name="DeviceTone_MF0" text="MF0" value="0x0059"/>
2059       <entry comment="" name="DeviceTone_MFKP1" text="MFKP1" value="0x005a"/>
2060       <entry comment="" name="DeviceTone_MFST" text="MFST" value="0x005b"/>
2061       <entry comment="" name="DeviceTone_MFKP2" text="MFKP2" value="0x005c"/>
2062       <entry comment="" name="DeviceTone_MFSTP" text="MFSTP" value="0x005d"/>
2063       <entry comment="" name="DeviceTone_MFST3P" text="MFST3P" value="0x005e"/>
2064       <entry comment="" name="DeviceTone_MILLIWATT" text="MILLIWATT" value="0x005f"/>
2065       <entry comment="" name="DeviceTone_MILLIWATTTEST" text="MILLIWATTTEST" value="0x0060"/>
2066       <entry comment="" name="DeviceTone_HIGHTONE" text="HIGHTONE" value="0x0061"/>
2067       <entry comment="" name="DeviceTone_FLASHOVERRIDE" text="FLASHOVERRIDE" value="0x0062"/>
2068       <entry comment="" name="DeviceTone_FLASH" text="FLASH" value="0x0063"/>
2069       <entry comment="" name="DeviceTone_PRIORITY" text="PRIORITY" value="0x0064"/>
2070       <entry comment="" name="DeviceTone_IMMEDIATE" text="IMMEDIATE" value="0x0065"/>
2071       <entry comment="" name="DeviceTone_PREAMPWARN" text="PREAMPWARN" value="0x0066"/>
2072       <entry comment="" name="DeviceTone_Tone2105HZ" text="2105HZ" value="0x0067"/>
2073       <entry comment="" name="DeviceTone_Tone2600HZ" text="2600HZ" value="0x0068"/>
2074       <entry comment="" name="DeviceTone_Tone440HZ" text="440HZ" value="0x0069"/>
2075       <entry comment="" name="DeviceTone_Tone300HZ" text="300HZ" value="0x006a"/>
2076       <entry comment="" name="DeviceTone_Mobility_WP" text="Mobility_WP" value="0x006b"/>
2077       <entry comment="" name="DeviceTone_Mobility_UAC" text="Mobility_UAC" value="0x006c"/>
2078       <entry comment="" name="DeviceTone_Mobility_WTDN" text="Mobility_WTDN" value="0x006d"/>
2079       <entry comment="" name="DeviceTone_Mobility_MON" text="Mobility_MON" value="0x006e"/>
2080       <entry comment="" name="DeviceTone_Mobility_MOFF" text="Mobility_MOFF" value="0x006f"/>
2081       <entry comment="" name="DeviceTone_Mobility_UKC" text="Mobility_UKC" value="0x0070"/>
2082       <entry comment="" name="DeviceTone_Mobility_VMA" text="Mobility_VMA" value="0x0071"/>
2083       <entry comment="" name="DeviceTone_Mobility_FAC" text="Mobility_FAC" value="0x0072"/>
2084       <entry comment="" name="DeviceTone_Mobility_CMC" text="Mobility_CMC" value="0x0073"/>
2085       <entry comment="" name="DeviceTone_MLPP_PALA" text="MLPP_PALA" value="0x0077"/>
2086       <entry comment="" name="DeviceTone_MLPP_ICA" text="MLPP_ICA" value="0x0078"/>
2087       <entry comment="" name="DeviceTone_MLPP_VCA" text="MLPP_VCA" value="0x0079"/>
2088       <entry comment="" name="DeviceTone_MLPP_BPA" text="MLPP_BPA" value="0x007a"/>
2089       <entry comment="" name="DeviceTone_MLPP_BNEA" text="MLPP_BNEA" value="0x007b"/>
2090       <entry comment="" name="DeviceTone_MLPP_UPA" text="MLPP_UPA" value="0x007c"/>
2091       <entry comment="" name="DeviceTone_TUA" text="TUA" value="0x007d"/>
2092       <entry comment="" name="DeviceTone_GONE" text="GONE" value="0x007e"/>
2093       <entry comment="" name="DeviceTone_NoTone" text="NoTone" value="0x007f"/>
2094       <entry comment="" name="DeviceTone_MeetMe_Greeting" text="MeetMe_Greeting" value="0x0080"/>
2095       <entry comment="" name="DeviceTone_MeetMe_NumberInvalid" text="MeetMe_NumberInvalid" value="0x0081"/>
2096       <entry comment="" name="DeviceTone_MeetMe_NumberFailed" text="MeetMe_NumberFailed" value="0x0082"/>
2097       <entry comment="" name="DeviceTone_MeetMe_EnterPIN" text="MeetMe_EnterPIN" value="0x0083"/>
2098       <entry comment="" name="DeviceTone_MeetMe_InvalidPIN" text="MeetMe_InvalidPIN" value="0x0084"/>
2099       <entry comment="" name="DeviceTone_MeetMe_FailedPIN" text="MeetMe_FailedPIN" value="0x0085"/>
2100       <entry comment="" name="DeviceTone_MeetMe_CFB_Failed" text="MeetMe_CFB_Failed" value="0x0086"/>
2101       <entry comment="" name="DeviceTone_MeetMe_EnterAccessCode" text="MeetMe_EnterAccessCode" value="0x0087"/>
2102       <entry comment="" name="DeviceTone_MeetMe_AccessCodeInvalid" text="MeetMe_AccessCodeInvalid" value="0x0088"/>
2103       <entry comment="" name="DeviceTone_MeetMe_AccessCodeFailed" text="MeetMe_AccessCodeFailed" value="0x0089"/>
2104       <entry comment="" name="DeviceTone_MAX" text="MAX" value="0x008A"/>
2105     </entries>
2106   </enum>
2107   <enum name="ToneOutputDirection">
2108     <entries>
2109       <entry comment="" name="ToneOutputDirection_User" text="User" value="0x0000"/>
2110       <entry comment="" name="ToneOutputDirection_Network" text="Network" value="0x0001"/>
2111       <entry comment="" name="ToneOutputDirection_All" text="All" value="0x0002"/>
2112     </entries>
2113   </enum>
2114   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="StartToneMessage" opcode="0x0082" type="MediaControl">
2115     <fields beginversion="0" endversion="22">
2116       <enum comment="" name="tone" subtype="DeviceTone" type="uint32" make_additional_info="yes"/>
2117       <enum comment="" name="tone_output_direction" subtype="ToneOutputDirection" type="uint32"/>
2118       <integer comment="LineId" name="lineInstance" type="uint32"/>
2119       <integer comment="CallId" name="callReference" type="uint32"/>
2120     </fields>
2121   </message>
2122   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="StopToneMessage" opcode="0x0083" type="MediaControl">
2123     <fields>
2124       <integer comment="LineId" name="lineInstance" type="uint32"/>
2125       <integer comment="CallId" name="callReference" type="uint32"/>
2126     </fields>
2127     <fields beginversion="11" endversion="22">
2128       <enum comment="" name="tone" subtype="DeviceTone" type="uint32"/>
2129     </fields>
2130   </message>
2131   <enum name="RingMode">
2132     <entries>
2133       <entry comment="" name="RingMode_RingOff" text="RingOff" value="0x0001"/>
2134       <entry comment="" name="RingMode_InsideRing" text="InsideRing" value="0x0002"/>
2135       <entry comment="" name="RingMode_OutsideRing" text="OutsideRing" value="0x0003"/>
2136       <entry comment="" name="RingMode_FeatureRing" text="FeatureRing" value="0x0004"/>
2137       <entry comment="" name="RingMode_FlashOnly" text="FlashOnly" value="0x0005"/>
2138       <entry comment="" name="RingMode_PrecedenceRing" text="PrecedenceRing" value="0x0006"/>
2139     </entries>
2140   </enum>
2141   <enum name="RingDuration">
2142     <entries>
2143       <entry comment="" name="RingDuration_NormalRing" text="NormalRing" value="0x0001"/>
2144       <entry comment="" name="RingDuration_SingleRing" text="SingleRing" value="0x0002"/>
2145     </entries>
2146   </enum>
2147   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="SetRingerMessage" opcode="0x0085" type="CallControl">
2148     <fields beginversion="0" endversion="22">
2149       <enum comment="" name="ringMode" subtype="RingMode" type="uint32"/>
2150       <enum comment="" name="ringDuration" subtype="RingDuration" type="uint32"/>
2151       <integer comment="LineId" name="lineInstance" type="uint32"/>
2152       <integer comment="CallId" name="callReference" type="uint32"/>
2153     </fields>
2154   </message>
2155   <enum name="LampMode">
2156     <entries>
2157       <entry comment="" name="LampMode_Off" text="Off" value="0x0001"/>
2158       <entry comment="" name="LampMode_On" text="On" value="0x0002"/>
2159       <entry comment="" name="LampMode_Wink" text="Wink" value="0x0003"/>
2160       <entry comment="" name="LampMode_Flash" text="Flash" value="0x0004"/>
2161       <entry comment="" name="LampMode_Blink" text="Blink" value="0x0005"/>
2162     </entries>
2163   </enum>
2164   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="SetLampMessage" opcode="0x0086" type="CallControl">
2165     <fields beginversion="0" endversion="22">
2166       <enum comment="" name="stimulus" subtype="DeviceStimulus" type="uint32"/>
2167       <integer comment="" name="stimulusInstance" type="uint32"/>
2168       <enum comment="" name="lampMode" subtype="LampMode" type="uint32"/>
2169     </fields>
2170   </message>
2171   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="SetHookFlashDetectMessage" opcode="0x0087" type="CallControl"/>
2172   <enum name="SpeakerMode">
2173     <entries>
2174       <entry comment="" name="SpeakerMode_On" text="On" value="0x0001"/>
2175       <entry comment="" name="SpeakerMode_Off" text="Off" value="0x0002"/>
2176     </entries>
2177   </enum>
2178   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="SetSpeakerModeMessage" opcode="0x0088" type="CallControl">
2179     <fields beginversion="0" endversion="22">
2180       <enum comment="" name="speakerMode" subtype="SpeakerMode" type="uint32"/>
2181     </fields>
2182   </message>
2183   <enum name="MicrophoneMode">
2184     <entries>
2185       <entry comment="" name="MicrophoneMode_On" text="On" value="0x0001"/>
2186       <entry comment="" name="MicrophoneMode_Off" text="Off" value="0x0002"/>
2187     </entries>
2188   </enum>
2189   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="SetMicroModeMessage" opcode="0x0089" type="CallControl">
2190     <fields beginversion="0" endversion="22">
2191       <enum comment="" name="micMode" subtype="MicrophoneMode" type="uint32"/>
2192     </fields>
2193   </message>
2194   <enum name="Media_SilenceSuppression">
2195     <entries>
2196       <entry comment="" name="Media_SilenceSuppression_Off" text="Media_SilenceSuppression_Off" value="0x0000"/>
2197       <entry comment="" name="Media_SilenceSuppression_On" text="Media_SilenceSuppression_On" value="0x0001"/>
2198     </entries>
2199   </enum>
2200   <enum name="MediaEncryptionAlgorithmType">
2201     <entries>
2202       <entry comment="" name="MediaEncryptionAlgorithmType_NO_ENCRYPTION" text="NO_ENCRYPTION" value="0x0000"/>
2203       <entry comment="" name="MediaEncryptionAlgorithmType_CCM_AES_CM_128_HMAC_SHA1_32" text="CCM_AES_CM_128_HMAC_SHA1_32" value="0x0001"/>
2204       <entry comment="" name="MediaEncryptionAlgorithmType_CCM_AES_CM_128_HMAC_SHA1_80" text="CCM_AES_CM_128_HMAC_SHA1_80" value="0x0002"/>
2205       <entry comment="" name="MediaEncryptionAlgorithmType_CCM_F8_128_HMAC_SHA1_32" text="CCM_F8_128_HMAC_SHA1_32" value="0x0003"/>
2206       <entry comment="" name="MediaEncryptionAlgorithmType_CCM_F8_128_HMAC_SHA1_80" text="CCM_F8_128_HMAC_SHA1_80" value="0x0004"/>
2207       <entry comment="" name="MediaEncryptionAlgorithmType_CCM_AEAD_AES_128_GCM" text="CCM_AEAD_AES_128_GCM" value="0x0005"/>
2208       <entry comment="" name="MediaEncryptionAlgorithmType_CCM_AEAD_AES_256_GCM" text="CCM_AEAD_AES_256_GCM" value="0x0006"/>
2209     </entries>
2210   </enum>
2211   <message comment="" direction="pbx2dev" dynamic="no" msgtype="request" name="StartMediaTransmissionMessage" opcode="0x008a" priority="send_immediate" type="MediaControl">
2212     <fields>
2213       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
2214       <integer comment="PassThrough PartyId" declare="yes" name="passThroughPartyId" req_resp_key="1" type="uint32"/>
2215       <ipv4or6 comment="" name="remoteIpAddr" subtype="IPV4orV6Address" type="ipaddr" make_additional_info="yes"/>
2216       <integer comment="" name="remotePortNumber" subtype="uint32" type="ipport" use_param="remoteIpAddr" make_additional_info="yes"/>
2217       <integer comment="" name="milliSecondPacketSize" type="uint32"/>
2218       <enum comment="" declare="yes" name="compressionType" subtype="Media_PayloadType" type="uint32"/>
2219       <struct comment="" name="qualifierOut" subtype="Media_QualifierOutgoing" type="struct">
2220         <fields>
2221           <integer comment="" name="precedenceValue" type="uint32"/>
2222           <enum comment="" name="ssValue" subtype="Media_SilenceSuppression" type="uint32"/>
2223           <integer comment="" name="maxFramesPerPacket" type="uint16"/>
2224           <integer comment="Unused/Padding" name="padding" type="uint16"/>
2225         </fields>
2226         <fields beginversion="0" endversion="10">
2227           <enum comment="" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
2228         </fields>
2229         <fields beginversion="11" endversion="22">
2230           <union comment="" lookup_guide="compressionType" name="codecParamsUnion" subtype="Media_QualifierOutgoingUnion" type="union">
2231             <fields>
2232               <enum comment="" lookup_eq="Media_Payload_G7231" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
2233               <struct comment="" lookup_eq="*" name="codecParams" subtype="CodecParameters" type="struct">
2234                 <fields>
2235                   <integer comment="" name="codecMode" type="uint8"/>
2236                   <integer comment="" name="dynamicPayload" type="uint8"/>
2237                   <integer comment="" name="codecParam1" type="uint8"/>
2238                   <integer comment="" name="codecParam2" type="uint8"/>
2239                 </fields>
2240               </struct>
2241             </fields>
2242           </union>
2243         </fields>
2244       </struct>
2245       <integer comment="CallId" name="callReference" type="uint32"/>
2246       <struct comment="" name="mTxMediaEncryptionKeyInfo" subtype="MediaEncryptionKeyInfo" type="struct">
2247         <fields>
2248           <enum comment="" name="algorithmID" subtype="MediaEncryptionAlgorithmType" type="uint32"/>
2249           <integer comment="" declare="yes" name="keylen" type="uint16"/>
2250           <integer comment="" declare="yes" name="saltlen" type="uint16"/>
2251           <integer comment="" maxsize="16" name="key" size_fieldname="keylen" type="uint8"/>
2252           <integer comment="" maxsize="16" name="salt" size_fieldname="saltlen" type="uint8"/>
2253           <integer comment="" name="isMKIPresent" type="uint32"/>
2254           <integer comment="" name="keyDerivationRate" type="uint32"/>
2255         </fields>
2256       </struct>
2257       <integer comment="" name="streamPassThroughId" type="uint32"/>
2258       <integer comment="" name="associatedStreamId" type="uint32"/>
2259       <integer comment="" name="RFC2833PayloadType" type="uint32"/>
2260       <integer comment="" name="dtmfType" type="uint32"/>
2261       <integer comment="" name="mixingMode" type="uint32"/>
2262     </fields>
2263     <fields beginversion="15">
2264       <integer comment="" name="partyDirection" type="uint32"/>
2265     </fields>
2266     <fields beginversion="21" endversion="22">
2267       <struct comment="" name="latentCapsInfo" type="struct">
2268         <fields>
2269           <integer comment="" name="active" type="uint32"/>
2270           <struct comment="" name="modemRelay" type="struct">
2271             <fields>
2272               <integer comment="" name="capAndVer" type="uint32"/>
2273               <integer comment="" name="modAnd2833" type="uint32"/>
2274             </fields>
2275           </struct>
2276           <struct comment="" name="sprtPayload" type="struct">
2277             <fields>
2278               <integer comment="" name="chan0MaxPayload" type="uint16"/>
2279               <integer comment="" name="chan2MaxPayload" type="uint16"/>
2280               <integer comment="" name="chan3MaxPayload" type="uint16"/>
2281               <integer comment="" name="chan2MaxWindow" type="uint16"/>
2282             </fields>
2283           </struct>
2284           <struct comment="" name="sse" type="struct">
2285             <fields>
2286               <integer comment="" name="standard" type="uint32"/>
2287               <integer comment="" name="vendor" type="uint32"/>
2288             </fields>
2289           </struct>
2290           <struct comment="" name="payloadParam" type="struct">
2291             <fields>
2292               <integer comment="" name="nse" type="uint8"/>
2293               <integer comment="" name="rfc2833" type="uint8"/>
2294               <integer comment="" name="sse" type="uint8"/>
2295               <integer comment="" name="v150sprt" type="uint8"/>
2296               <integer comment="" name="noaudio" type="uint8"/>
2297               <integer comment="" name="FutureUse1" type="uint8"/>
2298               <integer comment="" name="FutureUse2" type="uint8"/>
2299               <integer comment="" name="FutureUse3" type="uint8"/>
2300             </fields>
2301           </struct>
2302         </fields>
2303       </struct>
2304     </fields>
2305   </message>
2306   <enum name="PortHandling">
2307     <entries>
2308       <entry comment="" name="PortHandling_CLOSE_PORT" text="CLOSE_PORT" value="0x0000"/>
2309       <entry comment="" name="PortHandling_KEEP_PORT" text="KEEP_PORT" value="0x0001"/>
2310     </entries>
2311   </enum>
2312   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="StopMediaTransmissionMessage" opcode="0x008b" priority="send_immediate" type="MediaControl">
2313     <fields beginversion="0" endversion="22">
2314       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
2315       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
2316       <integer comment="CallId" name="callReference" type="uint32"/>
2317       <enum comment="" name="portHandlingFlag" subtype="PortHandling" type="uint32"/>
2318     </fields>
2319   </message>
2320   <enum name="CallType">
2321     <entries>
2322       <entry comment="" name="CallType_InBoundCall" text="InBoundCall" value="0x0001"/>
2323       <entry comment="" name="CallType_OutBoundCall" text="OutBoundCall" value="0x0002"/>
2324       <entry comment="" name="CallType_ForwardCall" text="ForwardCall" value="0x0003"/>
2325     </entries>
2326   </enum>
2327   <enum name="CallSecurityStatusType">
2328     <entries>
2329       <entry comment="" name="CallSecurityStatusType_Unknown" text="Unknown" value="0x0000"/>
2330       <entry comment="" name="CallSecurityStatusType_NotAuthenticated" text="NotAuthenticated" value="0x0001"/>
2331       <entry comment="" name="CallSecurityStatusType_Authenticated" text="Authenticated" value="0x0002"/>
2332       <entry comment="" name="CallSecurityStatusType_Encrypted" text="Encrypted" value="0x0003"/>
2333       <entry comment="" name="CallSecurityStatusType_Max" text="Max" value="0x0004"/>
2334     </entries>
2335   </enum>
2336   <bitfield name="RestrictInformationType">
2337     <entries>
2338       <entry comment="" name="RestrictInformationType_CallingPartyName" text="CallingPartyName" value="0x00000001"/>
2339       <entry comment="" name="RestrictInformationType_CallingPartyNumber" text="CallingPartyNumber" value="0x00000002"/>
2340       <entry comment="" name="RestrictInformationType_CallingParty" text="CallingParty" value="0x00000003"/>
2341       <entry comment="" name="RestrictInformationType_CalledPartyName" text="CalledPartyName" value="0x00000004"/>
2342       <entry comment="" name="RestrictInformationType_CalledPartyNumber" text="CalledPartyNumber" value="0x00000008"/>
2343       <entry comment="" name="RestrictInformationType_CalledParty" text="CalledParty" value="0x0000000c"/>
2344       <entry comment="" name="RestrictInformationType_OriginalCalledPartyName" text="OriginalCalledPartyName" value="0x00000010"/>
2345       <entry comment="" name="RestrictInformationType_OriginalCalledPartyNumber" text="OriginalCalledPartyNumber" value="0x00000020"/>
2346       <entry comment="" name="RestrictInformationType_OriginalCalledParty" text="OriginalCalledParty" value="0x00000030"/>
2347       <entry comment="" name="RestrictInformationType_LastRedirectPartyName" text="LastRedirectPartyName" value="0x00000040"/>
2348       <entry comment="" name="RestrictInformationType_LastRedirectPartyNumber" text="LastRedirectPartyNumber" value="0x00000080"/>
2349       <entry comment="" name="RestrictInformationType_LastRedirectParty" text="LastRedirectParty" value="0x000000c0"/>
2350       <entry comment="" name="RestrictInformationType_BitsReserved" text="BitsReserved" value="0xffffff00"/>
2351     </entries>
2352   </bitfield>
2353   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="CallInfoMessage" opcode="0x008f" priority="send_immediate" type="CallControl">
2354     <fields beginversion="0" endversion="22">
2355       <string comment="Calling Party Name" name="callingPartyName" size="40" type="char"/>
2356       <string comment="Calling Party Number" name="callingParty" size="24" type="char"/>
2357       <string comment="Called Party Name" name="calledPartyName" size="40" type="char"/>
2358       <string comment="CalledPartyNumber" name="calledParty" size="24" type="char"/>
2359       <integer comment="LineId" name="lineInstance" type="uint32"/>
2360       <integer comment="CallId" name="callReference" type="uint32"/>
2361       <enum comment="" name="callType" subtype="CallType" type="uint32"/>
2362       <string comment="Original Called Party Name" name="originalCalledPartyName" size="40" type="char"/>
2363       <string comment="Original Called Party Number" name="originalCalledParty" size="24" type="char"/>
2364       <string comment="Last Redirecting Party Name" name="lastRedirectingPartyName" size="40" type="char"/>
2365       <string comment="Last Redirecting Party Number" name="lastRedirectingParty" size="24" type="char"/>
2366       <integer comment="Original Called Party Redirect Reason" name="originalCdpnRedirectReason" type="uint32"/>
2367       <integer comment="Last Redirecting Reason" name="lastRedirectingReason" type="uint32"/>
2368       <string comment="Calling Party Voicemail Box Number" name="cgpnVoiceMailbox" size="24" type="char"/>
2369       <string comment="Called Party Voicemail Box Number" name="cdpnVoiceMailbox" size="24" type="char"/>
2370       <string comment="Original Called Party Voicemail Box Number" name="originalCdpnVoiceMailbox" size="24" type="char"/>
2371       <string comment="Last Redirecting Parties Voicemail Box Number" name="lastRedirectingVoiceMailbox" size="24" type="char"/>
2372       <integer comment="CallId" name="callInstance" type="uint32"/>
2373       <enum comment="" name="callSecurityStatus" subtype="CallSecurityStatusType" type="uint32"/>
2374       <bitfield comment="" name="partyPIRestrictionBits" size="uint32" subtype="RestrictInformationType" type="bitfield">
2375         <entries>
2376           <entry comment="" name="RestrictInformationType_CallingPartyName" text="CallingPartyName" value="0x00000001"/>
2377           <entry comment="" name="RestrictInformationType_CallingPartyNumber" text="CallingPartyNumber" value="0x00000002"/>
2378           <entry comment="" name="RestrictInformationType_CallingParty" text="CallingParty" value="0x00000003"/>
2379           <entry comment="" name="RestrictInformationType_CalledPartyName" text="CalledPartyName" value="0x00000004"/>
2380           <entry comment="" name="RestrictInformationType_CalledPartyNumber" text="CalledPartyNumber" value="0x00000008"/>
2381           <entry comment="" name="RestrictInformationType_CalledParty" text="CalledParty" value="0x0000000c"/>
2382           <entry comment="" name="RestrictInformationType_OriginalCalledPartyName" text="OriginalCalledPartyName" value="0x00000010"/>
2383           <entry comment="" name="RestrictInformationType_OriginalCalledPartyNumber" text="OriginalCalledPartyNumber" value="0x00000020"/>
2384           <entry comment="" name="RestrictInformationType_OriginalCalledParty" text="OriginalCalledParty" value="0x00000030"/>
2385           <entry comment="" name="RestrictInformationType_LastRedirectPartyName" text="LastRedirectPartyName" value="0x00000040"/>
2386           <entry comment="" name="RestrictInformationType_LastRedirectPartyNumber" text="LastRedirectPartyNumber" value="0x00000080"/>
2387           <entry comment="" name="RestrictInformationType_LastRedirectParty" text="LastRedirectParty" value="0x000000c0"/>
2388           <entry comment="" name="RestrictInformationType_BitsReserved" text="BitsReserved" value="0xffffff00"/>
2389         </entries>
2390       </bitfield>
2391       <code type="calling_and_called_party" use_param="callingParty,calledParty"/>
2392     </fields>
2393   </message>
2394   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="ForwardStatResMessage" opcode="0x0090" priority="send_immediate" request="0x0009" type="RegistrationAndManagement">
2395     <fields>
2396       <integer comment="" name="activeForward" type="uint32"/>
2397       <integer comment="" declare="yes" name="lineNumber" req_resp_key="1" type="uint32"/>
2398       <integer comment="" name="forwardAllActive" type="uint32"/>
2399       <string comment="" declare="yes" name="forwardAllDirnum" size="VariableDirnumSize" type="char"/>
2400       <integer comment="" name="forwardBusyActive" type="uint32"/>
2401       <string comment="" declare="yes" name="forwardBusyDirnum" size="VariableDirnumSize" type="char"/>
2402       <integer comment="" name="forwardNoAnswerActive" type="uint32"/>
2403       <string comment="" declare="yes" name="forwardNoAnswerlDirnum" size="VariableDirnumSize" type="char"/>
2404     </fields>
2405   </message>
2406   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="SpeedDialStatResMessage" opcode="0x0091" priority="send_immediate" request="0x000a" type="RegistrationAndManagement">
2407     <fields beginversion="0" endversion="22">
2408       <integer comment="" declare="yes" name="speedDialNumber" req_resp_key="1" type="uint32"/>
2409       <string comment="" name="speedDialDirNumber" size="24" type="char"/>
2410       <string comment="" name="speedDialDisplayName" size="40" type="char"/>
2411     </fields>
2412   </message>
2413   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="LineStatResMessage" opcode="0x0092" priority="send_immediate" request="0x000b" type="RegistrationAndManagement">
2414     <fields beginversion="0" endversion="22">
2415       <integer comment="" declare="yes" name="lineNumber" req_resp_key="1" type="uint32"/>
2416       <string comment="" name="lineDirNumber" size="24" type="char"/>
2417       <string comment="" name="lineFullyQualifiedDisplayName" size="40" type="char"/>
2418       <string comment="" name="lineTextLabel" size="40" type="char"/>
2419       <integer comment="" name="lineDisplayOptions" type="uint32"/>
2420     </fields>
2421   </message>
2422   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="ConfigStatResMessage" opcode="0x0093" priority="send_immediate" request="0x000c" type="RegistrationAndManagement">
2423     <fields beginversion="0" endversion="22">
2424       <struct comment="" name="sid" type="struct">
2425         <fields>
2426           <string comment="Device Name" name="DeviceName" size="16" type="char"/>
2427           <integer comment="User Id" name="reserved_for_future_use" type="uint32"/>
2428           <integer comment="Device Instance" name="instance" type="uint32"/>
2429         </fields>
2430       </struct>
2431       <string comment="" name="userName" size="40" type="char"/>
2432       <string comment="" name="serverName" size="40" type="char"/>
2433       <integer comment="" name="numberOfLines" type="uint32"/>
2434       <integer comment="" name="numberOfSpeedDials" type="uint32"/>
2435     </fields>
2436   </message>
2437   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="TimeDateResMessage" opcode="0x0094" priority="send_immediate" request="0x000d" type="RegistrationAndManagement">
2438     <fields beginversion="0" endversion="22">
2439       <struct comment="" name="timeDataInfo" subtype="Time" type="struct">
2440         <fields>
2441           <integer comment="" name="wYear" type="uint32"/>
2442           <integer comment="" name="wMonth" type="uint32"/>
2443           <integer comment="" name="wDayOfWeek" type="uint32"/>
2444           <integer comment="" name="wDay" type="uint32"/>
2445           <integer comment="" name="wHour" type="uint32"/>
2446           <integer comment="" name="wMinute" type="uint32"/>
2447           <integer comment="" name="wSecond" type="uint32"/>
2448           <integer comment="" name="wMilliseconds" type="uint32"/>
2449         </fields>
2450       </struct>
2451       <integer comment="" name="systemTime" type="uint32"/>
2452     </fields>
2453   </message>
2454   <enum name="SessionType">
2455     <entries>
2456       <entry comment="" name="SessionType_Chat" text="Chat" value="0x0001"/>
2457       <entry comment="" name="SessionType_Whiteboard" text="Whiteboard" value="0x0002"/>
2458       <entry comment="" name="SessionType_ApplicationSharing" text="ApplicationSharing" value="0x0004"/>
2459       <entry comment="" name="SessionType_FileTransfer" text="FileTransfer" value="0x0008"/>
2460       <entry comment="" name="SessionType_Video" text="Video" value="0x0010"/>
2461     </entries>
2462   </enum>
2463   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="event" name="StartSessionTransmissionMessage" opcode="0x0095" priority="send_immediate" type="IntraCCM">
2464     <fields>
2465       <ipv4or6 comment="ipaddress in big endian" endiannes="big" endianness="big" name="remoteIpAddr" subtype="IpAddress" type="ipaddr"/>
2466       <enum comment="" name="sessionType" subtype="SessionType" type="uint32"/>
2467     </fields>
2468   </message>
2469   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="event" name="StopSessionTransmissionMessage" opcode="0x0096" type="IntraCCM">
2470     <fields>
2471       <ipv4or6 comment="ipaddress in big endian" endiannes="big" endianness="big" name="remoteIpAddr" subtype="IpAddress" type="ipaddr"/>
2472       <enum comment="" name="sessionType" subtype="SessionType" type="uint32"/>
2473     </fields>
2474   </message>
2475   <enum name="ButtonType">
2476     <entries>
2477       <entry comment="" name="ButtonType_Unused" text="Unused" value="0x00"/>
2478       <entry comment="" name="ButtonType_LastNumberRedial" text="Last Number Redial" value="0x01"/>
2479       <entry comment="" name="ButtonType_SpeedDial" text="SpeedDial" value="0x02"/>
2480       <entry comment="" name="ButtonType_Hold" text="Hold" value="0x03"/>
2481       <entry comment="" name="ButtonType_Transfer" text="Transfer" value="0x04"/>
2482       <entry comment="" name="ButtonType_ForwardAll" text="Forward All" value="0x05"/>
2483       <entry comment="" name="ButtonType_ForwardBusy" text="Forward Busy" value="0x06"/>
2484       <entry comment="" name="ButtonType_ForwardNoAnswer" text="Forward No Answer" value="0x07"/>
2485       <entry comment="" name="ButtonType_Display" text="Display" value="0x08"/>
2486       <entry comment="" name="ButtonType_Line" text="Line" value="0x09"/>
2487       <entry comment="" name="ButtonType_T120Chat" text="T120 Chat" value="0x0A"/>
2488       <entry comment="" name="ButtonType_T120Whiteboard" text="T120 Whiteboard" value="0x0B"/>
2489       <entry comment="" name="ButtonType_T120ApplicationSharing" text="T120 Application Sharing" value="0x0C"/>
2490       <entry comment="" name="ButtonType_T120FileTransfer" text="T120 File Transfer" value="0x0D"/>
2491       <entry comment="" name="ButtonType_Video" text="Video" value="0x0E"/>
2492       <entry comment="" name="ButtonType_Voicemail" text="Voicemail" value="0x0F"/>
2493       <entry comment="" name="ButtonType_AnswerRelease" text="Answer Release" value="0x10"/>
2494       <entry comment="" name="ButtonType_AutoAnswer" text="Auto Answer" value="0x11"/>
2495       <entry comment="" name="ButtonType_Select" text="Select" value="0x12"/>
2496       <entry comment="" name="ButtonType_Feature" text="Feature" value="0x13"/>
2497       <entry comment="" name="ButtonType_ServiceURL" text="ServiceURL" value="0x14"/>
2498       <entry comment="" name="ButtonType_BusyLampFieldSpeeddial" text="BusyLampField Speeddial" value="0x15"/>
2499       <entry comment="" name="ButtonType_MaliciousCall" text="Malicious Call" value="0x1B"/>
2500       <entry comment="" name="ButtonType_GenericAppB1" text="Generic App B1" value="0x21"/>
2501       <entry comment="" name="ButtonType_GenericAppB2" text="Generic App B2" value="0x22"/>
2502       <entry comment="" name="ButtonType_GenericAppB3" text="Generic App B3" value="0x23"/>
2503       <entry comment="" name="ButtonType_GenericAppB4" text="Generic App B4" value="0x24"/>
2504       <entry comment="" name="ButtonType_GenericAppB5" text="Generic App B5" value="0x25"/>
2505       <entry comment="" name="ButtonType_MonitorMultiblink" text="Monitor/Multiblink" value="0x26"/>
2506       <entry comment="" name="ButtonType_MeetMeConference" text="Meet Me Conference" value="0x7B"/>
2507       <entry comment="" name="ButtonType_Conference" text="Conference" value="0x7D"/>
2508       <entry comment="" name="ButtonType_CallPark" text="Call Park" value="0x7E"/>
2509       <entry comment="" name="ButtonType_CallPickup" text="Call Pickup" value="0x7F"/>
2510       <entry comment="" name="ButtonType_GroupCallPickup" text="Group Call Pickup" value="0x80"/>
2511       <entry comment="" name="ButtonType_Mobility" text="Mobility" value="0x81"/>
2512       <entry comment="" name="ButtonType_DoNotDisturb" text="DoNotDisturb" value="0x82"/>
2513       <entry comment="" name="ButtonType_ConfList" text="ConfList" value="0x83"/>
2514       <entry comment="" name="ButtonType_RemoveLastParticipant" text="RemoveLastParticipant" value="0x84"/>
2515       <entry comment="" name="ButtonType_QRT" text="QRT" value="0x85"/>
2516       <entry comment="" name="ButtonType_CallBack" text="CallBack" value="0x86"/>
2517       <entry comment="" name="ButtonType_OtherPickup" text="OtherPickup" value="0x87"/>
2518       <entry comment="" name="ButtonType_VideoMode" text="VideoMode" value="0x88"/>
2519       <entry comment="" name="ButtonType_NewCall" text="NewCall" value="0x89"/>
2520       <entry comment="" name="ButtonType_EndCall" text="EndCall" value="0x8A"/>
2521       <entry comment="" name="ButtonType_HLog" text="HLog" value="0x8B"/>
2522       <entry comment="" name="ButtonType_Queuing" text="Queuing" value="0x8F"/>
2523       <entry comment="" name="ButtonType_TestE" text="Test E" value="0xC0"/>
2524       <entry comment="" name="ButtonType_TestF" text="Test F" value="0xC1"/>
2525       <entry comment="" name="ButtonType_TestI" text="Test I" value="0xC4"/>
2526       <entry comment="" name="ButtonType_Messages" text="Messages" value="0xC2"/>
2527       <entry comment="" name="ButtonType_Directory" text="Directory" value="0xC3"/>
2528       <entry comment="" name="ButtonType_Application" text="Application" value="0xC5"/>
2529       <entry comment="" name="ButtonType_Headset" text="Headset" value="0xC6"/>
2530       <entry comment="" name="ButtonType_Keypad" text="Keypad" value="0xF0"/>
2531       <entry comment="" name="ButtonType_Aec" text="Aec" value="0xFD"/>
2532       <entry comment="" name="ButtonType_Undefined" text="Undefined" value="0xFF"/>
2533     </entries>
2534   </enum>
2535   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="ButtonTemplateResMessage" opcode="0x0097" request="0x000e" type="RegistrationAndManagement">
2536     <fields beginversion="0" endversion="22">
2537       <struct comment="" name="buttonTemplate" subtype="ButtonTemplate" type="struct">
2538         <fields>
2539           <integer comment="" name="buttonOffset" type="uint32"/>
2540           <integer comment="" name="buttonCount" type="uint32"/>
2541           <integer comment="" declare="yes" name="totalButtonCount" type="uint32"/>
2542           <struct comment="" maxsize="42" name="definition" size_fieldname="totalButtonCount" subtype="ButtonDefinition" type="struct">
2543             <fields>
2544               <integer comment="" name="instanceNumber" type="uint8"/>
2545               <enum comment="" name="buttonDefinition" subtype="ButtonType" type="uint8"/>
2546             </fields>
2547           </struct>
2548         </fields>
2549       </struct>
2550     </fields>
2551   </message>
2552   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="VersionResMessage" opcode="0x0098" request="0x000f" type="RegistrationAndManagement">
2553     <fields beginversion="0" endversion="22">
2554       <string comment="" name="versionStr" size="16" type="char"/>
2555     </fields>
2556   </message>
2557   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="DisplayTextMessage" opcode="0x0099" type="CallControl">
2558     <fields beginversion="0" endversion="22">
2559       <string comment="" name="text" size="32" type="char"/>
2560     </fields>
2561   </message>
2562   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="ClearDisplay" opcode="0x009a" type="CallControl"/>
2563   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="CapabilitiesReq" opcode="0x009b" type="RegistrationAndManagement"/>
2564   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="RegisterRejectMessage" opcode="0x009d" type="RegistrationAndManagement">
2565     <fields beginversion="0" endversion="22">
2566       <string comment="" name="text" size="32" type="char"/>
2567     </fields>
2568   </message>
2569   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="ServerResMessage" opcode="0x009e" request="0x0012" type="RegistrationAndManagement">
2570     <fields>
2571       <struct comment="" name="server" size="5" subtype="ServerIdentifier" type="struct">
2572         <fields>
2573           <string comment="" name="ServerName" size="48" type="char"/>
2574         </fields>
2575       </struct>
2576       <integer comment="" name="serverTcpListenPort" size="5" type="uint32"/>
2577     </fields>
2578     <fields size_lt="293">
2579       <struct comment="Server IPv4 Address" name="serverIpAddr" size="5" subtype="IPv4Address" type="struct">
2580         <fields>
2581           <ip comment="ipaddress in big endian" endianness="big" name="stationIpAddr" type="ipv4"/>
2582         </fields>
2583       </struct>
2584     </fields>
2585     <fields beginversion="0" endversion="22" size_gt="292">
2586       <struct comment="Server IP Address (IPv4or6)" name="serverIpAddr" size="5" subtype="IPV4orV6Address" type="struct">
2587         <fields>
2588           <ipv4or6 comment="ipaddress in big endian" endianness="big" name="stationIpAddr" size="16" subtype="uint8" type="ipaddr"/>
2589         </fields>
2590       </struct>
2591     </fields>
2592   </message>
2593   <enum name="DeviceResetType">
2594     <entries>
2595       <entry comment="" name="DeviceResetType_RESET" text="RESET" value="0x0001"/>
2596       <entry comment="" name="DeviceResetType_RESTART" text="RESTART" value="0x0002"/>
2597       <entry comment="" name="DeviceResetType_APPLY_CONFIG" text="APPLY_CONFIG" value="0x0003"/>
2598     </entries>
2599   </enum>
2600   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="Reset" opcode="0x009f" type="RegistrationAndManagement">
2601     <fields beginversion="0" endversion="22">
2602       <enum comment="" name="resetType" subtype="DeviceResetType" type="uint32"/>
2603     </fields>
2604   </message>
2605   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="KeepAliveAckMessage" opcode="0x0100" request="0x0000" type="RegistrationAndManagement"/>
2606   <enum name="Media_EchoCancellation">
2607     <entries>
2608       <entry comment="" name="Media_EchoCancellation_Off" text="Media_EchoCancellation_Off" value="0x0000"/>
2609       <entry comment="" name="Media_EchoCancellation_On" text="Media_EchoCancellation_On" value="0x0001"/>
2610     </entries>
2611   </enum>
2612   <message comment="" direction="pbx2dev" dynamic="no" msgtype="request" name="StartMulticastMediaReceptionMessage" opcode="0x0101" priority="send_immediate" type="MediaControl">
2613     <fields>
2614       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
2615       <integer comment="PassThrough PartyId" declare="yes" name="passThroughPartyId" req_resp_key="1" type="uint32"/>
2616       <ipv4or6 comment="ipaddress in big endian" endiannes="big" endianness="big" name="multicastIpAddr" subtype="IpAddress" type="ipaddr" make_additional_info="yes"/>
2617       <integer comment="" name="multicastPortNumber" subtype="uint32" type="ipport" use_param="multicastIpAddr" make_additional_info="yes"/>
2618       <integer comment="" name="milliSecondPacketSize" type="uint32"/>
2619       <enum comment="" declare="yes" name="compressionType" subtype="Media_PayloadType" type="uint32"/>
2620       <struct comment="" name="qualifierIn" subtype="Media_QualifierIncoming" type="struct">
2621         <fields>
2622           <enum comment="" name="ecValue" subtype="Media_EchoCancellation" type="uint32"/>
2623         </fields>
2624         <fields beginversion="0" endversion="10">
2625           <enum comment="" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
2626         </fields>
2627         <fields beginversion="11" endversion="22">
2628           <union comment="" lookup_guide="compressionType" name="codecParamsUnion" subtype="Media_QualifierIncomingUnion" type="union">
2629             <fields>
2630               <enum comment="" lookup_eq="Media_Payload_G7231" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
2631               <struct comment="" lookup_eq="*" name="codecParams" subtype="CodecParameters" type="struct">
2632                 <fields>
2633                   <integer comment="" name="codecMode" type="uint8"/>
2634                   <integer comment="" name="dynamicPayload" type="uint8"/>
2635                   <integer comment="" name="codecParam1" type="uint8"/>
2636                   <integer comment="" name="codecParam2" type="uint8"/>
2637                 </fields>
2638               </struct>
2639             </fields>
2640           </union>
2641         </fields>
2642       </struct>
2643       <integer comment="CallId" name="callReference" type="uint32"/>
2644     </fields>
2645   </message>
2646   <message comment="" direction="pbx2dev" dynamic="no" msgtype="request" name="StartMulticastMediaTransmissionMessage" opcode="0x0102" priority="send_immediate" type="MediaControl">
2647     <fields>
2648       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
2649       <integer comment="PassThrough PartyId" declare="yes" name="passThroughPartyId" req_resp_key="1" type="uint32"/>
2650       <ipv4or6 comment="ipaddress in big endian" endiannes="big" endianness="big" name="multicastIpAddr" subtype="IpAddress" type="ipaddr" make_additional_info="yes"/>
2651       <integer comment="" name="multicastPortNumber" subtype="uint32" type="ipport" use_param="multicastIpAddr" make_additional_info="yes"/>
2652       <integer comment="" name="milliSecondPacketSize" type="uint32"/>
2653       <enum comment="" declare="yes" name="compressionType" subtype="Media_PayloadType" type="uint32"/>
2654       <struct comment="" name="qualifierOut" subtype="Media_QualifierOutgoing" type="struct">
2655         <fields>
2656           <integer comment="" name="precedenceValue" type="uint32"/>
2657           <enum comment="" name="ssValue" subtype="Media_SilenceSuppression" type="uint32"/>
2658           <integer comment="" name="maxFramesPerPacket" type="uint16"/>
2659           <integer comment="Unused/Padding" name="padding" type="uint16"/>
2660         </fields>
2661         <fields beginversion="0" endversion="10">
2662           <enum comment="" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
2663         </fields>
2664         <fields beginversion="11" endversion="22">
2665           <union comment="" lookup_guide="compressionType" name="codecParamsUnion" subtype="Media_QualifierOutgoingUnion" type="union">
2666             <fields>
2667               <enum comment="" lookup_eq="Media_Payload_G7231" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
2668               <struct comment="" lookup_eq="*" name="codecParams" subtype="CodecParameters" type="struct">
2669                 <fields>
2670                   <integer comment="" name="codecMode" type="uint8"/>
2671                   <integer comment="" name="dynamicPayload" type="uint8"/>
2672                   <integer comment="" name="codecParam1" type="uint8"/>
2673                   <integer comment="" name="codecParam2" type="uint8"/>
2674                 </fields>
2675               </struct>
2676             </fields>
2677           </union>
2678         </fields>
2679       </struct>
2680       <integer comment="CallId" name="callReference" type="uint32"/>
2681     </fields>
2682   </message>
2683   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="StopMulticastMediaReceptionMessage" opcode="0x0103" priority="send_immediate" type="MediaControl">
2684     <fields beginversion="0" endversion="22">
2685       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
2686       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
2687       <integer comment="CallId" name="callReference" type="uint32"/>
2688     </fields>
2689   </message>
2690   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="StopMulticastMediaTransmissionMessage" opcode="0x0104" priority="send_immediate" type="MediaControl">
2691     <fields beginversion="0" endversion="22">
2692       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
2693       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
2694       <integer comment="CallId" name="callReference" type="uint32"/>
2695     </fields>
2696   </message>
2697   <message comment="" direction="pbx2dev" dynamic="no" msgtype="request" name="OpenReceiveChannelMessage" opcode="0x0105" priority="send_immediate" type="MediaControl">
2698     <fields>
2699       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
2700       <integer comment="PassThrough PartyId" declare="yes" name="passThroughPartyId" req_resp_key="1" type="uint32"/>
2701       <integer comment="" name="milliSecondPacketSize" type="uint32"/>
2702       <enum comment="" declare="yes" name="compressionType" subtype="Media_PayloadType" type="uint32"/>
2703       <struct comment="" name="qualifierIn" subtype="Media_QualifierIncoming" type="struct">
2704         <fields>
2705           <enum comment="" name="ecValue" subtype="Media_EchoCancellation" type="uint32"/>
2706         </fields>
2707         <fields beginversion="0" endversion="10">
2708           <enum comment="" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
2709         </fields>
2710         <fields beginversion="11" endversion="22">
2711           <union comment="" lookup_guide="compressionType" name="codecParamsUnion" subtype="Media_QualifierIncomingUnion" type="union">
2712             <fields>
2713               <enum comment="" lookup_eq="Media_Payload_G7231" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
2714               <struct comment="" lookup_eq="*" name="codecParams" subtype="CodecParameters" type="struct">
2715                 <fields>
2716                   <integer comment="" name="codecMode" type="uint8"/>
2717                   <integer comment="" name="dynamicPayload" type="uint8"/>
2718                   <integer comment="" name="codecParam1" type="uint8"/>
2719                   <integer comment="" name="codecParam2" type="uint8"/>
2720                 </fields>
2721               </struct>
2722             </fields>
2723           </union>
2724         </fields>
2725       </struct>
2726       <integer comment="CallId" name="callReference" type="uint32"/>
2727       <struct comment="" name="mRxMediaEncryptionKeyInfo" subtype="MediaEncryptionKeyInfo" type="struct">
2728         <fields>
2729           <enum comment="" name="algorithmID" subtype="MediaEncryptionAlgorithmType" type="uint32"/>
2730           <integer comment="" declare="yes" name="keylen" type="uint16"/>
2731           <integer comment="" declare="yes" name="saltlen" type="uint16"/>
2732           <integer comment="" maxsize="16" name="key" size_fieldname="keylen" type="uint8"/>
2733           <integer comment="" maxsize="16" name="salt" size_fieldname="saltlen" type="uint8"/>
2734           <integer comment="" name="isMKIPresent" type="uint32"/>
2735           <integer comment="" name="keyDerivationRate" type="uint32"/>
2736         </fields>
2737       </struct>
2738       <integer comment="" name="streamPassThroughId" type="uint32"/>
2739       <integer comment="" name="associatedStreamId" type="uint32"/>
2740       <integer comment="" name="RFC2833PayloadType" type="uint32"/>
2741       <integer comment="" name="dtmfType" type="uint32"/>
2742     </fields>
2743     <fields beginversion="11">
2744       <integer comment="" name="mixingMode" type="uint32"/>
2745       <integer comment="" name="partyDirection" type="uint32"/>
2746       <ipv4or6 comment="" name="sourceIpAddr" subtype="IPV4orV6Address" type="ipaddr" make_additional_info="yes"/>
2747       <integer comment="" name="sourcePortNumber" subtype="uint32" type="ipport" use_param="sourceIpAddr" make_additional_info="yes"/>
2748     </fields>
2749     <fields beginversion="16">
2750       <enum comment="" name="requestedIpAddrType" subtype="IpAddrType" type="uint32"/>
2751     </fields>
2752     <fields beginversion="17" size_gt="132">
2753       <integer comment="" name="audioLevelAdjustment" type="int32"/>
2754     </fields>
2755     <fields beginversion="21" endversion="22" size_gt="132">
2756       <struct comment="" name="latentCapsInfo" type="struct">
2757         <fields>
2758           <integer comment="" name="active" type="uint32"/>
2759           <struct comment="" name="modemRelay" type="struct">
2760             <fields>
2761               <integer comment="" name="capAndVer" type="uint32"/>
2762               <integer comment="" name="modAnd2833" type="uint32"/>
2763             </fields>
2764           </struct>
2765           <struct comment="" name="sprtPayload" type="struct">
2766             <fields>
2767               <integer comment="" name="chan0MaxPayload" type="uint16"/>
2768               <integer comment="" name="chan2MaxPayload" type="uint16"/>
2769               <integer comment="" name="chan3MaxPayload" type="uint16"/>
2770               <integer comment="" name="chan2MaxWindow" type="uint16"/>
2771             </fields>
2772           </struct>
2773           <struct comment="" name="sse" type="struct">
2774             <fields>
2775               <integer comment="" name="standard" type="uint32"/>
2776               <integer comment="" name="vendor" type="uint32"/>
2777             </fields>
2778           </struct>
2779           <struct comment="" name="payloadParam" type="struct">
2780             <fields>
2781               <integer comment="" name="nse" type="uint8"/>
2782               <integer comment="" name="rfc2833" type="uint8"/>
2783               <integer comment="" name="sse" type="uint8"/>
2784               <integer comment="" name="v150sprt" type="uint8"/>
2785               <integer comment="" name="noaudio" type="uint8"/>
2786               <integer comment="" name="FutureUse1" type="uint8"/>
2787               <integer comment="" name="FutureUse2" type="uint8"/>
2788               <integer comment="" name="FutureUse3" type="uint8"/>
2789             </fields>
2790           </struct>
2791         </fields>
2792       </struct>
2793     </fields>
2794   </message>
2795   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="CloseReceiveChannelMessage" opcode="0x0106" priority="send_immediate" type="MediaControl">
2796     <fields beginversion="0" endversion="22">
2797       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
2798       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
2799       <integer comment="CallId" name="callReference" type="uint32"/>
2800       <enum comment="" name="portHandlingFlag" subtype="PortHandling" type="uint32"/>
2801     </fields>
2802   </message>
2803   <message comment="" direction="pbx2dev" dynamic="no" msgtype="request" name="ConnectionStatisticsReqMessage" opcode="0x0107" type="CallControl">
2804     <fields endversion="17" fixed="yes">
2805       <string comment="" name="directoryNum" size="24" type="char"/>
2806     </fields>
2807     <fields beginversion="18" endversion="22" fixed="yes">
2808       <string comment="" name="directoryNum" size="28" type="char"/>
2809     </fields>
2810     <fields>
2811       <integer comment="CallId" declare="yes" name="callReference" req_resp_key="1" type="uint32"/>
2812       <enum comment="" name="statsProcessingMode" subtype="StatsProcessingType" type="uint32"/>
2813     </fields>
2814   </message>
2815   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="SoftKeyTemplateResMessage" opcode="0x0108" request="0x0028" type="RegistrationAndManagement">
2816     <fields beginversion="0" endversion="22">
2817       <struct comment="" name="softKeyTemplate" subtype="SoftKeyTemplate" type="struct">
2818         <fields>
2819           <integer comment="" name="softKeyOffset" type="uint32"/>
2820           <integer comment="" name="softKeyCount" type="uint32"/>
2821           <integer comment="" declare="yes" name="totalSoftKeyCount" type="uint32"/>
2822           <struct comment="" maxsize="32" name="definition" size_fieldname="totalSoftKeyCount" subtype="SoftKeyDefinition" type="struct">
2823             <fields>
2824               <string comment="" name="softKeyLabel" size="16" subtype="DisplayLabel" type="char"/>
2825               <enum comment="" name="softKeyEvent" subtype="SoftKeyEvent" type="uint32"/>
2826             </fields>
2827           </struct>
2828         </fields>
2829       </struct>
2830     </fields>
2831   </message>
2832   <enum name="SoftKeyTemplateIndex">
2833     <entries>
2834       <entry name="SoftKeyTemplateIndex_Redial" text="Redial" value="1"/>
2835       <entry name="SoftKeyTemplateIndex_NewCall" text="NewCall" value="2"/>
2836       <entry name="SoftKeyTemplateIndex_Hold" text="Hold" value="3"/>
2837       <entry name="SoftKeyTemplateIndex_Transfer" text="Transfer" value="4"/>
2838       <entry name="SoftKeyTemplateIndex_CfwdAll" text="CfwdAll" value="5"/>
2839       <entry name="SoftKeyTemplateIndex_CfwdBusy" text="CfwdBusy" value="6"/>
2840       <entry name="SoftKeyTemplateIndex_CfwdNoAnswer" text="CfwdNoAnswer" value="7"/>
2841       <entry name="SoftKeyTemplateIndex_BackSpace" text="BackSpace" value="8"/>
2842       <entry name="SoftKeyTemplateIndex_EndCall" text="EndCall" value="9"/>
2843       <entry name="SoftKeyTemplateIndex_Resume" text="Resume" value="10"/>
2844       <entry name="SoftKeyTemplateIndex_Answer" text="Answer" value="11"/>
2845       <entry name="SoftKeyTemplateIndex_Info" text="Info" value="12"/>
2846       <entry name="SoftKeyTemplateIndex_Confrn" text="Confrn" value="13"/>
2847       <entry name="SoftKeyTemplateIndex_Park" text="Park" value="14"/>
2848       <entry name="SoftKeyTemplateIndex_Join" text="Join" value="15"/>
2849       <entry name="SoftKeyTemplateIndex_MeetMe" text="MeetMe" value="16"/>
2850       <entry name="SoftKeyTemplateIndex_PickUp" text="PickUp" value="17"/>
2851       <entry name="SoftKeyTemplateIndex_GrpPickup" text="GrpPickup" value="18"/>
2852       <entry name="SoftKeyTemplateIndex_Monitor" text="Monitor" value="19"/>
2853       <entry name="SoftKeyTemplateIndex_CallBack" text="CallBack" value="20"/>
2854       <entry name="SoftKeyTemplateIndex_Barge" text="Barge" value="21"/>
2855       <entry name="SoftKeyTemplateIndex_DND" text="DND" value="22"/>
2856       <entry name="SoftKeyTemplateIndex_ConfList" text="ConfList" value="23"/>
2857       <entry name="SoftKeyTemplateIndex_Select" text="Select" value="24"/>
2858       <entry name="SoftKeyTemplateIndex_Private" text="Private" value="25"/>
2859       <entry name="SoftKeyTemplateIndex_Trnsfvm" text="Transfer Voicemail" value="26"/>
2860       <entry name="SoftKeyTemplateIndex_DirTrfr" text="Direct Transfer" value="27"/>
2861       <entry name="SoftKeyTemplateIndex_IDivert" text="Immediate Divert" value="28"/>
2862       <entry name="SoftKeyTemplateIndex_VideoMode" text="Video Mode" value="29"/>
2863       <entry name="SoftKeyTemplateIndex_Intrcpt" text="Intercept" value="30"/>
2864       <entry name="SoftKeyTemplateIndex_Empty" text="Empty" value="31"/>
2865       <entry name="SoftKeyTemplateIndex_Dial" text="Dial" value="32"/>
2866       <entry name="SoftKeyTemplateIndex_CBarge" text="Conference Barge" value="33"/>
2867     </entries>
2868   </enum>
2869   <enum name="SoftKeyInfoIndex">
2870     <entries>
2871       <entry name="SoftKeyInfoIndex_Redial" text="Redial" value="301"/>
2872       <entry name="SoftKeyInfoIndex_NewCall" text="NewCall" value="302"/>
2873       <entry name="SoftKeyInfoIndex_Hold" text="Hold" value="303"/>
2874       <entry name="SoftKeyInfoIndex_Transfer" text="Transfer" value="304"/>
2875       <entry name="SoftKeyInfoIndex_CfwdAll" text="CfwdAll" value="305"/>
2876       <entry name="SoftKeyInfoIndex_CfwdBusy" text="CfwdBusy" value="306"/>
2877       <entry name="SoftKeyInfoIndex_CfwdNoAnswer" text="CfwdNoAnswer" value="307"/>
2878       <entry name="SoftKeyInfoIndex_BackSpace" text="BackSpace" value="308"/>
2879       <entry name="SoftKeyInfoIndex_EndCall" text="EndCall" value="309"/>
2880       <entry name="SoftKeyInfoIndex_Resume" text="Resume" value="310"/>
2881       <entry name="SoftKeyInfoIndex_Answer" text="Answer" value="311"/>
2882       <entry name="SoftKeyInfoIndex_Info" text="Info" value="312"/>
2883       <entry name="SoftKeyInfoIndex_Confrn" text="Confrn" value="313"/>
2884       <entry name="SoftKeyInfoIndex_Park" text="Park" value="314"/>
2885       <entry name="SoftKeyInfoIndex_Join" text="Join" value="315"/>
2886       <entry name="SoftKeyInfoIndex_MeetMe" text="MeetMe" value="316"/>
2887       <entry name="SoftKeyInfoIndex_PickUp" text="PickUp" value="317"/>
2888       <entry name="SoftKeyInfoIndex_GrpPickup" text="GrpPickup" value="318"/>
2889       <entry name="SoftKeyInfoIndex_Monitor" text="Monitor" value="319"/>
2890       <entry name="SoftKeyInfoIndex_CallBack" text="CallBack" value="320"/>
2891       <entry name="SoftKeyInfoIndex_Barge" text="Barge" value="321"/>
2892       <entry name="SoftKeyInfoIndex_DND" text="DND" value="322"/>
2893       <entry name="SoftKeyInfoIndex_ConfList" text="ConfList" value="323"/>
2894       <entry name="SoftKeyInfoIndex_Select" text="Select" value="324"/>
2895       <entry name="SoftKeyInfoIndex_Private" text="Private" value="325"/>
2896       <entry name="SoftKeyInfoIndex_Trnsfvm" text="Transfer Voicemail" value="326"/>
2897       <entry name="SoftKeyInfoIndex_DirTrfr" text="Direct Transfer" value="327"/>
2898       <entry name="SoftKeyInfoIndex_IDivert" text="Immediate Divert" value="328"/>
2899       <entry name="SoftKeyInfoIndex_VideoMode" text="Video Mode" value="329"/>
2900       <entry name="SoftKeyInfoIndex_Intrcpt" text="Intercept" value="330"/>
2901       <entry name="SoftKeyInfoIndex_Empty" text="Empty" value="331"/>
2902       <entry name="SoftKeyInfoIndex_Dial" text="Dial" value="332"/>
2903       <entry name="SoftKeyInfoIndex_CBarge" text="Conference Barge" value="333"/>
2904     </entries>
2905   </enum>
2906   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="SoftKeySetResMessage" opcode="0x0109" request="0x0025" type="RegistrationAndManagement">
2907     <fields beginversion="0" endversion="22">
2908       <struct comment="" name="softKeySets" subtype="SoftKeySets" type="struct">
2909         <fields>
2910           <integer comment="" name="softKeySetOffset" type="uint32"/>
2911           <integer comment="" name="softKeySetCount" type="uint32"/>
2912           <integer comment="" declare="yes" name="totalSoftKeySetCount" type="uint32"/>
2913           <struct comment="" maxsize="16" name="definition" size_fieldname="totalSoftKeySetCount" subtype="SoftKeySetDefinition" type="struct">
2914             <fields>
2915               <enum comment="" name="softKeyTemplateIndex" size="16" subtype="SoftKeyTemplateIndex" type="uint8"/>
2916               <enum comment="" name="softKeyInfoIndex" size="16" subtype="SoftKeyInfoIndex" type="uint16"/>
2917             </fields>
2918           </struct>
2919         </fields>
2920       </struct>
2921     </fields>
2922   </message>
2923   <bitfield name="SoftKeyMask">
2924     <entries>
2925       <entry comment="" name="SoftKeyMask_SoftKey1" text="SoftKey1" value="0x0001"/>
2926       <entry comment="" name="SoftKeyMask_SoftKey2" text="SoftKey2" value="0x0002"/>
2927       <entry comment="" name="SoftKeyMask_SoftKey3" text="SoftKey3" value="0x0004"/>
2928       <entry comment="" name="SoftKeyMask_SoftKey4" text="SoftKey4" value="0x0008"/>
2929       <entry comment="" name="SoftKeyMask_SoftKey5" text="SoftKey5" value="0x0010"/>
2930       <entry comment="" name="SoftKeyMask_SoftKey6" text="SoftKey6" value="0x0020"/>
2931       <entry comment="" name="SoftKeyMask_SoftKey7" text="SoftKey7" value="0x0040"/>
2932       <entry comment="" name="SoftKeyMask_SoftKey8" text="SoftKey8" value="0x0080"/>
2933       <entry comment="" name="SoftKeyMask_SoftKey9" text="SoftKey9" value="0x0100"/>
2934       <entry comment="" name="SoftKeyMask_SoftKey10" text="SoftKey10" value="0x0200"/>
2935       <entry comment="" name="SoftKeyMask_SoftKey11" text="SoftKey11" value="0x0400"/>
2936       <entry comment="" name="SoftKeyMask_SoftKey12" text="SoftKey12" value="0x0800"/>
2937       <entry comment="" name="SoftKeyMask_SoftKey13" text="SoftKey13" value="0x1000"/>
2938       <entry comment="" name="SoftKeyMask_SoftKey14" text="SoftKey14" value="0x2000"/>
2939       <entry comment="" name="SoftKeyMask_SoftKey15" text="SoftKey15" value="0x4000"/>
2940       <entry comment="" name="SoftKeyMask_SoftKey16" text="SoftKey16" value="0x8000"/>
2941     </entries>
2942   </bitfield>
2943   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="SelectSoftKeysMessage" opcode="0x0110" type="RegistrationAndManagement">
2944     <fields beginversion="0" endversion="22">
2945       <integer comment="LineId" name="lineInstance" type="uint32"/>
2946       <integer comment="CallId" name="callReference" type="uint32"/>
2947       <enum comment="" name="softKeySetIndex" subtype="SoftKeySet" type="uint32"/>
2948       <bitfield comment="" name="validKeyMask" size="uint32" subtype="SoftKeyMask" type="bitfield">
2949         <entries>
2950           <entry comment="" name="SoftKeyMask_SoftKey1" text="SoftKey1" value="0x00000001"/>
2951           <entry comment="" name="SoftKeyMask_SoftKey2" text="SoftKey2" value="0x00000002"/>
2952           <entry comment="" name="SoftKeyMask_SoftKey3" text="SoftKey3" value="0x00000004"/>
2953           <entry comment="" name="SoftKeyMask_SoftKey4" text="SoftKey4" value="0x00000008"/>
2954           <entry comment="" name="SoftKeyMask_SoftKey5" text="SoftKey5" value="0x00000010"/>
2955           <entry comment="" name="SoftKeyMask_SoftKey6" text="SoftKey6" value="0x00000020"/>
2956           <entry comment="" name="SoftKeyMask_SoftKey7" text="SoftKey7" value="0x00000040"/>
2957           <entry comment="" name="SoftKeyMask_SoftKey8" text="SoftKey8" value="0x00000080"/>
2958           <entry comment="" name="SoftKeyMask_SoftKey9" text="SoftKey9" value="0x00000100"/>
2959           <entry comment="" name="SoftKeyMask_SoftKey10" text="SoftKey10" value="0x00000200"/>
2960           <entry comment="" name="SoftKeyMask_SoftKey11" text="SoftKey11" value="0x00000400"/>
2961           <entry comment="" name="SoftKeyMask_SoftKey12" text="SoftKey12" value="0x00000800"/>
2962           <entry comment="" name="SoftKeyMask_SoftKey13" text="SoftKey13" value="0x00001000"/>
2963           <entry comment="" name="SoftKeyMask_SoftKey14" text="SoftKey14" value="0x00002000"/>
2964           <entry comment="" name="SoftKeyMask_SoftKey15" text="SoftKey15" value="0x00004000"/>
2965           <entry comment="" name="SoftKeyMask_SoftKey16" text="SoftKey16" value="0x00008000"/>
2966         </entries>
2967       </bitfield>
2968     </fields>
2969   </message>
2970   <enum name="DCallState">
2971     <entries>
2972       <entry comment="" name="DCallState_Idle" text="Idle" value="0x0000"/>
2973       <entry comment="" name="DCallState_OffHook" text="OffHook" value="0x0001"/>
2974       <entry comment="" name="DCallState_OnHook" text="OnHook" value="0x0002"/>
2975       <entry comment="" name="DCallState_RingOut" text="RingOut" value="0x0003"/>
2976       <entry comment="" name="DCallState_RingIn" text="RingIn" value="0x0004"/>
2977       <entry comment="" name="DCallState_Connected" text="Connected" value="0x0005"/>
2978       <entry comment="" name="DCallState_Busy" text="Busy" value="0x0006"/>
2979       <entry comment="" name="DCallState_Congestion" text="Congestion" value="0x0007"/>
2980       <entry comment="" name="DCallState_Hold" text="Hold" value="0x0008"/>
2981       <entry comment="" name="DCallState_CallWaiting" text="CallWaiting" value="0x0009"/>
2982       <entry comment="" name="DCallState_CallTransfer" text="CallTransfer" value="0x000a"/>
2983       <entry comment="" name="DCallState_CallPark" text="CallPark" value="0x000b"/>
2984       <entry comment="" name="DCallState_Proceed" text="Proceed" value="0x000c"/>
2985       <entry comment="" name="DCallState_CallRemoteMultiline" text="CallRemoteMultiline" value="0x000d"/>
2986       <entry comment="" name="DCallState_InvalidNumber" text="InvalidNumber" value="0x000e"/>
2987       <entry comment="" name="DCallState_HoldRevert" text="HoldRevert" value="0x000f"/>
2988       <entry comment="" name="DCallState_Whisper" text="Whisper" value="0x0010"/>
2989       <entry comment="" name="DCallState_RemoteHold" text="RemoteHold" value="0x0011"/>
2990       <entry comment="" name="DCallState_MaxState" text="MaxState" value="0x0012"/>
2991     </entries>
2992   </enum>
2993   <enum name="CallPrivacy">
2994     <entries>
2995       <entry comment="" name="CallPrivacy_None" text="None" value="0x0000"/>
2996       <entry comment="" name="CallPrivacy_Limited" text="Limited" value="0x0001"/>
2997       <entry comment="" name="CallPrivacy_Full" text="Full" value="0x0002"/>
2998     </entries>
2999   </enum>
3000   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="CallStateMessage" opcode="0x0111" type="CallControl">
3001     <fields beginversion="0" endversion="22">
3002       <enum comment="" name="callState" subtype="DCallState" type="uint32" make_additional_info="yes"/>
3003       <integer comment="LineId" name="lineInstance" type="uint32"/>
3004       <integer comment="CallId" name="callReference" type="uint32"/>
3005       <enum comment="" name="privacy" subtype="CallPrivacy" type="uint32"/>
3006       <struct comment="" name="precedence" type="struct">
3007         <fields>
3008           <integer comment="Precedence Level, MLPP priorities" name="precedenceLevel" type="uint32"/>
3009           <integer comment="Precedence Domain" name="precedenceDomain" type="uint32"/>
3010         </fields>
3011       </struct>
3012     </fields>
3013   </message>
3014   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="DisplayPromptStatusMessage" opcode="0x0112" type="CallControl">
3015     <fields beginversion="0" endversion="22">
3016       <integer comment="" name="timeOutValue" type="uint32"/>
3017       <string comment="" name="promptStatus" size="32" subtype="DisplayLabel" type="char"/>
3018       <integer comment="LineId" name="lineInstance" type="uint32"/>
3019       <integer comment="CallId" name="callReference" type="uint32"/>
3020     </fields>
3021   </message>
3022   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="ClearPromptStatusMessage" opcode="0x0113" type="CallControl">
3023     <fields beginversion="0" endversion="22">
3024       <integer comment="LineId" name="lineInstance" type="uint32"/>
3025       <integer comment="CallId" name="callReference" type="uint32"/>
3026     </fields>
3027   </message>
3028   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="DisplayNotifyMessage" opcode="0x0114" type="CallControl">
3029     <fields beginversion="0" endversion="22">
3030       <integer comment="" name="timeOutValue" type="uint32"/>
3031       <string comment="" name="notify" size="32" subtype="DisplayLabel" type="char"/>
3032     </fields>
3033   </message>
3034   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="ClearNotifyMessage" opcode="0x0115" type="CallControl"/>
3035   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="ActivateCallPlaneMessage" opcode="0x0116" type="CallControl">
3036     <fields beginversion="0" endversion="22">
3037       <integer comment="LineId" name="lineInstance" type="uint32"/>
3038     </fields>
3039   </message>
3040   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="DeactivateCallPlaneMessage" opcode="0x0117" type="CallControl"/>
3041   <enum name="DeviceUnregisterStatus">
3042     <entries>
3043       <entry comment="" name="DeviceUnregisterStatus_Ok" text="Ok" value="0x0000"/>
3044       <entry comment="" name="DeviceUnregisterStatus_Error" text="Error" value="0x0001"/>
3045       <entry comment="" name="DeviceUnregisterStatus_NAK" text="NAK" value="0x0002"/>
3046     </entries>
3047   </enum>
3048   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="UnregisterAckMessage" opcode="0x0118" request="0x0027" type="RegistrationAndManagement">
3049     <fields beginversion="0" endversion="22">
3050       <enum comment="" name="status" subtype="DeviceUnregisterStatus" type="uint32"/>
3051     </fields>
3052   </message>
3053   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="BackSpaceResMessage" opcode="0x0119" type="CallControl">
3054     <fields beginversion="0" endversion="22">
3055       <integer comment="LineId" name="lineInstance" type="uint32"/>
3056       <integer comment="CallId" name="callReference" type="uint32"/>
3057     </fields>
3058   </message>
3059   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="RegisterTokenAck" opcode="0x011a" request="0x0029" type="RegistrationAndManagement"/>
3060   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="RegisterTokenReject" opcode="0x011b" request="0x0029" type="RegistrationAndManagement">
3061     <fields beginversion="0" endversion="22">
3062       <integer comment="" name="waitTimeBeforeNextReq" type="uint32"/>
3063     </fields>
3064   </message>
3065   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="StartMediaFailureDetectionMessage" opcode="0x011c" type="MediaControl">
3066     <fields beginversion="0" endversion="22">
3067       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3068       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
3069       <integer comment="" name="milliSecondPacketSize" type="uint32"/>
3070       <enum comment="" declare="yes" name="compressionType" subtype="Media_PayloadType" type="uint32"/>
3071       <struct comment="" name="qualifierIn" subtype="Media_QualifierIncoming" type="struct">
3072         <fields>
3073           <enum comment="" name="ecValue" subtype="Media_EchoCancellation" type="uint32"/>
3074         </fields>
3075         <fields beginversion="0" endversion="10">
3076           <enum comment="" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
3077         </fields>
3078         <fields beginversion="11" endversion="22">
3079           <union comment="" lookup_guide="compressionType" name="codecParamsUnion" subtype="Media_QualifierIncomingUnion" type="union">
3080             <fields>
3081               <enum comment="" lookup_eq="Media_Payload_G7231" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
3082               <struct comment="" lookup_eq="*" name="codecParams" subtype="CodecParameters" type="struct">
3083                 <fields>
3084                   <integer comment="" name="codecMode" type="uint8"/>
3085                   <integer comment="" name="dynamicPayload" type="uint8"/>
3086                   <integer comment="" name="codecParam1" type="uint8"/>
3087                   <integer comment="" name="codecParam2" type="uint8"/>
3088                 </fields>
3089               </struct>
3090             </fields>
3091           </union>
3092         </fields>
3093       </struct>
3094       <integer comment="CallId" name="callReference" type="uint32"/>
3095     </fields>
3096   </message>
3097   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="DialedNumberMessage" opcode="0x011d" type="CallControl">
3098     <fields endversion="17" fixed="yes">
3099       <string comment="" name="dialedNumber" size="24" type="char" make_additional_info="yes"/>
3100       <integer comment="LineId" name="lineInstance" type="uint32"/>
3101       <integer comment="CallId" name="callReference" type="uint32"/>
3102     </fields>
3103     <fields beginversion="18" endversion="22" fixed="yes">
3104       <string comment="" declare="yes" name="dialedNumber" size="VariableDirnumSize" type="char" make_additional_info="yes"/>
3105       <integer comment="LineId" name="lineInstance" type="uint32"/>
3106       <integer comment="CallId" name="callReference" type="uint32"/>
3107     </fields>
3108   </message>
3109   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="UserToDeviceDataMessage" opcode="0x011e" type="RegistrationAndManagement">
3110     <fields beginversion="0" endversion="22">
3111       <struct comment="" name="userToDeviceData" subtype="UserAndDeviceData" type="struct">
3112         <fields>
3113           <integer comment="" name="applicationId" type="uint32"/>
3114           <integer comment="LineId" name="lineInstance" type="uint32"/>
3115           <integer comment="CallId" name="callReference" type="uint32"/>
3116           <integer comment="" name="transactionId" type="uint32"/>
3117           <integer comment="" declare="yes" name="dataLength" type="uint32"/>
3118           <xml comment="" maxsize="2000" name="xmldata" size_fieldname="dataLength" type="xml"/>
3119         </fields>
3120       </struct>
3121     </fields>
3122   </message>
3123   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="FeatureStatResMessage" opcode="0x011f" request="0x0034" type="RegistrationAndManagement">
3124     <fields beginversion="0" endversion="22">
3125       <integer comment="" declare="yes" name="featureIndex" req_resp_key="1" type="uint32"/>
3126       <enum comment="" name="featureID" subtype="ButtonType" type="uint32"/>
3127       <string comment="" name="featureTextLabel" size="40" type="char"/>
3128       <integer comment="" name="featureStatus" type="uint32"/>
3129     </fields>
3130   </message>
3131   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="DisplayPriNotifyMessage" opcode="0x0120" type="RegistrationAndManagement">
3132     <fields beginversion="0" endversion="22">
3133       <integer comment="" name="timeOutValue" type="uint32"/>
3134       <integer comment="" name="priority" type="uint32"/>
3135       <string comment="" name="notify" size="32" subtype="DisplayLabel" type="char"/>
3136     </fields>
3137   </message>
3138   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="ClearPriNotifyMessage" opcode="0x0121" type="RegistrationAndManagement">
3139     <fields beginversion="0" endversion="22">
3140       <integer comment="" name="priority" type="uint32"/>
3141     </fields>
3142   </message>
3143   <enum name="EndOfAnnAck">
3144     <entries>
3145       <entry comment="" name="EndOfAnnAck_NoAnnAckRequired" text="NoAnnAckRequired" value="0x0000"/>
3146       <entry comment="" name="EndOfAnnAck_AnnAckRequired" text="AnnAckRequired" value="0x0001"/>
3147     </entries>
3148   </enum>
3149   <enum name="AnnPlayMode">
3150     <entries>
3151       <entry comment="" name="AnnPlayMode_XmlConfigMode" text="XmlConfigMode" value="0x0000"/>
3152       <entry comment="" name="AnnPlayMode_OneShotMode" text="OneShotMode" value="0x0001"/>
3153       <entry comment="" name="AnnPlayMode_ContinuousMode" text="ContinuousMode" value="0x0002"/>
3154     </entries>
3155   </enum>
3156   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="event" name="StartAnnouncementMessage" opcode="0x0122" type="IntraCCM">
3157     <fields beginversion="0" endversion="22">
3158       <struct comment="" name="AnnList" size="32" type="struct">
3159         <fields>
3160           <integer comment="" name="locale" type="uint32"/>
3161           <integer comment="" name="country" type="uint32"/>
3162           <enum comment="" name="toneAnnouncement" subtype="DeviceTone" type="uint32"/>
3163         </fields>
3164       </struct>
3165       <enum comment="" name="annAckReq" subtype="EndOfAnnAck" type="uint32"/>
3166       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3167       <integer comment="" name="matrixConfPartyID" size="16" type="uint32"/>
3168       <integer comment="" name="hearingConfPartyMask" type="uint32"/>
3169       <enum comment="" name="annPlayMode" subtype="AnnPlayMode" type="uint32"/>
3170     </fields>
3171   </message>
3172   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="event" name="StopAnnouncementMessage" opcode="0x0123" type="IntraCCM">
3173     <fields beginversion="0" endversion="22">
3174       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3175     </fields>
3176   </message>
3177   <enum name="PlayAnnStatus">
3178     <entries>
3179       <entry comment="" name="PlayAnnStatus_OK" text="OK" value="0x0000"/>
3180       <entry comment="" name="PlayAnnStatus_Err" text="Err" value="0x0001"/>
3181     </entries>
3182   </enum>
3183   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="event" name="AnnouncementFinishMessage" opcode="0x0124" type="IntraCCM">
3184     <fields beginversion="0" endversion="22">
3185       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3186       <enum comment="" name="annStatus" subtype="PlayAnnStatus" type="uint32"/>
3187     </fields>
3188   </message>
3189   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="NotifyDtmfToneMessage" opcode="0x0127" type="CallControl">
3190     <fields beginversion="0" endversion="22">
3191       <enum comment="" name="tone" subtype="DeviceTone" type="uint32"/>
3192       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3193       <integer comment="" name="passthruPartyID" type="uint32"/>
3194     </fields>
3195   </message>
3196   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="SendDtmfToneMessage" opcode="0x0128" type="CallControl">
3197     <fields beginversion="0" endversion="22">
3198       <enum comment="" name="tone" subtype="DeviceTone" type="uint32"/>
3199       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3200       <integer comment="" name="passthruPartyID" type="uint32"/>
3201     </fields>
3202   </message>
3203   <message comment="" direction="pbx2dev" dynamic="no" msgtype="request" name="SubscribeDtmfPayloadReqMessage" opcode="0x0129" type="CallControl">
3204     <fields beginversion="0" endversion="22">
3205       <integer comment="" name="payloadDtmf" type="uint32"/>
3206       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3207       <integer comment="" name="passthruPartyID" type="uint32"/>
3208       <integer comment="" name="dtmfType" type="uint32"/>
3209     </fields>
3210   </message>
3211   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="SubscribeDtmfPayloadResMessage" opcode="0x012a" request="0x0129" type="CallControl">
3212     <fields beginversion="0" endversion="22">
3213       <integer comment="" name="payloadDtmf" type="uint32"/>
3214       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3215       <integer comment="" declare="yes" name="passthruPartyID" req_resp_key="1" type="uint32"/>
3216     </fields>
3217   </message>
3218   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="SubscribeDtmfPayloadErrMessage" opcode="0x012b" request="0x0129" type="CallControl">
3219     <fields beginversion="0" endversion="22">
3220       <integer comment="" name="payloadDtmf" type="uint32"/>
3221       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3222       <integer comment="" declare="yes" name="passthruPartyID" req_resp_key="1" type="uint32"/>
3223     </fields>
3224   </message>
3225   <message comment="" direction="pbx2dev" dynamic="no" msgtype="request" name="UnSubscribeDtmfPayloadReqMessage" opcode="0x012c" type="CallControl">
3226     <fields beginversion="0" endversion="22">
3227       <integer comment="" name="payloadDtmf" type="uint32"/>
3228       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3229       <integer comment="" declare="yes" name="passthruPartyID" req_resp_key="1" type="uint32"/>
3230       <integer comment="" name="dtmfType" type="uint32"/>
3231     </fields>
3232   </message>
3233   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="UnSubscribeDtmfPayloadResMessage" opcode="0x012d" request="0x012d" type="CallControl">
3234     <fields beginversion="0" endversion="22">
3235       <integer comment="" name="payloadDtmf" type="uint32"/>
3236       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3237       <integer comment="" declare="yes" name="passthruPartyID" req_resp_key="1" type="uint32"/>
3238     </fields>
3239   </message>
3240   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="UnSubscribeDtmfPayloadErrMessage" opcode="0x012e" request="0x012d" type="CallControl">
3241     <fields beginversion="0" endversion="22">
3242       <integer comment="" name="payloadDtmf" type="uint32"/>
3243       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3244       <integer comment="" declare="yes" name="passthruPartyID" req_resp_key="1" type="uint32"/>
3245     </fields>
3246   </message>
3247   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="ServiceURLStatResMessage" opcode="0x012f" request="0x0033" type="RegistrationAndManagement">
3248     <fields beginversion="0" endversion="22">
3249       <integer comment="" declare="yes" name="serviceURLIndex" req_resp_key="1" type="uint32"/>
3250       <string comment="" name="serviceURL" size="256" type="char"/>
3251       <string comment="" name="serviceURLDisplayName" size="40" type="char"/>
3252     </fields>
3253   </message>
3254   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="CallSelectStatResMessage" opcode="0x0130" type="CallControl">
3255     <fields beginversion="0" endversion="22">
3256       <integer comment="" name="callSelectStat" type="uint32"/>
3257       <integer comment="CallId" name="callReference" type="uint32"/>
3258       <integer comment="LineId" name="lineInstance" type="uint32"/>
3259     </fields>
3260   </message>
3261   <message comment="" direction="pbx2dev" dynamic="no" msgtype="request" name="OpenMultiMediaReceiveChannelMessage" opcode="0x0131" priority="send_immediate" type="MediaControl">
3262     <fields>
3263       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3264       <integer comment="PassThrough PartyId" declare="yes" name="passThroughPartyId" req_resp_key="1" type="uint32"/>
3265       <enum comment="" declare="yes" name="compressionType" subtype="Media_PayloadType" type="uint32"/>
3266       <integer comment="LineId" name="lineInstance" type="uint32"/>
3267       <integer comment="CallId" name="callReference" type="uint32"/>
3268       <struct comment="" declare="yes" name="payloadType" subtype="RTPPayloadType" type="struct">
3269         <fields>
3270           <integer comment="" name="payload_rfc_number" type="uint32"/>
3271           <integer comment="" declare="yes" name="payloadType" type="uint32"/>
3272         </fields>
3273       </struct>
3274       <integer comment="" name="isConferenceCreator" type="uint32"/>
3275       <union comment="" lookup_guide="payloadType" name="capability" subtype="OpenMultiMediaReceiveChannelMessageUnion" type="union">
3276         <fields>
3277           <struct comment="" lookup_le="Media_Payload_AMR_WB" name="audioParameters" subtype="Media_AudioIncomingParameters" type="struct">
3278             <fields>
3279               <integer comment="" name="milliSecondPacketSize" type="uint32"/>
3280               <struct comment="" name="qualifierIn" subtype="Media_QualifierIncoming" type="struct">
3281                 <fields>
3282                   <enum comment="" name="ecValue" subtype="Media_EchoCancellation" type="uint32"/>
3283                 </fields>
3284                 <fields beginversion="0" endversion="10">
3285                   <enum comment="" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
3286                 </fields>
3287                 <fields beginversion="11" endversion="22">
3288                   <union comment="" lookup_guide="compressionType" name="codecParamsUnion" subtype="Media_QualifierIncomingUnion" type="union">
3289                     <fields>
3290                       <enum comment="" lookup_eq="Media_Payload_G7231" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
3291                       <struct comment="" lookup_eq="*" name="codecParams" subtype="CodecParameters" type="struct">
3292                         <fields>
3293                           <integer comment="" name="codecMode" type="uint8"/>
3294                           <integer comment="" name="dynamicPayload" type="uint8"/>
3295                           <integer comment="" name="codecParam1" type="uint8"/>
3296                           <integer comment="" name="codecParam2" type="uint8"/>
3297                         </fields>
3298                       </struct>
3299                     </fields>
3300                   </union>
3301                 </fields>
3302               </struct>
3303             </fields>
3304           </struct>
3305           <struct comment="" lookup_ge="Media_Payload_H261" lookup_le="Media_Payload_H264_FEC" name="vidParameters" subtype="ChannelVideoParameters" type="struct">
3306             <fields>
3307               <integer comment="" name="bitRate" type="uint32"/>
3308               <integer comment="" declare="yes" name="pictureFormatCount" type="uint32"/>
3309               <struct comment="" maxsize="5" name="pictureFormat" size_fieldname="pictureFormatCount" subtype="PictureFormatSupport" type="struct">
3310                 <fields>
3311                   <integer comment="" name="format" type="uint32"/>
3312                   <integer comment="" name="MPI" type="uint32"/>
3313                 </fields>
3314               </struct>
3315               <integer comment="" name="confServiceNum" type="uint32"/>
3316               <union comment="" lookup_guide="payloadType" name="capability" subtype="ChannelVideoParametersUnion" type="union">
3317                 <fields>
3318                   <struct comment="" lookup_eq="Media_Payload_H261" name="h261VideoCapability" subtype="H261VideoCapability" type="struct">
3319                     <fields>
3320                       <integer comment="Temporal spatial trade off capability" name="temporalSpatialTradeOffCapability" type="uint32"/>
3321                       <integer comment="Still Image Transmission" name="stillImageTransmission" type="uint32"/>
3322                     </fields>
3323                   </struct>
3324                   <struct comment="" lookup_eq="Media_Payload_H263" name="h263VideoCapability" subtype="H263VideoCapability" type="struct">
3325                     <fields>
3326                       <bitfield comment="H263 Capability BitField" name="h263_capability_bitfield" size="uint32" subtype="Generic_Bitfield_32" type="bitfield">
3327                         <entries>
3328                           <entry comment="" name="Generic_Bitfield_Bit1" text="Bit1" value="0x0001"/>
3329                           <entry comment="" name="Generic_Bitfield_Bit2" text="Bit2" value="0x0002"/>
3330                           <entry comment="" name="Generic_Bitfield_Bit3" text="Bit3" value="0x0004"/>
3331                           <entry comment="" name="Generic_Bitfield_Bit4" text="Bit4" value="0x0008"/>
3332                           <entry comment="" name="Generic_Bitfield_Bit5" text="Bit5" value="0x0010"/>
3333                           <entry comment="" name="Generic_Bitfield_Bit6" text="Bit6" value="0x0020"/>
3334                           <entry comment="" name="Generic_Bitfield_Bit7" text="Bit7" value="0x0040"/>
3335                           <entry comment="" name="Generic_Bitfield_Bit8" text="Bit8" value="0x0080"/>
3336                           <entry comment="" name="Generic_Bitfield_Bit9" text="Bit9" value="0x0100"/>
3337                           <entry comment="" name="Generic_Bitfield_Bit10" text="Bit10" value="0x0200"/>
3338                           <entry comment="" name="Generic_Bitfield_Bit11" text="Bit11" value="0x0400"/>
3339                           <entry comment="" name="Generic_Bitfield_Bit12" text="Bit12" value="0x0800"/>
3340                           <entry comment="" name="Generic_Bitfield_Bit13" text="Bit13" value="0x1000"/>
3341                           <entry comment="" name="Generic_Bitfield_Bit14" text="Bit14" value="0x2000"/>
3342                           <entry comment="" name="Generic_Bitfield_Bit15" text="Bit16" value="0x4000"/>
3343                           <entry comment="" name="Generic_Bitfield_Bit16" text="Bit15" value="0x8000"/>
3344                           <entry comment="" name="Generic_Bitfield_Bit17" text="Bit17" value="0x10000"/>
3345                           <entry comment="" name="Generic_Bitfield_Bit18" text="Bit18" value="0x20000"/>
3346                           <entry comment="" name="Generic_Bitfield_Bit19" text="Bit19" value="0x40000"/>
3347                           <entry comment="" name="Generic_Bitfield_Bit20" text="Bit20" value="0x80000"/>
3348                           <entry comment="" name="Generic_Bitfield_Bit21" text="Bit21" value="0x100000"/>
3349                           <entry comment="" name="Generic_Bitfield_Bit22" text="Bit22" value="0x200000"/>
3350                           <entry comment="" name="Generic_Bitfield_Bit23" text="Bit23" value="0x400000"/>
3351                           <entry comment="" name="Generic_Bitfield_Bit24" text="Bit24" value="0x800000"/>
3352                           <entry comment="" name="Generic_Bitfield_Bit25" text="Bit25" value="0x1000000"/>
3353                           <entry comment="" name="Generic_Bitfield_Bit26" text="Bit26" value="0x2000000"/>
3354                           <entry comment="" name="Generic_Bitfield_Bit27" text="Bit27" value="0x4000000"/>
3355                           <entry comment="" name="Generic_Bitfield_Bit28" text="Bit28" value="0x8000000"/>
3356                           <entry comment="" name="Generic_Bitfield_Bit29" text="Bit29" value="0x10000000"/>
3357                           <entry comment="" name="Generic_Bitfield_Bit30" text="Bit30" value="0x20000000"/>
3358                           <entry comment="" name="Generic_Bitfield_Bit31" text="Bit31" value="0x40000000"/>
3359                           <entry comment="" name="Generic_Bitfield_Bit32" text="Bit32" value="0x80000000"/>
3360                         </entries>
3361                       </bitfield>
3362                       <integer comment="" name="annexNandWFutureUse" type="uint32"/>
3363                     </fields>
3364                   </struct>
3365                   <struct comment="" lookup_eq="Media_Payload_H264" name="h264VideoCapability" subtype="H264VideoCapability" type="struct">
3366                     <fields>
3367                       <integer comment="" name="profile" type="uint32"/>
3368                       <integer comment="" name="level" type="uint32"/>
3369                       <integer comment="" name="customMaxMBPS" type="uint32"/>
3370                       <integer comment="" name="customMaxFS" type="uint32"/>
3371                       <integer comment="" name="customMaxDPB" type="uint32"/>
3372                       <integer comment="" name="customMaxBRandCPB" type="uint32"/>
3373                     </fields>
3374                   </struct>
3375                   <struct comment="" lookup_eq="Media_Payload_Vieo" name="vieoVideoCapability" subtype="VieoVideoCapability" type="struct">
3376                     <fields>
3377                       <integer comment="" name="modelNumber" type="uint32"/>
3378                       <integer comment="" name="bandwidth" type="uint32"/>
3379                     </fields>
3380                   </struct>
3381                 </fields>
3382               </union>
3383             </fields>
3384           </struct>
3385           <struct comment="" lookup_ge="Media_Payload_Clear_Chan" name="dataParameters" subtype="ChannelDataParameters" type="struct">
3386             <fields>
3387               <integer comment="" name="protocolDependentData" type="uint32"/>
3388               <integer comment="" name="maxBitRate" type="uint32"/>
3389             </fields>
3390           </struct>
3391         </fields>
3392       </union>
3393       <struct comment="" name="mRxMediaEncryptionKeyInfo" subtype="MediaEncryptionKeyInfo" type="struct">
3394         <fields>
3395           <enum comment="" name="algorithmID" subtype="MediaEncryptionAlgorithmType" type="uint32"/>
3396           <integer comment="" declare="yes" name="keylen" type="uint16"/>
3397           <integer comment="" declare="yes" name="saltlen" type="uint16"/>
3398           <integer comment="" maxsize="16" name="key" size_fieldname="keylen" type="uint8"/>
3399           <integer comment="" maxsize="16" name="salt" size_fieldname="saltlen" type="uint8"/>
3400           <integer comment="" name="isMKIPresent" type="uint32"/>
3401           <integer comment="" name="keyDerivationRate" type="uint32"/>
3402         </fields>
3403       </struct>
3404       <integer comment="" name="streamPassThroughId" type="uint32"/>
3405       <integer comment="" name="associatedStreamId" type="uint32"/>
3406     </fields>
3407     <fields beginversion="11">
3408       <ipv4or6 comment="ipaddress in big endian" endianness="big" name="sourceIpAddr" subtype="uint32" type="ipaddr" make_additional_info="yes"/>
3409       <integer comment="" name="sourcePortNumber" subtype="uint32" type="ipport" use_param="sourceIpAddr" make_additional_info="yes"/>
3410     </fields>
3411     <fields beginversion="16" endversion="22">
3412       <enum comment="" name="requestedIpAddrType" subtype="IpAddrType" type="uint32"/>
3413     </fields>
3414   </message>
3415   <message comment="" direction="pbx2dev" dynamic="no" msgtype="request" name="StartMultiMediaTransmissionMessage" opcode="0x0132" priority="send_immediate" type="MediaControl">
3416     <fields beginversion="0" endversion="22">
3417       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3418       <integer comment="" declare="yes" name="passthruPartyID" req_resp_key="1" type="uint32"/>
3419       <enum comment="" declare="yes" name="compressionType" subtype="Media_PayloadType" type="uint32"/>
3420       <ipv4or6 comment="ipaddress in big endian" endianness="big" name="remoteIpAddr" subtype="uint32" type="ipaddr"/>
3421       <integer comment="" name="remotePortNumber" subtype="uint32" type="ipport" use_param="remoteIpAddr"/>
3422       <integer comment="CallId" name="callReference" type="uint32"/>
3423       <struct comment="" declare="yes" name="payloadType" subtype="RTPPayloadType" type="struct">
3424         <fields>
3425           <integer comment="" name="payload_rfc_number" type="uint32"/>
3426           <integer comment="" declare="yes" name="payloadType" type="uint32"/>
3427         </fields>
3428       </struct>
3429       <integer comment="" name="DSCPValue" type="uint32"/>
3430       <union comment="" lookup_guide="payloadType" name="capability" subtype="StartMultiMediaTransmissionMessageUnion" type="union">
3431         <fields>
3432           <struct comment="" lookup_le="Media_Payload_AMR_WB" name="audioParameters" subtype="Media_AudioIncomingParameters" type="struct">
3433             <fields>
3434               <integer comment="" name="milliSecondPacketSize" type="uint32"/>
3435               <struct comment="" name="qualifierIn" subtype="Media_QualifierIncoming" type="struct">
3436                 <fields>
3437                   <enum comment="" name="ecValue" subtype="Media_EchoCancellation" type="uint32"/>
3438                 </fields>
3439                 <fields beginversion="0" endversion="10">
3440                   <enum comment="" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
3441                 </fields>
3442                 <fields beginversion="11" endversion="22">
3443                   <union comment="" lookup_guide="compressionType" name="codecParamsUnion" subtype="Media_QualifierIncomingUnion" type="union">
3444                     <fields>
3445                       <enum comment="" lookup_eq="Media_Payload_G7231" name="g723BitRate" subtype="Media_G723BitRate" type="uint32"/>
3446                       <struct comment="" lookup_eq="*" name="codecParams" subtype="CodecParameters" type="struct">
3447                         <fields>
3448                           <integer comment="" name="codecMode" type="uint8"/>
3449                           <integer comment="" name="dynamicPayload" type="uint8"/>
3450                           <integer comment="" name="codecParam1" type="uint8"/>
3451                           <integer comment="" name="codecParam2" type="uint8"/>
3452                         </fields>
3453                       </struct>
3454                     </fields>
3455                   </union>
3456                 </fields>
3457               </struct>
3458             </fields>
3459           </struct>
3460           <struct comment="" lookup_ge="Media_Payload_H261" lookup_le="Media_Payload_H264_FEC" name="vidParameters" subtype="ChannelVideoParameters" type="struct">
3461             <fields>
3462               <integer comment="" name="bitRate" type="uint32"/>
3463               <integer comment="" declare="yes" name="pictureFormatCount" type="uint32"/>
3464               <struct comment="" maxsize="5" name="pictureFormat" size_fieldname="pictureFormatCount" subtype="PictureFormatSupport" type="struct">
3465                 <fields>
3466                   <integer comment="" name="format" type="uint32"/>
3467                   <integer comment="" name="MPI" type="uint32"/>
3468                 </fields>
3469               </struct>
3470               <integer comment="" name="confServiceNum" type="uint32"/>
3471               <union comment="" lookup_guide="payloadType" name="capability" subtype="ChannelVideoParametersUnion" type="union">
3472                 <fields>
3473                   <struct comment="" lookup_eq="Media_Payload_H261" name="h261VideoCapability" subtype="H261VideoCapability" type="struct">
3474                     <fields>
3475                       <integer comment="Temporal spatial trade off capability" name="temporalSpatialTradeOffCapability" type="uint32"/>
3476                       <integer comment="Still Image Transmission" name="stillImageTransmission" type="uint32"/>
3477                     </fields>
3478                   </struct>
3479                   <struct comment="" lookup_eq="Media_Payload_H263" name="h263VideoCapability" subtype="H263VideoCapability" type="struct">
3480                     <fields>
3481                       <bitfield comment="H263 Capability BitField" name="h263_capability_bitfield" size="uint32" subtype="Generic_Bitfield_32" type="bitfield">
3482                         <entries>
3483                           <entry comment="" name="Generic_Bitfield_Bit1" text="Bit1" value="0x0001"/>
3484                           <entry comment="" name="Generic_Bitfield_Bit2" text="Bit2" value="0x0002"/>
3485                           <entry comment="" name="Generic_Bitfield_Bit3" text="Bit3" value="0x0004"/>
3486                           <entry comment="" name="Generic_Bitfield_Bit4" text="Bit4" value="0x0008"/>
3487                           <entry comment="" name="Generic_Bitfield_Bit5" text="Bit5" value="0x0010"/>
3488                           <entry comment="" name="Generic_Bitfield_Bit6" text="Bit6" value="0x0020"/>
3489                           <entry comment="" name="Generic_Bitfield_Bit7" text="Bit7" value="0x0040"/>
3490                           <entry comment="" name="Generic_Bitfield_Bit8" text="Bit8" value="0x0080"/>
3491                           <entry comment="" name="Generic_Bitfield_Bit9" text="Bit9" value="0x0100"/>
3492                           <entry comment="" name="Generic_Bitfield_Bit10" text="Bit10" value="0x0200"/>
3493                           <entry comment="" name="Generic_Bitfield_Bit11" text="Bit11" value="0x0400"/>
3494                           <entry comment="" name="Generic_Bitfield_Bit12" text="Bit12" value="0x0800"/>
3495                           <entry comment="" name="Generic_Bitfield_Bit13" text="Bit13" value="0x1000"/>
3496                           <entry comment="" name="Generic_Bitfield_Bit14" text="Bit14" value="0x2000"/>
3497                           <entry comment="" name="Generic_Bitfield_Bit15" text="Bit15" value="0x4000"/>
3498                           <entry comment="" name="Generic_Bitfield_Bit16" text="Bit16" value="0x8000"/>
3499                           <entry comment="" name="Generic_Bitfield_Bit17" text="Bit17" value="0x10000"/>
3500                           <entry comment="" name="Generic_Bitfield_Bit18" text="Bit18" value="0x20000"/>
3501                           <entry comment="" name="Generic_Bitfield_Bit19" text="Bit19" value="0x40000"/>
3502                           <entry comment="" name="Generic_Bitfield_Bit20" text="Bit20" value="0x80000"/>
3503                           <entry comment="" name="Generic_Bitfield_Bit21" text="Bit21" value="0x100000"/>
3504                           <entry comment="" name="Generic_Bitfield_Bit22" text="Bit22" value="0x200000"/>
3505                           <entry comment="" name="Generic_Bitfield_Bit23" text="Bit23" value="0x400000"/>
3506                           <entry comment="" name="Generic_Bitfield_Bit24" text="Bit24" value="0x800000"/>
3507                           <entry comment="" name="Generic_Bitfield_Bit25" text="Bit25" value="0x1000000"/>
3508                           <entry comment="" name="Generic_Bitfield_Bit26" text="Bit26" value="0x2000000"/>
3509                           <entry comment="" name="Generic_Bitfield_Bit27" text="Bit27" value="0x4000000"/>
3510                           <entry comment="" name="Generic_Bitfield_Bit28" text="Bit28" value="0x8000000"/>
3511                           <entry comment="" name="Generic_Bitfield_Bit29" text="Bit29" value="0x10000000"/>
3512                           <entry comment="" name="Generic_Bitfield_Bit30" text="Bit30" value="0x20000000"/>
3513                           <entry comment="" name="Generic_Bitfield_Bit31" text="Bit31" value="0x40000000"/>
3514                           <entry comment="" name="Generic_Bitfield_Bit32" text="Bit32" value="0x80000000"/>
3515                         </entries>
3516                       </bitfield>
3517                       <integer comment="" name="annexNandWFutureUse" type="uint32"/>
3518                     </fields>
3519                   </struct>
3520                   <struct comment="" lookup_eq="Media_Payload_H264" name="h264VideoCapability" subtype="H264VideoCapability" type="struct">
3521                     <fields>
3522                       <integer comment="" name="profile" type="uint32"/>
3523                       <integer comment="" name="level" type="uint32"/>
3524                       <integer comment="" name="customMaxMBPS" type="uint32"/>
3525                       <integer comment="" name="customMaxFS" type="uint32"/>
3526                       <integer comment="" name="customMaxDPB" type="uint32"/>
3527                       <integer comment="" name="customMaxBRandCPB" type="uint32"/>
3528                     </fields>
3529                   </struct>
3530                   <struct comment="" lookup_eq="Media_Payload_Vieo" name="vieoVideoCapability" subtype="VieoVideoCapability" type="struct">
3531                     <fields>
3532                       <integer comment="" name="modelNumber" type="uint32"/>
3533                       <integer comment="" name="bandwidth" type="uint32"/>
3534                     </fields>
3535                   </struct>
3536                 </fields>
3537               </union>
3538             </fields>
3539           </struct>
3540           <struct comment="" lookup_ge="Media_Payload_Clear_Chan" name="dataParameters" subtype="ChannelDataParameters" type="struct">
3541             <fields>
3542               <integer comment="" name="protocolDependentData" type="uint32"/>
3543               <integer comment="" name="maxBitRate" type="uint32"/>
3544             </fields>
3545           </struct>
3546         </fields>
3547       </union>
3548       <struct comment="" name="mTxMediaEncryptionKeyInfo" subtype="MediaEncryptionKeyInfo" type="struct">
3549         <fields>
3550           <enum comment="" name="algorithmID" subtype="MediaEncryptionAlgorithmType" type="uint32"/>
3551           <integer comment="" declare="yes" name="keylen" type="uint16"/>
3552           <integer comment="" declare="yes" name="saltlen" type="uint16"/>
3553           <integer comment="" maxsize="16" name="key" size_fieldname="keylen" type="uint8"/>
3554           <integer comment="" maxsize="16" name="salt" size_fieldname="saltlen" type="uint8"/>
3555           <integer comment="" name="isMKIPresent" type="uint32"/>
3556           <integer comment="" name="keyDerivationRate" type="uint32"/>
3557         </fields>
3558       </struct>
3559       <integer comment="" name="streamPassThroughId" type="uint32"/>
3560       <integer comment="" name="associatedStreamId" type="uint32"/>
3561     </fields>
3562   </message>
3563   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="StopMultiMediaTransmissionMessage" opcode="0x0133" priority="send_immediate" type="MediaControl">
3564     <fields beginversion="0" endversion="22">
3565       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3566       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
3567       <integer comment="CallId" name="callReference" type="uint32"/>
3568       <enum comment="" name="portHandlingFlag" subtype="PortHandling" type="uint32"/>
3569     </fields>
3570   </message>
3571   <enum define="yes" name="MiscCommandType">
3572     <entries>
3573       <entry comment="" name="MiscCommandType_videoFreezePicture" text="videoFreezePicture" value="0x0000"/>
3574       <entry comment="" name="MiscCommandType_videoFastUpdatePicture" text="videoFastUpdatePicture" value="0x0001"/>
3575       <entry comment="" name="MiscCommandType_videoFastUpdateGOB" text="videoFastUpdateGOB" value="0x0002"/>
3576       <entry comment="" name="MiscCommandType_videoFastUpdateMB" text="videoFastUpdateMB" value="0x0003"/>
3577       <entry comment="" name="MiscCommandType_lostPicture" text="lostPicture" value="0x0004"/>
3578       <entry comment="" name="MiscCommandType_lostPartialPicture" text="lostPartialPicture" value="0x0005"/>
3579       <entry comment="" name="MiscCommandType_recoveryReferencePicture" text="recoveryReferencePicture" value="0x0006"/>
3580       <entry comment="" name="MiscCommandType_temporalSpatialTradeOff" text="temporalSpatialTradeOff" value="0x0007"/>
3581     </entries>
3582   </enum>
3583   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="MiscellaneousCommandMessage" opcode="0x0134" type="CallControl">
3584     <fields beginversion="0" endversion="22">
3585       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3586       <integer comment="" name="passthruPartyID" type="uint32"/>
3587       <integer comment="CallId" name="callReference" type="uint32"/>
3588       <enum comment="" declare="yes" name="command" subtype="MiscCommandType" type="uint32"/>
3589       <union comment="" lookup_guide="command" name="u" subtype="MiscellaneousCommandMessageUnion" type="union">
3590         <fields>
3591           <struct comment="" lookup_eq="MiscCommandType_videoFastUpdatePicture" name="videoFastUpdatePicture" subtype="VideoFastUpdateGOB" type="struct">
3592             <fields>
3593               <integer comment="" name="firstGOB" type="uint32"/>
3594               <integer comment="" name="numberOfGOBs" type="uint32"/>
3595             </fields>
3596           </struct>
3597           <struct comment="" lookup_eq="MiscCommandType_videoFastUpdateGOB" name="videoFastUpdateGOB" subtype="VideoFastUpdateGOB" type="struct">
3598             <fields>
3599               <integer comment="" name="firstGOB" type="uint32"/>
3600               <integer comment="" name="numberOfGOBs" type="uint32"/>
3601             </fields>
3602           </struct>
3603           <struct comment="" lookup_eq="MiscCommandType_videoFastUpdateMB" name="videoFastUpdateMB" subtype="VideoFastUpdateMB" type="struct">
3604             <fields>
3605               <integer comment="" name="firstGOB" type="uint32"/>
3606               <integer comment="" name="firstMB" type="uint32"/>
3607               <integer comment="" name="numberOfMBs" type="uint32"/>
3608             </fields>
3609           </struct>
3610           <struct comment="" lookup_eq="MiscCommandType_lostPicture" name="lostPicture" subtype="PictureReference" type="struct">
3611             <fields>
3612               <integer comment="" name="pictureNumber" type="uint32"/>
3613               <integer comment="" name="longTermPictureIndex" type="uint32"/>
3614             </fields>
3615           </struct>
3616           <struct comment="" lookup_eq="MiscCommandType_lostPartialPicture" name="lostPartialPicture" type="struct">
3617             <fields>
3618               <struct comment="" name="pictureReference" subtype="PictureReference" type="struct">
3619                 <fields>
3620                   <integer comment="" name="pictureNumber" type="uint32"/>
3621                   <integer comment="" name="longTermPictureIndex" type="uint32"/>
3622                 </fields>
3623               </struct>
3624               <integer comment="" name="firstMB" type="uint32"/>
3625               <integer comment="" name="numberOfMBs" type="uint32"/>
3626             </fields>
3627           </struct>
3628           <struct comment="" lookup_eq="MiscCommandType_recoveryReferencePicture" name="recoveryReferencePictureValue" subtype="PictureReferenceValues" type="struct">
3629             <fields>
3630               <integer comment="" declare="yes" name="recoveryReferencePictureCount" type="uint32"/>
3631               <struct comment="" maxsize="4" name="recoveryReferencePicture" size_fieldname="recoveryReferencePictureCount" subtype="PictureReference" type="struct">
3632                 <fields>
3633                   <integer comment="" name="pictureNumber" type="uint32"/>
3634                   <integer comment="" name="longTermPictureIndex" type="uint32"/>
3635                 </fields>
3636               </struct>
3637             </fields>
3638           </struct>
3639           <integer comment="" lookup_eq="MiscCommandType_temporalSpatialTradeOff" name="temporalSpatialTradeOff" type="uint32"/>
3640           <integer comment="" lookup_eq="*" name="none" type="uint32"/>
3641         </fields>
3642       </union>
3643     </fields>
3644   </message>
3645   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="FlowControlCommandMessage" opcode="0x0135" type="CallControl">
3646     <fields beginversion="0" endversion="22">
3647       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3648       <integer comment="" name="passthruPartyID" type="uint32"/>
3649       <integer comment="CallId" name="callReference" type="uint32"/>
3650       <integer comment="" name="maximumBitRate" type="uint32"/>
3651     </fields>
3652   </message>
3653   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="CloseMultiMediaReceiveChannelMessage" opcode="0x0136" priority="send_immediate" type="MediaControl">
3654     <fields beginversion="0" endversion="22">
3655       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3656       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
3657       <integer comment="CallId" name="callReference" type="uint32"/>
3658       <enum comment="" name="portHandlingFlag" subtype="PortHandling" type="uint32"/>
3659     </fields>
3660   </message>
3661   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="request" name="CreateConferenceReqMessage" opcode="0x0137" type="IntraCCM">
3662     <fields beginversion="0" endversion="22">
3663       <integer comment="Conference ID" declare="yes" name="conferenceId" req_resp_key="1" type="uint32"/>
3664       <integer comment="" name="numberOfReservedParticipants" type="uint32"/>
3665       <enum comment="" name="resourceType" subtype="ResourceType" type="uint32"/>
3666       <integer comment="" name="applicationId" type="uint32"/>
3667       <string comment="" name="appConfID" size="32" type="char"/>
3668       <string comment="" name="appData" size="24" type="char"/>
3669       <integer comment="" declare="yes" name="dataLength" type="uint32"/>
3670       <string comment="variable field size (max: 2000]" maxsize="2000" name="passThruData" size_fieldname="dataLength" type="char"/>
3671     </fields>
3672   </message>
3673   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="request" name="DeleteConferenceReqMessage" opcode="0x0138" type="IntraCCM">
3674     <fields beginversion="0" endversion="22">
3675       <integer comment="Conference ID" declare="yes" name="conferenceId" req_resp_key="1" type="uint32"/>
3676     </fields>
3677   </message>
3678   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="request" name="ModifyConferenceReqMessage" opcode="0x0139" type="IntraCCM">
3679     <fields beginversion="0" endversion="22">
3680       <integer comment="Conference ID" declare="yes" name="conferenceId" req_resp_key="1" type="uint32"/>
3681       <integer comment="" name="numberOfReservedParticipants" type="uint32"/>
3682       <integer comment="" name="applicationId" type="uint32"/>
3683       <string comment="" name="appConfID" size="32" type="char"/>
3684       <string comment="" name="appData" size="24" type="char"/>
3685       <integer comment="" declare="yes" name="dataLength" type="uint32"/>
3686       <string comment="variable field size (max: 2000]" maxsize="2000" name="passThruData" size_fieldname="dataLength" type="char"/>
3687     </fields>
3688   </message>
3689   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="request" name="AddParticipantReqMessage" opcode="0x013a" type="IntraCCM">
3690     <fields>
3691       <integer comment="Conference ID" declare="yes" name="conferenceId" req_resp_key="1" type="uint32"/>
3692       <integer comment="CallId" name="callReference" type="uint32"/>
3693       <bitfield comment="" name="partyPIRestrictionBits" size="uint32" subtype="RestrictInformationType" type="bitfield">
3694         <entries>
3695           <entry comment="" name="RestrictInformationType_CallingPartyName" text="CallingPartyName" value="0x00000001"/>
3696           <entry comment="" name="RestrictInformationType_CallingPartyNumber" text="CallingPartyNumber" value="0x00000002"/>
3697           <entry comment="" name="RestrictInformationType_CallingParty" text="CallingParty" value="0x00000003"/>
3698           <entry comment="" name="RestrictInformationType_CalledPartyName" text="CalledPartyName" value="0x00000004"/>
3699           <entry comment="" name="RestrictInformationType_CalledPartyNumber" text="CalledPartyNumber" value="0x00000008"/>
3700           <entry comment="" name="RestrictInformationType_CalledParty" text="CalledParty" value="0x0000000c"/>
3701           <entry comment="" name="RestrictInformationType_OriginalCalledPartyName" text="OriginalCalledPartyName" value="0x00000010"/>
3702           <entry comment="" name="RestrictInformationType_OriginalCalledPartyNumber" text="OriginalCalledPartyNumber" value="0x00000020"/>
3703           <entry comment="" name="RestrictInformationType_OriginalCalledParty" text="OriginalCalledParty" value="0x00000030"/>
3704           <entry comment="" name="RestrictInformationType_LastRedirectPartyName" text="LastRedirectPartyName" value="0x00000040"/>
3705           <entry comment="" name="RestrictInformationType_LastRedirectPartyNumber" text="LastRedirectPartyNumber" value="0x00000080"/>
3706           <entry comment="" name="RestrictInformationType_LastRedirectParty" text="LastRedirectParty" value="0x000000c0"/>
3707           <entry comment="" name="RestrictInformationType_BitsReserved" text="BitsReserved" value="0xffffff00"/>
3708         </entries>
3709       </bitfield>
3710       <string comment="" name="participantName" size="40" type="char"/>
3711       <string comment="" name="participantNumber" size="24" type="char"/>
3712       <string comment="" name="conferenceName" size="32" type="char"/>
3713     </fields>
3714   </message>
3715   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="request" name="DropParticipantReqMessage" opcode="0x013b" type="IntraCCM">
3716     <fields beginversion="0" endversion="22">
3717       <integer comment="Conference ID" declare="yes" name="conferenceId" req_resp_key="1" type="uint32"/>
3718       <integer comment="CallId" name="callReference" type="uint32"/>
3719     </fields>
3720   </message>
3721   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="request" name="AuditConferenceReqMessage" opcode="0x013c" type="IntraCCM"/>
3722   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="request" name="AuditParticipantReqMessage" opcode="0x013d" type="IntraCCM">
3723     <fields beginversion="0" endversion="22">
3724       <integer comment="Conference ID" declare="yes" name="conferenceId" req_resp_key="1" type="uint32"/>
3725     </fields>
3726   </message>
3727   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="request" name="ChangeParticipantReqMessage" opcode="0x013e" type="IntraCCM">
3728     <fields>
3729       <integer comment="Conference ID" declare="yes" name="conferenceId" req_resp_key="1" type="uint32"/>
3730       <integer comment="CallId" name="callReference" type="uint32"/>
3731       <bitfield comment="" name="partyPIRestrictionBits" size="uint32" subtype="RestrictInformationType" type="bitfield">
3732         <entries>
3733           <entry comment="" name="RestrictInformationType_CallingPartyName" text="CallingPartyName" value="0x0001"/>
3734           <entry comment="" name="RestrictInformationType_CallingPartyNumber" text="CallingPartyNumber" value="0x0002"/>
3735           <entry comment="" name="RestrictInformationType_CallingParty" text="CallingParty" value="0x0003"/>
3736           <entry comment="" name="RestrictInformationType_CalledPartyName" text="CalledPartyName" value="0x0004"/>
3737           <entry comment="" name="RestrictInformationType_CalledPartyNumber" text="CalledPartyNumber" value="0x0008"/>
3738           <entry comment="" name="RestrictInformationType_CalledParty" text="CalledParty" value="0x000c"/>
3739           <entry comment="" name="RestrictInformationType_OriginalCalledPartyName" text="OriginalCalledPartyName" value="0x0010"/>
3740           <entry comment="" name="RestrictInformationType_OriginalCalledPartyNumber" text="OriginalCalledPartyNumber" value="0x0020"/>
3741           <entry comment="" name="RestrictInformationType_OriginalCalledParty" text="OriginalCalledParty" value="0x0030"/>
3742           <entry comment="" name="RestrictInformationType_LastRedirectPartyName" text="LastRedirectPartyName" value="0x0040"/>
3743           <entry comment="" name="RestrictInformationType_LastRedirectPartyNumber" text="LastRedirectPartyNumber" value="0x0080"/>
3744           <entry comment="" name="RestrictInformationType_LastRedirectParty" text="LastRedirectParty" value="0x00c0"/>
3745           <entry comment="" name="RestrictInformationType_BitsReserved" text="BitsReserved" value="0xffffff00"/>
3746         </entries>
3747       </bitfield>
3748       <string comment="" name="participantName" size="40" type="char"/>
3749       <string comment="" name="participantNumber" size="24" type="char"/>
3750       <string comment="" name="conferenceName" size="32" type="char"/>
3751     </fields>
3752   </message>
3753   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="UserToDeviceDataMessageVersion1" opcode="0x013f" type="RegistrationAndManagement">
3754     <fields beginversion="0" endversion="22">
3755       <struct comment="" name="userToDeviceDataVersion1" subtype="UserAndDeviceDataVersion1" type="struct">
3756         <fields>
3757           <integer comment="" name="applicationId" type="uint32"/>
3758           <integer comment="LineId" name="lineInstance" type="uint32"/>
3759           <integer comment="CallId" name="callReference" type="uint32"/>
3760           <integer comment="" name="transactionId" type="uint32"/>
3761           <integer comment="" declare="yes" name="dataLength" type="uint32"/>
3762           <enum comment="" name="sequenceFlag" subtype="SequenceFlag" type="uint32"/>
3763           <integer comment="" name="displayPriority" type="uint32"/>
3764           <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3765           <integer comment="" name="appInstanceID" type="uint32"/>
3766           <integer comment="" name="routingID" type="uint32"/>
3767           <xml comment="" maxsize="2000" name="xmldata" size_fieldname="dataLength" type="xml"/>
3768         </fields>
3769       </struct>
3770     </fields>
3771   </message>
3772   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="VideoDisplayCommandMessage" opcode="0x0140" type="MediaControl">
3773     <fields beginversion="0" endversion="22">
3774       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3775       <integer comment="CallId" name="callReference" type="uint32"/>
3776       <integer comment="" name="layoutID" type="uint32"/>
3777     </fields>
3778   </message>
3779   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="FlowControlNotifyMessage" opcode="0x0141" type="CallControl">
3780     <fields beginversion="0" endversion="22">
3781       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3782       <integer comment="" name="passthruPartyID" type="uint32"/>
3783       <integer comment="CallId" name="callReference" type="uint32"/>
3784       <integer comment="" name="maximumBitRate" type="uint32"/>
3785     </fields>
3786   </message>
3787   <message comment="" direction="pbx2dev" dynamic="yes" msgtype="response" name="ConfigStatV2ResMessage" opcode="0x0142" request="0x000c" type="RegistrationAndManagement">
3788     <fields beginversion="0" endversion="22">
3789       <struct comment="" name="sid" type="struct">
3790         <fields>
3791           <string comment="Device Name" name="DeviceName" size="16" type="char"/>
3792           <integer comment="User Id" name="reserved_for_future_use" type="uint32"/>
3793           <integer comment="Device Instance" name="instance" type="uint32"/>
3794         </fields>
3795       </struct>
3796       <integer comment="" name="numberOfLines" type="uint32"/>
3797       <integer comment="" name="numberOfSpeedDials" type="uint32"/>
3798       <string comment="" name="userName" size="121" type="char"/>
3799       <string comment="" name="serverName" size="121" type="char"/>
3800     </fields>
3801   </message>
3802   <message comment="" direction="pbx2dev" dynamic="yes" msgtype="event" name="DisplayNotifyV2Message" opcode="0x0143" type="RegistrationAndManagement">
3803     <fields beginversion="0" endversion="22">
3804       <integer comment="" name="timeOutValue" type="uint32"/>
3805       <string comment="" name="notify" size="97" subtype="DisplayLabel" type="char"/>
3806     </fields>
3807   </message>
3808   <message comment="" direction="pbx2dev" dynamic="yes" msgtype="event" name="DisplayPriNotifyV2Message" opcode="0x0144" type="RegistrationAndManagement">
3809     <fields alignment="4" beginversion="0" endversion="22">
3810       <integer comment="" name="timeOutValue" type="uint32"/>
3811       <integer comment="" name="priority" type="uint32"/>
3812       <string comment="" name="notify" size="97" subtype="DisplayLabel" type="char"/>
3813     </fields>
3814   </message>
3815   <message comment="" direction="pbx2dev" dynamic="yes" msgtype="event" name="DisplayPromptStatusV2Message" opcode="0x0145" type="CallControl">
3816     <fields alignment="4" beginversion="0" endversion="22">
3817       <integer comment="" name="timeOutValue" type="uint32"/>
3818       <integer comment="LineId" name="lineInstance" type="uint32"/>
3819       <integer comment="CallId" name="callReference" type="uint32"/>
3820       <string comment="" name="promptStatus" size="97" subtype="DisplayLabel" type="char"/>
3821     </fields>
3822   </message>
3823   <message comment="" direction="pbx2dev" dynamic="yes" msgtype="response" name="FeatureStatV2ResMessage" opcode="0x0146" request="0x0034" type="RegistrationAndManagement">
3824     <fields alignment="4" beginversion="0" endversion="22">
3825       <integer comment="" name="featureIndex" type="uint32"/>
3826       <enum comment="" name="featureID" subtype="ButtonType" type="uint32"/>
3827       <integer comment="" name="featureStatus" type="uint32"/>
3828       <string comment="" name="featureTextLabel" size="121" type="char"/>
3829     </fields>
3830   </message>
3831   <bitfield name="LineTypeBits">
3832     <entries>
3833       <entry comment="" name="OrigDialed" text="Originally Dialed" value="0x00000001"/>
3834       <entry comment="" name="RedirDialed" text="Redirected Dialed" value="0x00000002"/>
3835       <entry comment="" name="CallingPartyNumber" text="CallingNum" value="0x00000004"/>
3836       <entry comment="" name="CallingPartyName" text="CallingName" value="0x00000008"/>
3837     </entries>
3838   </bitfield>
3839   <message comment="" direction="pbx2dev" dynamic="yes" msgtype="response" name="LineStatV2ResMessage" opcode="0x0147" request="0x000b" type="RegistrationAndManagement">
3840     <fields beginversion="0" endversion="22">
3841       <integer comment="" declare="yes" name="lineNumber" req_resp_key="1" type="uint32"/>
3842       <bitfield comment="" name="lineType" size="uint32" subtype="LineTypeBits" type="bitfield">
3843         <entries>
3844           <entry comment="" name="OrigDialed" text="Originally Dialed" value="0x00000001"/>
3845           <entry comment="" name="RedirDialed" text="Redirected Dialed" value="0x00000002"/>
3846           <entry comment="" name="CallingPartyNumber" text="CallingNum" value="0x00000004"/>
3847           <entry comment="" name="CallingPartyName" text="CallingName" value="0x00000008"/>
3848         </entries>
3849       </bitfield>
3850       <string comment="" name="lineDirNumber" size="25" type="char"/>
3851       <string comment="" name="lineFullyQualifiedDisplayName" size="40" type="char"/>
3852       <string comment="" name="lineTextLabel" size="40" type="char"/>
3853     </fields>
3854   </message>
3855   <message comment="" direction="pbx2dev" dynamic="yes" msgtype="response" name="ServiceURLStatV2ResMessage" opcode="0x0148" request="0x0033" type="RegistrationAndManagement">
3856     <fields beginversion="0" endversion="22">
3857       <integer comment="" declare="yes" name="serviceURLIndex" req_resp_key="1" type="uint32"/>
3858     </fields>
3859   </message>
3860   <message comment="" direction="pbx2dev" dynamic="yes" msgtype="response" name="SpeedDialStatV2ResMessage" opcode="0x0149" request="0x000a" type="RegistrationAndManagement">
3861     <fields beginversion="0" endversion="22">
3862       <integer comment="" declare="yes" name="speedDialNumber" req_resp_key="1" type="uint32"/>
3863       <string comment="" name="speedDialDirNumber" size="24" type="char"/>
3864       <string comment="" name="speedDialDisplayName" size="40" type="char"/>
3865     </fields>
3866   </message>
3867   <message comment="" direction="pbx2dev" dynamic="yes" msgtype="event" name="CallInfoV2Message" opcode="0x014a" type="CallControl">
3868     <fields alignment="2">
3869       <integer comment="LineId" name="lineInstance" type="uint32"/>
3870       <integer comment="CallId" name="callReference" type="uint32"/>
3871       <enum comment="" name="callType" subtype="CallType" type="uint32"/>
3872       <integer comment="Original Called Party Redirect Reason" name="originalCdpnRedirectReason" type="uint32"/>
3873       <integer comment="Last Redirecting Reason" name="lastRedirectingReason" type="uint32"/>
3874       <integer comment="CallId" name="callInstance" type="uint32"/>
3875       <enum comment="" name="callSecurityStatus" subtype="CallSecurityStatusType" type="uint32"/>
3876       <bitfield comment="" name="partyPIRestrictionBits" size="uint32" subtype="RestrictInformationType" type="bitfield">
3877         <entries>
3878           <entry comment="" name="RestrictInformationType_CallingPartyName" text="CallingPartyName" value="0x0001"/>
3879           <entry comment="" name="RestrictInformationType_CallingPartyNumber" text="CallingPartyNumber" value="0x0002"/>
3880           <entry comment="" name="RestrictInformationType_CallingParty" text="CallingParty" value="0x0003"/>
3881           <entry comment="" name="RestrictInformationType_CalledPartyName" text="CalledPartyName" value="0x0004"/>
3882           <entry comment="" name="RestrictInformationType_CalledPartyNumber" text="CalledPartyNumber" value="0x0008"/>
3883           <entry comment="" name="RestrictInformationType_CalledParty" text="CalledParty" value="0x000c"/>
3884           <entry comment="" name="RestrictInformationType_OriginalCalledPartyName" text="OriginalCalledPartyName" value="0x0010"/>
3885           <entry comment="" name="RestrictInformationType_OriginalCalledPartyNumber" text="OriginalCalledPartyNumber" value="0x0020"/>
3886           <entry comment="" name="RestrictInformationType_OriginalCalledParty" text="OriginalCalledParty" value="0x0030"/>
3887           <entry comment="" name="RestrictInformationType_LastRedirectPartyName" text="LastRedirectPartyName" value="0x0040"/>
3888           <entry comment="" name="RestrictInformationType_LastRedirectPartyNumber" text="LastRedirectPartyNumber" value="0x0080"/>
3889           <entry comment="" name="RestrictInformationType_LastRedirectParty" text="LastRedirectParty" value="0x00c0"/>
3890           <entry comment="" name="RestrictInformationType_BitsReserved" text="BitsReserved" value="0xffffff00"/>
3891         </entries>
3892       </bitfield>
3893       <string comment="Calling Party Number" name="callingParty" size="VariableDirnumSize" type="char"/>
3894       <string comment="Alternate Calling Party Number" name="AlternateCallingParty" size="VariableDirnumSize" type="char"/>
3895       <string comment="CalledPartyNumber" name="calledParty" size="VariableDirnumSize" type="char"/>
3896       <string comment="Original Called Party Number" name="originalCalledParty" size="VariableDirnumSize" type="char"/>
3897       <string comment="Last Redirecting Party Number" name="lastRedirectingParty" size="VariableDirnumSize" type="char"/>
3898       <string comment="Calling Party Voicemail Box Number" name="cgpnVoiceMailbox" size="VariableDirnumSize" type="char"/>
3899       <string comment="Called Party Voicemail Box Number" name="cdpnVoiceMailbox" size="VariableDirnumSize" type="char"/>
3900       <string comment="Original Called Party Voicemail Box Number" name="originalCdpnVoiceMailbox" size="VariableDirnumSize" type="char"/>
3901       <string comment="Last Redirecting Parties Voicemail Box Number" name="lastRedirectingVoiceMailbox" size="VariableDirnumSize" type="char"/>
3902       <string comment="Calling Party Name" name="callingPartyName" size="121" type="char"/>
3903       <string comment="Called Party Name" name="calledPartyName" size="121" type="char"/>
3904       <string comment="Original Called Party Name" name="originalCalledPartyName" size="121" type="char"/>
3905       <string comment="Last Redirecting Party Name" name="lastRedirectingPartyName" size="121" type="char"/>
3906     </fields>
3907     <fields beginversion="17" endversion="22">
3908       <string comment="" name="HuntPilotNumber" size="VariableDirnumSize" type="char"/>
3909       <string comment="" name="HuntPilotName" size="121" type="char"/>
3910     </fields>
3911     <fields>
3912       <code type="calling_and_called_party" use_param="callingParty,calledParty"/>
3913     </fields>
3914   </message>
3915   <enum name="MediaTransportType">
3916     <entries>
3917       <entry comment="" name="MediaTransportType_RTP" text="RTP" value="0x0001"/>
3918       <entry comment="" name="MediaTransportType_UDP" text="UDP" value="0x0002"/>
3919       <entry comment="" name="MediaTransportType_TCP" text="TCP" value="0x0003"/>
3920     </entries>
3921   </enum>
3922   <message comment="" direction="pbx2dev" dynamic="no" msgtype="request" name="PortReqMessage" opcode="0x014b" type="MediaControl">
3923     <fields beginversion="0" endversion="22">
3924       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3925       <integer comment="CallId" name="callReference" type="uint32"/>
3926       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
3927       <enum comment="" name="mediaTransportType" subtype="MediaTransportType" type="uint32"/>
3928       <enum comment="" name="ipAddressType" subtype="IpAddrType" type="uint32"/>
3929       <enum comment="" name="mediaType" subtype="MediaType" type="uint32"/>
3930     </fields>
3931   </message>
3932   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="PortCloseMessage" opcode="0x014c" type="MediaControl">
3933     <fields beginversion="0" endversion="22">
3934       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3935       <integer comment="CallId" name="callReference" type="uint32"/>
3936       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
3937       <enum comment="" name="mediaType" subtype="MediaType" type="uint32"/>
3938     </fields>
3939   </message>
3940   <enum name="ResvStyle">
3941     <entries>
3942       <entry comment="" name="ResvStyle_FF" text="FF" value="0x0001"/>
3943       <entry comment="" name="ResvStyle_SE" text="SE" value="0x0002"/>
3944       <entry comment="" name="ResvStyle_WF" text="WF" value="0x0003"/>
3945     </entries>
3946   </enum>
3947   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="event" name="QoSListenMessage" opcode="0x014d" type="IntraCCM">
3948     <fields beginversion="0" endversion="22">
3949       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3950       <integer comment="CallId" name="callReference" type="uint32"/>
3951       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
3952       <ipv4or6 comment="ipaddress in big endian" endianness="big" name="remoteIpAddr" subtype="uint32" type="ipaddr" make_additional_info="yes"/>
3953       <integer comment="" name="remotePortNumber" subtype="uint32" type="ipport" use_param="remoteIpAddr" make_additional_info="yes"/>
3954       <enum comment="" name="resvStyle" subtype="ResvStyle" type="uint32"/>
3955       <integer comment="" name="maxRetryNumber" type="int32"/>
3956       <integer comment="" name="retryTimer" type="uint32"/>
3957       <integer comment="" name="confirmRequired" type="uint32"/>
3958       <integer comment="" name="preemptionPriority" type="uint32"/>
3959       <integer comment="" name="defendingPriority" type="uint32"/>
3960       <enum comment="" name="compressionType" subtype="Media_PayloadType" type="uint32"/>
3961       <integer comment="" name="averageBitRate" type="uint32"/>
3962       <integer comment="" name="burstSize" type="uint32"/>
3963       <integer comment="" name="peakRate" type="uint32"/>
3964       <struct comment="" name="applicationID" subtype="RSVPApplicationID" type="struct">
3965         <fields>
3966           <string comment="" name="vendorID" size="32" type="char"/>
3967           <string comment="" name="version" size="16" type="char"/>
3968           <string comment="" name="appName" size="32" type="char"/>
3969           <string comment="" name="subAppID" size="32" type="char"/>
3970         </fields>
3971       </struct>
3972     </fields>
3973   </message>
3974   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="event" name="QoSPathMessage" opcode="0x014e" type="IntraCCM">
3975     <fields beginversion="0" endversion="22">
3976       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
3977       <integer comment="CallId" name="callReference" type="uint32"/>
3978       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
3979       <ipv4or6 comment="ipaddress in big endian" endianness="big" name="remoteIpAddr" subtype="uint32" type="ipaddr" make_additional_info="yes"/>
3980       <integer comment="" name="remotePortNumber" subtype="uint32" type="ipport" use_param="remoteIpAddr" make_additional_info="yes"/>
3981       <enum comment="" name="resvStyle" subtype="ResvStyle" type="uint32"/>
3982       <integer comment="" name="maxRetryNumber" type="int32"/>
3983       <integer comment="" name="retryTimer" type="uint32"/>
3984       <integer comment="" name="preemptionPriority" type="uint32"/>
3985       <integer comment="" name="defendingPriority" type="uint32"/>
3986       <enum comment="" name="compressionType" subtype="Media_PayloadType" type="uint32"/>
3987       <integer comment="" name="averageBitRate" type="uint32"/>
3988       <integer comment="" name="burstSize" type="uint32"/>
3989       <integer comment="" name="peakRate" type="uint32"/>
3990       <struct comment="" name="applicationID" subtype="RSVPApplicationID" type="struct">
3991         <fields>
3992           <string comment="" name="vendorID" size="32" type="char"/>
3993           <string comment="" name="version" size="16" type="char"/>
3994           <string comment="" name="appName" size="32" type="char"/>
3995           <string comment="" name="subAppID" size="32" type="char"/>
3996         </fields>
3997       </struct>
3998     </fields>
3999   </message>
4000   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="event" name="QoSTeardownMessage" opcode="0x014f" type="IntraCCM">
4001     <fields beginversion="0" endversion="22">
4002       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
4003       <integer comment="CallId" name="callReference" type="uint32"/>
4004       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
4005       <ipv4or6 comment="ipaddress in big endian" endianness="big" name="remoteIpAddr" subtype="uint32" type="ipaddr" make_additional_info="yes"/>
4006       <integer comment="" name="remotePortNumber" subtype="uint32" type="ipport" use_param="remoteIpAddr" make_additional_info="yes"/>
4007       <enum comment="" name="direction" subtype="RSVPDirection" type="uint32"/>
4008     </fields>
4009   </message>
4010   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="event" name="UpdateDSCPMessage" opcode="0x0150" type="IntraCCM">
4011     <fields beginversion="0" endversion="22">
4012       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
4013       <integer comment="CallId" name="callReference" type="uint32"/>
4014       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
4015       <ipv4or6 comment="ipaddress in big endian" endianness="big" name="remoteIpAddr" subtype="uint32" type="ipaddr" make_additional_info="yes"/>
4016       <integer comment="" name="remotePortNumber" subtype="uint32" type="ipport" use_param="remoteIpAddr" make_additional_info="yes"/>
4017       <integer comment="" name="DSCPValue" type="uint32"/>
4018     </fields>
4019   </message>
4020   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="event" name="QoSModifyMessage" opcode="0x0151" type="IntraCCM">
4021     <fields beginversion="0" endversion="22">
4022       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
4023       <integer comment="CallId" name="callReference" type="uint32"/>
4024       <integer comment="PassThrough PartyId" name="passThroughPartyId" type="uint32"/>
4025       <ipv4or6 comment="ipaddress in big endian" endianness="big" name="remoteIpAddr" subtype="uint32" type="ipaddr" make_additional_info="yes"/>
4026       <integer comment="" name="remotePortNumber" subtype="uint32" type="ipport" use_param="remoteIpAddr" make_additional_info="yes"/>
4027       <enum comment="" name="direction" subtype="RSVPDirection" type="uint32"/>
4028       <enum comment="" name="compressionType" subtype="Media_PayloadType" type="uint32"/>
4029       <integer comment="" name="averageBitRate" type="uint32"/>
4030       <integer comment="" name="burstSize" type="uint32"/>
4031       <integer comment="" name="peakRate" type="uint32"/>
4032       <struct comment="" name="applicationID" subtype="RSVPApplicationID" type="struct">
4033         <fields>
4034           <string comment="" name="vendorID" size="32" type="char"/>
4035           <string comment="" name="version" size="16" type="char"/>
4036           <string comment="" name="appName" size="32" type="char"/>
4037           <string comment="" name="subAppID" size="32" type="char"/>
4038         </fields>
4039       </struct>
4040     </fields>
4041   </message>
4042   <enum name="SubscribeCause">
4043     <entries>
4044       <entry comment="" name="SubscribeCause_OK" text="OK" value="0x0000"/>
4045       <entry comment="" name="SubscribeCause_RouteFail" text="RouteFail" value="0x0001"/>
4046       <entry comment="" name="SubscribeCause_AuthFail" text="AuthFail" value="0x0002"/>
4047       <entry comment="" name="SubscribeCause_Timeout" text="Timeout" value="0x0003"/>
4048       <entry comment="" name="SubscribeCause_TrunkTerm" text="TrunkTerm" value="0x0004"/>
4049       <entry comment="" name="SubscribeCause_TrunkForbidden" text="TrunkForbidden" value="0x0005"/>
4050       <entry comment="" name="SubscribeCause_Throttle" text="Throttle" value="0x0006"/>
4051     </entries>
4052   </enum>
4053   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="SubscriptionStatResMessage" opcode="0x0152" request="0x0048" status="result" type="RegistrationAndManagement">
4054     <fields beginversion="0" endversion="22">
4055       <integer comment="" declare="yes" name="transactionId" req_resp_key="1" type="uint32"/>
4056       <enum comment="" name="subscriptionFeatureID" subtype="SubscriptionFeatureID" type="uint32"/>
4057       <integer comment="" name="timer" type="uint32"/>
4058       <enum comment="" name="cause" subtype="SubscribeCause" type="uint32"/>
4059     </fields>
4060   </message>
4061   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="NotificationMessage" opcode="0x0153" type="RegistrationAndManagement">
4062     <fields alignment="4" beginversion="0" endversion="22">
4063       <integer comment="" name="transactionId" type="uint32"/>
4064       <enum comment="" name="subscriptionFeatureID" subtype="SubscriptionFeatureID" type="uint32"/>
4065       <integer comment="" name="notificationStatus" type="uint32"/>
4066       <string comment="" name="text" size="97" type="char"/>
4067     </fields>
4068   </message>
4069   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="StartMediaTransmissionAckMessage" opcode="0x0154" request="0x008a" type="MediaControl">
4070     <fields>
4071       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
4072       <integer comment="PassThrough PartyId" declare="yes" name="passThroughPartyId" req_resp_key="1" type="uint32"/>
4073       <integer comment="CallId" name="callReference" type="uint32"/>
4074       <ipv4or6 comment="ipaddress in big endian" endiannes="big" endianness="big" name="transmitIpAddr" subtype="IpAddress" type="ipaddr" make_additional_info="yes"/>
4075       <integer comment="transmit Port" declare="yes" name="portNumber" subtype="uint32" type="ipport" use_param="transmitIpAddr" make_additional_info="yes"/>
4076       <enum comment="" name="mediaTransmissionStatus" subtype="MediaStatus" type="uint32"/>
4077     </fields>
4078   </message>
4079   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="StartMultiMediaTransmissionAckMessage" opcode="0x0155" request="0x0132" type="MediaControl">
4080     <fields>
4081       <integer comment="Conference ID" name="conferenceId" type="uint32"/>
4082       <integer comment="PassThrough PartyId" declare="yes" name="passThroughPartyId" req_resp_key="1" type="uint32"/>
4083       <integer comment="CallId" name="callReference" type="uint32"/>
4084       <ipv4or6 comment="ipaddress in big endian" endiannes="big" endianness="big" name="transmitIpAddr" subtype="IpAddress" type="ipaddr" make_additional_info="yes"/>
4085       <integer comment="transmit Port" declare="yes" name="portNumber" subtype="uint32" type="ipport" use_param="transmitIpAddr" make_additional_info="yes"/>
4086       <enum comment="" name="multimediaTransmissionStatus" subtype="MediaStatus" type="uint32"/>
4087     </fields>
4088   </message>
4089   <enum name="CallHistoryDisposition">
4090     <entries>
4091       <entry comment="" name="CallHistoryDisposition_UnknownDisp" text="UnknownDisp" value="0xffff"/>
4092       <entry comment="" name="CallHistoryDisposition_Ignore" text="Ignore" value="0x0000"/>
4093       <entry comment="" name="CallHistoryDisposition_PlacedCalls" text="PlacedCalls" value="0x0001"/>
4094       <entry comment="" name="CallHistoryDisposition_ReceivedCalls" text="ReceivedCalls" value="0x0002"/>
4095       <entry comment="" name="CallHistoryDisposition_MissedCalls" text="MissedCalls" value="0x0003"/>
4096     </entries>
4097   </enum>
4098   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="CallHistoryInfoMessage" opcode="0x0156" type="CallControl">
4099     <fields beginversion="0" endversion="22">
4100       <enum comment="" name="callHistoryDisposition" subtype="CallHistoryDisposition" type="uint32"/>
4101       <integer comment="LineId" name="lineInstance" type="uint32"/>
4102       <integer comment="CallId" name="callReference" type="uint32"/>
4103     </fields>
4104   </message>
4105   <message comment="Sent by wifi devices, contains xml information about connected SSID" direction="pbx2dev" dynamic="no" msgtype="event" name="LocationInfoMessage" opcode="0x0157" type="RegistrationAndManagement">
4106     <fields alignment="4" beginversion="0" endversion="22">
4107       <string comment="" name="locationInfo" size="2401" type="char"/>
4108     </fields>
4109   </message>
4110   <enum name="MwiNotificationResult">
4111     <entries>
4112       <entry comment="" name="MwiNotificationResult_Ok" text="Ok" value="0x0000"/>
4113       <entry comment="" name="MwiNotificationResult_GeneralError" text="GeneralError" value="0x0001"/>
4114       <entry comment="" name="MwiNotificationResult_RequestRejected" text="RequestRejected" value="0x0002"/>
4115       <entry comment="" name="MwiNotificationResult_VmCountOutOfBounds" text="VmCountOutOfBounds" value="0x0003"/>
4116       <entry comment="" name="MwiNotificationResult_FaxCountOutOfBounds" text="FaxCountOutOfBounds" value="0x0004"/>
4117       <entry comment="" name="MwiNotificationResult_InvalidPriorityVmCount" text="InvalidPriorityVmCount" value="0x0005"/>
4118       <entry comment="" name="MwiNotificationResult_InvalidPriorityFaxCount" text="InvalidPriorityFaxCount" value="0x0006"/>
4119     </entries>
4120   </enum>
4121   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="response" name="MwiResMessage" opcode="0x0158" request="0x004c" type="RegistrationAndManagement">
4122     <fields beginversion="0" endversion="22">
4123       <string comment="" name="mwiTargetNumber" size="25" type="char"/>
4124       <enum comment="" name="mwi_notification_result" subtype="MwiNotificationResult" type="uint32"/>
4125     </fields>
4126   </message>
4127   <message comment="" direction="dev2pbx" dynamic="no" msgtype="event" name="AddOnDeviceCapabilitiesMessage" opcode="0x0159" type="RegistrationAndManagement">
4128     <fields beginversion="0" endversion="22">
4129       <integer name="unknown1_0159" type="uint32"/>
4130       <integer name="unknown2_0159" type="uint32"/>
4131       <integer name="unknown3_0159" type="uint32"/>
4132       <string name="unknownString_0159" size="152" type="char"/>
4133     </fields>
4134   </message>
4135   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="EnhancedAlarmMessage" opcode="0x015a" type="RegistrationAndManagement">
4136     <fields alignment="4" beginversion="0" endversion="22">
4137       <xml comment="" name="alarmInfo" size="2048" type="xml"/>
4138     </fields>
4139   </message>
4140   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="request" name="CallCountReqMessage" opcode="0x015e" type="CallControl"/>
4141   <message comment="" direction="pbx2pbx" dynamic="no" msgtype="response" name="CallCountRespMessage" opcode="0x015f" request="0x015e" type="CallControl">
4142     <fields beginversion="0" endversion="22">
4143       <integer comment="Total Number of Configured Lines" name="totalNumOfConfiguredLines" type="uint32"/>
4144       <integer comment="Starting Line Instance" name="startingLineInstance" type="uint32"/>
4145       <integer comment="Number of Line Data Entries" declare="yes" name="lineDataEntries" type="uint32"/>
4146       <struct comment="" maxsize="42" name="lineData" size_fieldname="lineDataEntries" subtype="LineData" type="struct">
4147         <fields>
4148           <integer comment="" name="maxNumCalls" type="uint16"/>
4149           <integer comment="" name="busyTrigger" type="uint16"/>
4150         </fields>
4151       </struct>
4152     </fields>
4153   </message>
4154   <enum name="RecordingStatus">
4155     <entries>
4156       <entry comment="" name="RecordingStatus__OFF" text="_OFF" value="0x0000"/>
4157       <entry comment="" name="RecordingStatus__ON" text="_ON" value="0x0001"/>
4158     </entries>
4159   </enum>
4160   <message comment="" direction="pbx2dev" dynamic="no" msgtype="event" name="RecordingStatusMessage" opcode="0x0160" type="CallControl">
4161     <fields beginversion="0" endversion="22">
4162       <integer comment="CallId" name="callReference" type="uint32"/>
4163       <enum comment="" name="recording_status" subtype="RecordingStatus" type="uint32"/>
4164     </fields>
4165   </message>
4166   <message comment="" direction="dev2pbx" dynamic="no" msgtype="request" name="SPCPRegisterTokenReq" opcode="0x8000" type="RegistrationAndManagement">
4167     <fields beginversion="0" endversion="22">
4168       <struct comment="" name="sid" type="struct">
4169         <fields>
4170           <string comment="Device Name" name="DeviceName" size="16" type="char"/>
4171           <integer comment="User Id" name="reserved_for_future_use" type="uint32"/>
4172           <integer comment="Device Instance" name="instance" type="uint32"/>
4173         </fields>
4174       </struct>
4175       <integer comment="" name="stationIpAddr" type="uint32"/>
4176       <enum comment="" name="deviceType" subtype="DeviceType" type="uint32"/>
4177       <integer comment="" name="maxStreams" type="uint32"/>
4178     </fields>
4179   </message>
4180   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="SPCPRegisterTokenAck" opcode="0x8100" request="0x8000" type="RegistrationAndManagement">
4181     <fields beginversion="0" endversion="22">
4182       <integer comment="" name="features" type="uint32"/>
4183     </fields>
4184   </message>
4185   <message comment="" direction="pbx2dev" dynamic="no" msgtype="response" name="SPCPRegisterTokenReject" opcode="0x8101" request="0x8000" type="RegistrationAndManagement">
4186     <fields beginversion="0" endversion="22">
4187       <integer comment="" name="waitTimeBeforeNextReq" type="uint32"/>
4188     </fields>
4189   </message>
4190 </messages>