Нотификация с информацией о разговорах оператора.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="monitor.xsd"/>
<xs:include schemaLocation="conversation.xsd"/>
<xs:complexType name="ConversationsEventType">
<xs:sequence>
<xs:element name="conversation" type="Conversation" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:element name="event">
<xs:complexType>
<xs:complexContent>
<xs:extension base="baseEventType">
<xs:sequence>
<xs:element name="conversations" type="ConversationsEventType"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:schema>
XML
0100000006639999200
[
{
"_name": "event",
"_attributes": {
"name": "conversations_event",
"timestamp": "2020/12/15 09:32:03",
"entity": "104"
},
"_content": [
{
"_name": "conversations",
"_content": [
{
"_name": "conversation",
"_attributes": {
"id": "0647f406344ff68b",
"call_ref": "3689684372030578994",
"type": "call",
"status": "alerting",
"acd": "true",
"direction": "in",
"ref": "{<<\"0647f4061e402b4d\">>,182}",
"is_consult": "false",
"display_name_a": "................ 1",
"display_name_b": "",
"fax_receive": "true",
"digits_b": "104",
"digits_a": "101",
"queue_id": "test_line",
"queue_description": "",
"start_time": "2020/12/15 09:32:03",
"intervention": "true"
},
"_content": [
{
"_name": "additional_info"
}
]
}
]
}
]
}
]
PY