Hc_iface - Управление интерфейсами
Hc_iface_group_owner_info
Команда позволяет вывести список свойств групп интерфейсов.
Могут быть следующие группы интерфейсов: сгруппированные по владельцу, по имени группы, по владельцу и имени группы, глобальная группа.
Аналог команды в CoCon:
/cluster/storage/<CLUSTER>/iface/group-info
/domain/<DOMAIN>/iface/group-info
Метод HTTP-запроса:
POST
Шаблон HTTP-запроса:
http://host:port/commands/iface_group_owner_info
Код HTTP-ответа:
При выполнении команды HTTP-терминал может ответить следующими сообщениями:
- 200 – в случае успеха;
- 404 – в случае ошибки.
XSD-схема XML-файла запроса/ответа:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- propertyTypeType-->
<xs:simpleType name="propertyTypeType">
<xs:restriction base="xs:string">
<xs:enumeration value="global"/>
<xs:enumeration value="owner"/>
<xs:enumeration value="group"/>
<xs:enumeration value="group_owner"/>
</xs:restriction>
</xs:simpleType>
<!-- propertyType-->
<xs:complexType name="propertyType">
<xs:attribute name="type" type="propertyTypeType" use="required"/>
<xs:attribute name="key" type="xs:string" use="required"/>
<xs:attribute name="value" type="xs:string" use="required"/>
</xs:complexType>
<!-- in-->
<xs:element name="in">
<xs:complexType>
<xs:all>
<xs:element name="request">
<xs:complexType>
<xs:attribute name="owner" type="xs:string" use="optional"/>
<xs:attribute name="group" type="xs:string" use="optional"/>
<xs:attribute name="domain" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
<!-- out-->
<xs:element name="out">
<xs:complexType>
<xs:all>
<xs:element name="header">
<xs:complexType>
<xs:attribute name="owner" type="xs:string" use="required"/>
<xs:attribute name="group" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="properties">
<xs:complexType>
<xs:sequence>
<xs:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>
Примеры:
Пример запроса информации о глобальной группе:
Запрос: http://192.168.1.21:9999/commands/iface_group_owner_info
<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_group_owner_info.xsd">
<request domain="biysk.local"/>
</in>
Ответ:
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_group_owner_info.xsd">
<header group="*" owner="*"/>
<properties/>
</out>
Пример запроса информации о группе по владельцу:
Запрос: http://192.168.1.21:9999/commands/iface_group_owner_info
<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_group_owner_info.xsd">
<request owner="sip1" domain="biysk.local"/>
</in>
Ответ:
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_group_owner_info.xsd">
<header group="*" owner="sip1"/>
<properties/>
</out>
Пример запроса информации о группе по имени группы:
Запрос: http://192.168.1.21:9999/commands/iface_group_owner_info
<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_group_owner_info.xsd">
<request group="loc.gr" domain="biysk.local"/>
</in>
Ответ:
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_group_owner_info.xsd">
<header group="loc.gr" owner="*"/>
<properties>
<property type="group" key="gate" value="{gate_amqp,<<"acp.adapter.init.ex">>,<<"acp.sip.sip1.ipset1.init.rk">>}"/>
<property type="group" key="group" value="{gate_amqp,<<"acp.adapter.init.ex">>,<<"acp.sip.sip1.ipset1.init.rk">>}"/>
<property type="group" key="owner" value=""sip1""/>
</properties>
</out>
Пример запроса информации о группе по имени группы и владельцу:
Запрос: http://192.168.1.21:9999/commands/iface_group_owner_info
<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_group_owner_info.xsd">
<request owner="sip1" group="loc.gr" domain="biysk.local"/>
</in>
Ответ:
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_group_owner_info.xsd">
<header group="loc.gr" owner="sip1"/>
<properties>
<property type="group" key="gate" value="{gate_amqp,<<"acp.adapter.init.ex">>,<<"acp.ecss10.sip1.init.rk">>}"/>
<property type="group" key="owner" value=""sip1""/>
<property type="group" key="terminal_type" value="basic"/>
</properties>
</out>
Hc_iface_group_owner_list
Команда позволяет вывести список владельцев, каждый из которых содержит список групп интерфейсов, определенных для данного владельца.
Аналог команды в CoCon:
/cluster/storage/<CLUSTER>/iface/list
Метод HTTP-запроса:
POST
Шаблон HTTP-запроса:
http://host:port/commands/iface_group_owner_list
Код HTTP-ответа:
При выполнении команды HTTP-терминал может ответить следующими сообщениями:
- 200 – в случае успеха;
- 404 – в случае ошибки.
XSD-схема XML-файла запроса/ответа:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- ownerType-->
<xs:simpleType name="ownerTypeType">
<xs:restriction base="xs:string">
<xs:enumeration value="sip" />
<xs:enumeration value="megaco" />
<xs:enumeration value="virtual" />
<xs:enumeration value="cc" />
<xs:enumeration value="other" />
</xs:restriction>
</xs:simpleType>
<!-- groupType-->
<xs:complexType name="groupType">
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<!-- ownerType-->
<xs:complexType name="ownerType">
<xs:sequence>
<xs:element name="groups">
<xs:complexType>
<xs:sequence>
<xs:element name="group" type="groupType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="type" type="ownerTypeType" use="required"/>
</xs:complexType>
<!-- in-->
<xs:element name="in">
<xs:complexType>
<xs:all>
<xs:element name="request">
<xs:complexType>
<xs:attribute name="domain" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
<!-- out-->
<xs:element name="out">
<xs:complexType>
<xs:sequence>
<xs:element name="owners">
<xs:complexType>
<xs:sequence>
<xs:element name="owner" type="ownerType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Пример:
В данном примере запрашиваются все пары {Owner, Group}, относящиеся к домену biysk.local.
Запрос:
http://192.168.1.21:9999/commands/iface_group_owner_list
<in
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_iface_group_owner_list.xsd">
<request domain="biysk.local"></request>
</in>
Ответ:
<?xml version="1.0"?>
<out xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_iface_group_owner_list.xsd">
<owners>
<owner name="sip1" type="sip">
<groups>
<group name="sip.ab"/>
</groups>
</owner>
<owner name="megaco1" type="megaco">
<groups/>
</owner>
<owner name=".virtual" type="other">
<groups/>
</owner>
<owner name=".system_bridge" type="other">
<groups/>
</owner>
<owner name=".system" type="other">
<groups>
<group name=".system"/>
</groups>
</owner>
</owners>
</out>
Hc_iface_list
Команда позволяет вывести список интерфейсов, определенных для конкретного домена.
Аналог команды в CoCon:
/domain/<DOMAIN>/iface/list
Метод HTTP-запроса:
POST
Шаблон HTTP-запроса:
http://host:port/commands/iface_list
Код HTTP-ответа:
При выполнении команды HTTP-терминал может ответить следующими сообщениями:
- 200 – в случае успеха;
- 404 – в случае ошибки.
XSD-схема XML-файла запроса/ответа:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<!-- ifaceType -->
<xs:complexType name="ifaceType">
<xs:attribute name="id" type="xs:string" use="required"/>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="owner" type="xs:string" use="required"/>
<xs:attribute name="group" type="xs:string" use="required"/>
<xs:attribute name="type" type="xs:string" use="required"/>
<xs:attribute name="active" type="xs:string" use="required"/>
</xs:complexType>
<!-- ifacesType -->
<xs:complexType name="ifacesType">
<xs:sequence>
<xs:element name="iface" type="ifaceType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<!-- in-->
<xs:element name="in">
<xs:complexType>
<xs:all>
<xs:element name="request">
<xs:complexType>
<xs:attribute name="domain" type="xs:string" use="required"/>
<xs:attribute name="owner" type="xs:string" use="optional"/>
<xs:attribute name="group" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
<!-- out-->
<xs:element name="out">
<xs:complexType>
<xs:all>
<xs:element name="ifaces" type="ifacesType"/>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>
Примеры:
Пример запроса всех интерфейсов в определенном домене:
Запрос: http://192.168.1.21:9999/commands/iface_list
<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_iface_list.xsd">
<request domain="biysk.local"/>
</in>
Ответ:
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_iface_list.xsd">
<ifaces>
<iface id="06201d997b9cd8f1" name="240616@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba7a370" name="240746@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbfe52b" name="240523@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d99c5808f5c" name="240467@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9b2eda" name="240612@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba1611b" name="240646@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba57b52" name="240705@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc26dd0" name="240597@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba51fb9" name="240701@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d99572726d4" name="240003@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba184fa" name="240652@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc21231" name="240585@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc1abf4" name="240579@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba47b8a" name="240681@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba6fb36" name="240732@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba6dd41" name="240727@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0cb2d" name="240551@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba9f6e1" name="240752@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc1fe47" name="240582@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bafc12e" name="240765@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba56c1c" name="240703@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba46db8" name="240679@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d9967078294" name="240470@biysk.local" owner="sip1" group="loc.gr" type="sip" active="true"/>
<iface id="06201d997ba5cd8c" name="240715@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4dce6" name="240690@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba57468" name="240704@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba43d7a" name="240671@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc15951" name="240565@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba6f53c" name="240731@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0acbd" name="240546@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba19b51" name="240656@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc16bb1" name="240568@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb0160e" name="240779@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba17e71" name="240651@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc1b0e1" name="240580@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc020e9" name="240533@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997baff7c3" name="240774@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc206fa" name="240583@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb01c19" name="240780@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc1a573" name="240578@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d99bedc3c0c" name="240466@biysk.local" owner="sip1" group="loc.gr" type="sip" active="true"/>
<iface id="06201d997b9db807" name="240628@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0316f" name="240536@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="smg-4" name="smg-4" owner="sip1" group="smg.gr" type="sip" active="true"/>
<iface id="06201d99d02a910b" name="240473@biysk.local" owner="sip1" group="loc.gr" type="sip" active="true"/>
<iface id="06201d997bafec03" name="240772@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba46191" name="240677@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997baa029e" name="240754@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf2127" name="240508@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb0095b" name="240777@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc12fa0" name="240562@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc03fff" name="240538@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="to_aster" name="to_aster" owner="sip1" group="sbc.gr" type="sip" active="true"/>
<iface id="06201d997ba407d9" name="240663@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc21da4" name="240587@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb663d2" name="240792@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9b03b0" name="240605@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba42485" name="240667@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d995549d606" name="240002@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bafd9e6" name="240769@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4a0d2" name="240684@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbefbb1" name="240502@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc00ea0" name="240530@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc09448" name="240542@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="ems1" name="ems1" owner="sip1" group="ssw.gr" type="sip" active="true"/>
<iface id="06201d997ba79037" name="240743@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0b977" name="240548@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba7b447" name="240749@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc02b36" name="240535@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf27d1" name="240509@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbeeadc" name="240500@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0c544" name="240550@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc107d4" name="240561@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb01056" name="240778@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d99ca603a45" name="240471@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996ae36652" name="240316@biysk.local" owner="sip1" group="loc.gr" type="sip" active="true"/>
<iface id="06201d997bb67bb9" name="240796@biysk.local" owner="sip1" group="gr2" type="sip" active="false"/>
<iface id="06201d997ba14174" name="240641@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4ac2e" name="240686@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba66014" name="240718@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9af0ec" name="240602@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba9fc9a" name="240753@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc171ec" name="240569@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba5c761" name="240714@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba172f9" name="240649@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997baa19bc" name="240758@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4d62e" name="240689@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba14999" name="240642@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba70140" name="240733@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba74c70" name="240742@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0a0cf" name="240544@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb03568" name="240784@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc24410" name="240590@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba50d35" name="240698@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba1af4d" name="240659@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba70e9e" name="240735@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba70754" name="240734@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0d12a" name="240552@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc16501" name="240567@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc008cf" name="240529@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4f4ad" name="240694@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb67557" name="240795@biysk.local" owner="sip1" group="gr2" type="sip" active="false"/>
<iface id="06201d997ba46712" name="240678@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc17c8c" name="240571@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0fb02" name="240559@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba07bb7" name="240636@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba45523" name="240675@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0ef65" name="240557@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="system:ivr" name="system:ivr" owner=".system" group=".system" type="system" active="true"/>
<iface id="06201d997ba5c186" name="240713@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9b1c47" name="240609@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb6575b" name="240790@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf5128" name="240512@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba6c202" name="240723@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="ems3" name="ems3" owner="sip1" group="gr2" type="sip" active="true"/>
<iface id="06201d997ba74043" name="240740@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bafcd00" name="240767@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb0293a" name="240782@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4eed7" name="240693@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9b3b3d" name="240614@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbef478" name="240501@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bafd3cb" name="240768@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb6695d" name="240793@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d995367ebd6" name="240001@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9af769" name="240603@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0032f" name="240528@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb00329" name="240776@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9b0952" name="240606@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0bf8a" name="240549@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4e862" name="240692@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc18d90" name="240574@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf79a1" name="240515@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf8c6f" name="240518@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9aea00" name="240601@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbfd226" name="240520@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc08655" name="240540@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d99b55f3b65" name="240101@biysk.local" owner="sip1" group="loc.gr" type="sip" active="true"/>
<iface id="06201d997ba735a4" name="240738@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba5d205" name="240716@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9ae0f8" name="240600@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996148681b" name="240464@biysk.local" owner="sip1" group="loc.gr" type="sip" active="true"/>
<iface id="06201d996cc26775" name="240596@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997baa5ab6" name="240762@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d995cf20b77" name="240244@biysk.local" owner="sip1" group="loc.gr" type="sip" active="true"/>
<iface id="06201d997ba6769f" name="240721@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4c9d5" name="240687@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf734f" name="240514@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba190ad" name="240654@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9da6fd" name="240625@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba5072f" name="240697@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9dbe6f" name="240629@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc01a81" name="240532@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9b3519" name="240613@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc09b81" name="240543@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba67c76" name="240722@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc177e6" name="240570@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d995afd2590" name="240100@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bafba16" name="240764@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba1b547" name="240660@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0459b" name="240539@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbfcad5" name="240519@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba16da6" name="240648@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf8643" name="240517@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997baa080e" name="240755@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba093e0" name="240640@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0b24b" name="240547@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc25620" name="240593@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9ccfcb" name="240615@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="ems2" name="ems2" owner="sip1" group="ssw.gr" type="sip" active="true"/>
<iface id="06201d997ba45bb8" name="240676@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9da0be" name="240624@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997baa1fa8" name="240759@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba15643" name="240644@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9dc9fa" name="240631@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4a694" name="240685@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4e211" name="240691@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997baa0d5a" name="240756@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="bsk1" name="bsk1" owner="sip1" group="ssw.gr" type="sip" active="true"/>
<iface id="06201d997ba500de" name="240696@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf4a88" name="240511@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="system:teleconference" name="system:teleconference" owner=".system" group=".system" type="system" active="true"/>
<iface id="06201d997bb66f98" name="240794@biysk.local" owner="sip1" group="gr3" type="sip" active="false"/>
<iface id="06201d997b9b0fac" name="240607@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba7a8ab" name="240747@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba41e73" name="240666@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba9e404" name="240750@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba51319" name="240699@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb07909" name="240785@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc08ed5" name="240541@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba06e75" name="240634@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc229a9" name="240589@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc15206" name="240564@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc193f2" name="240575@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997baa38d8" name="240761@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc27329" name="240598@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997baa25a0" name="240760@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba087ac" name="240638@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d9958ea64ce" name="240006@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0a62c" name="240545@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9dc34c" name="240630@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997baffd7a" name="240775@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba74675" name="240741@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf7fb6" name="240516@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d99a7f0e0b2" name="240007@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9b2841" name="240611@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba15cbe" name="240645@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc26224" name="240595@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba6d049" name="240725@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba59923" name="240710@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d9964cd06ea" name="240469@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9cdfba" name="240617@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba71484" name="240736@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb0815d" name="240786@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d99d5a0c2bf" name="240475@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba59f87" name="240711@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc19f36" name="240577@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba150c3" name="240643@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba1c1ac" name="240662@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4d0c8" name="240688@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9dac91" name="240626@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba44f73" name="240674@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba1a495" name="240657@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba056f9" name="240633@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc15f4e" name="240566@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba58dff" name="240708@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bafdf9f" name="240770@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9b2213" name="240610@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba6cac1" name="240724@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc20cdb" name="240584@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="to_sipp" name="to_sipp" owner="sip1" group="sbc.gr" type="sip" active="true"/>
<iface id="06201d997b9d9bab" name="240623@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9d866c" name="240620@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4115a" name="240664@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf0256" name="240503@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc250cb" name="240592@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc02511" name="240534@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9d8ff2" name="240621@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d995ea15094" name="240462@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba5258f" name="240702@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba08168" name="240637@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbffd69" name="240527@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc25c20" name="240594@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf2dbb" name="240510@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba6efa2" name="240730@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc1b601" name="240581@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba1960b" name="240655@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba04d7e" name="240632@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb63ee6" name="240787@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="bsk2" name="bsk2" owner="sip1" group="ssw.gr" type="sip" active="true"/>
<iface id="06201d997ba5d843" name="240717@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9ce5b8" name="240618@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba58110" name="240706@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997baff227" name="240773@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba44918" name="240673@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba18ab2" name="240653@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bafe63d" name="240771@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0141c" name="240531@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc24b87" name="240591@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba71967" name="240737@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9b1684" name="240608@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0e3c7" name="240555@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bafc7ca" name="240766@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb65dd4" name="240791@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9db2f2" name="240627@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4376b" name="240670@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc10198" name="240560@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba418ba" name="240665@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba73b0e" name="240739@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc21837" name="240586@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4316f" name="240669@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0f5fb" name="240558@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbfebe3" name="240524@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba08d9a" name="240639@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba5191a" name="240700@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb64a90" name="240788@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9afdab" name="240604@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9d95d5" name="240622@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba5a51a" name="240712@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba1aa5a" name="240658@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba1bb79" name="240661@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbff77e" name="240526@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb65157" name="240789@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba6d736" name="240726@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996900719e" name="240474@biysk.local" owner="sip1" group="loc.gr" type="sip" active="true"/>
<iface id="06201d997ba9f005" name="240751@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf1528" name="240506@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc1999e" name="240576@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba7ae56" name="240748@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997baa135c" name="240757@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba44380" name="240672@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba49808" name="240683@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4758d" name="240680@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba79d44" name="240745@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba4fa2f" name="240695@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997b9cebbc" name="240619@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc27832" name="240599@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc1362e" name="240563@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba48114" name="240682@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba67004" name="240720@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba6e964" name="240729@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba5879e" name="240707@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba1780c" name="240650@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bafaf51" name="240763@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb02329" name="240781@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997bb02fc1" name="240783@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="nsk_sbc" name="nsk_sbc" owner="sip1" group="sbc.gr" type="sip" active="true"/>
<iface id="06201d996cc0d847" name="240553@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba075fc" name="240635@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0dea7" name="240554@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbff1f4" name="240525@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba797d2" name="240744@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d9963139bb7" name="240465@biysk.local" owner="sip1" group="loc.gr" type="sip" active="true"/>
<iface id="06201d996cbf1b0c" name="240507@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0377d" name="240537@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf6cf0" name="240513@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc1880b" name="240573@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf0979" name="240504@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba42b9c" name="240668@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbfd9ae" name="240521@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba593cf" name="240709@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbfdf73" name="240522@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc0e94a" name="240556@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba66a5d" name="240719@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba6e303" name="240728@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc1821a" name="240572@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d997ba16772" name="240647@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cbf0f2f" name="240505@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
<iface id="06201d996cc223c5" name="240588@biysk.local" owner="sip1" group="loc.gr" type="sip" active="false"/>
</ifaces>
</out>
Пример запроса всех интерфейсов по определенной группе и домену:
Запрос: http://192.168.1.21:9999/commands/iface_list
<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_iface_list.xsd">
<request domain="biysk.local" group="sbc.gr"/>
</in>
Ответ:
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_iface_list.xsd">
<ifaces>
<iface id="nsk_sbc" name="nsk_sbc" owner="sip1" group="sbc.gr" type="sip" active="true"/>
<iface id="to_aster" name="to_aster" owner="sip1" group="sbc.gr" type="sip" active="true"/>
<iface id="to_sipp" name="to_sipp" owner="sip1" group="sbc.gr" type="sip" active="true"/>
</ifaces>
</out>
Пример запроса всех интерфейсов определенного владельца в определенной группе и домене:
Запрос: http://192.168.1.21:9999/commands/iface_list
<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_iface_list.xsd">
<request domain="biysk.local" owner="sip1" group="ssw.gr"/>
</in>
Ответ:
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_iface_list.xsd">
<ifaces>
<iface id="bsk1" name="bsk1" owner="sip1" group="ssw.gr" type="sip" active="true"/>
<iface id="bsk2" name="bsk2" owner="sip1" group="ssw.gr" type="sip" active="true"/>
<iface id="ems1" name="ems1" owner="sip1" group="ssw.gr" type="sip" active="true"/>
<iface id="ems2" name="ems2" owner="sip1" group="ssw.gr" type="sip" active="true"/>
</ifaces>
</out>
Hc_iface_info
Команда позволяет вывести список свойств определенного интерфейса, или noIface, если интерфейс не существует.
Аналог команды в CoCon:
/cluster/storage/<CLUSTER>/iface/info
Метод HTTP-запроса:
POST
Шаблон HTTP-запроса:
http://host:port/commands/iface_info
Код HTTP-ответа:
При выполнении команды HTTP-терминал может ответить следующими сообщениями:
- 200 – в случае успеха;
- 404 – в случае ошибки.
XSD-схема XML-файла запроса/ответа:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- propertyTypeType-->
<xs:simpleType name="propertyTypeType">
<xs:restriction base="xs:string">
<xs:enumeration value="global"/>
<xs:enumeration value="owner"/>
<xs:enumeration value="group"/>
<xs:enumeration value="group_owner"/>
<xs:enumeration value="iface"/>
</xs:restriction>
</xs:simpleType>
<!-- propertyType-->
<xs:complexType name="propertyType">
<xs:attribute name="type" type="propertyTypeType" use="required"/>
<xs:attribute name="key" type="xs:string" use="required"/>
<xs:attribute name="value" type="xs:string" use="required"/>
</xs:complexType>
<!-- ifaceRequestType-->
<xs:complexType name="ifaceRequestType">
<xs:attribute name="id" type="xs:string" use="required"/>
</xs:complexType>
<!-- requestType -->
<xs:complexType name="requestType">
<xs:sequence>
<xs:element name="iface" type="ifaceRequestType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="domain" type="xs:string" use="required"/>
<xs:attribute name="property" type="xs:string" use="optional"/>
</xs:complexType>
<!-- ifaceResponseType-->
<xs:complexType name="ifaceResponseType">
<xs:all>
<xs:element name="properties">
<xs:complexType>
<xs:sequence>
<xs:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="iface" type="xs:string" use="required"/>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="owner" type="xs:string" use="required"/>
<xs:attribute name="group" type="xs:string" use="required"/>
<xs:attribute name="active" type="xs:boolean" use="required"/>
</xs:complexType>
<!-- noIfaceType-->
<xs:complexType name="noIfaceType">
<xs:attribute name="iface" type="xs:string" use="required"/>
</xs:complexType>
<!-- in-->
<xs:element name="in">
<xs:complexType>
<xs:all>
<xs:element name="request" type="requestType"/>
</xs:all>
</xs:complexType>
</xs:element>
<!-- out-->
<xs:element name="out">
<xs:complexType>
<xs:sequence>
<xs:element name="iface" type="ifaceResponseType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="noIface" type="noIfaceType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Пример запроса информации о существующем интерфейсе:
Запрос: http://192.168.1.21:9999/commands/iface_info
<?xml version="1.0" encoding="UTF-8"?>
<in
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_iface_info.xsd">
<request domain="biysk.local">
<iface id="56089554a52e2f44" />
</request>
</in>
Ответ:
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_iface_info.xsd">
<iface iface="smg-4" name="smg-4" owner="sip1" group="smg.gr" active="true">
<properties>
<property type="iface" key="media-profile" value="{media_profile,"default",user, [{media_profile_codecs,'<other>', [{media_profile_codec,<<"<other>">>,<<"*">>,true,#{}}], #{offroad => false,'rtcp-enabled' => true}}, {media_profile_codecs,audio, [{media_profile_codec,<<"G722">>,<<"*">>,true,#{}}, {media_profile_codec,<<"PCMA">>,<<"*">>,true,#{}}, {media_profile_codec,<<"PCMU">>,<<"*">>,true,#{}}, {media_profile_codec,<<"G729">>,<<"*">>,true,#{}}, {media_profile_codec,<<"telephone-event">>,<<"*">>,true,#{}}], #{offroad => false,'rtcp-enabled' => true}}], #{}}"/>
<property type="iface" key="options_control" value="32000"/>
<property type="iface" key="sipdomain" value="use_address"/>
<property type="iface" key="stat\rejected\out" value="0"/>
<property type="iface" key="stat\rejected\in" value="0"/>
<property type="iface" key="stat\cps_max\total" value="5"/>
<property type="iface" key="stat\cps_max\out" value="2"/>
<property type="iface" key="stat\cps_max\in" value="5"/>
<property type="iface" key="stat\out" value="160"/>
<property type="iface" key="stat\in" value="5734"/>
<property type="iface" key="ignore" value="none"/>
<property type="iface" key="bandwidth\total" value="256"/>
<property type="iface" key="adapter\version" value=""3.14.0.702""/>
<property type="iface" key="user_name" value=""smg-4""/>
<property type="iface" key="trunk" value=""biysk.local.smg.gr.trunk.autoname""/>
<property type="iface" key="subtype" value="trunk"/>
<property type="iface" key="routing.context" value="ctx_from_ewsd"/>
<property type="iface" key="req100rel" value="true"/>
<property type="iface" key="remote_network_type" value="local"/>
<property type="iface" key="remote_client" value="default"/>
<property type="iface" key="port" value="5061"/>
<property type="iface" key="network_interface" value=""ipset1""/>
<property type="iface" key="my_from" value=""test.ssw.domain""/>
<property type="iface" key="mode" value="sipt"/>
<property type="iface" key="listen_port" value="5061"/>
<property type="iface" key="ip_set" value=""ipset1""/>
<property type="iface" key="ip" value=""192.168.2.8""/>
<property type="iface" key="dynamic" value="false"/>
<property type="iface" key="declaration" value="{"admin",{1568,121155,720123}}"/>
<property type="iface" key="cdpn_transformation" value="none"/>
<property type="iface" key="cause_location" value="default"/>
<property type="iface" key="profile" value="undefined"/>
<property type="iface" key="type" value="sip"/>
<property type="iface" key="id" value="<<"smg-4">>"/>
<property type="group" key="gate" value="{gate_amqp,<<"acp.adapter.init.ex">>,<<"acp.sip.sip1.ipset1.init.rk">>}"/>
<property type="group" key="domain" value=""biysk.local""/>
<property type="global" key="zone" value="<<"default">>"/>
<property type="global" key="terminal_type" value="smart"/>
<property type="global" key="site" value="<<"local">>"/>
<property type="global" key="dtmf_source" value="'rfc+info'"/>
</properties>
</iface>
</out>
Пример запроса информации о несуществующем интерфейсе:
Запрос: http://192.168.1.21:9999/commands/iface_info
<in
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_iface_info.xsd">
<request domain="biysk.local">
<iface id="bla-bla" />
</request>
</in>
Ответ:
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_iface_info.xsd">
<noIface iface="bla-bla"/>
</out>
Hc_iface_user_set
Команда по установке свойств интерфейса.
Аналог команды в CoCon:
domain/<DOMAIN>/iface/user-set
Метод HTTP-запроса:
POST
Шаблон HTTP-запроса:
http://host:port/commands/iface_user_set
Код HTTP-ответа:
- 200 – в случае успеха;
- 404 – в случае ошибки.
XSD-схема XML-файла запроса/ответа iface_user_set_common:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" id="iface_user_set">
<xs:annotation>
<xs:documentation xml:lang="en">
Set ECSS iface(s) resources properties.
Copyright (c) 2015, Eltex. All rights reserved.
</xs:documentation>
</xs:annotation>
<!-- terminalTypeType-->
<xs:simpleType name="terminalTypeType">
<xs:restriction base="xs:string">
<xs:enumeration value="basic"/>
<xs:enumeration value="smart"/>
</xs:restriction>
</xs:simpleType>
<!-- dtmfSourceType-->
<xs:simpleType name="dtmfSourceType">
<xs:restriction base="xs:string">
<xs:enumeration value="info"/>
<xs:enumeration value="rfc"/>
<xs:enumeration value="rfc+info"/>
</xs:restriction>
</xs:simpleType>
<!-- terminalTypeType-->
<xs:simpleType name="supportEncodingType">
<xs:restriction base="xs:string">
<xs:enumeration value="utf8"/>
<xs:enumeration value="latin1"/>
<xs:enumeration value="cp1251"/>
</xs:restriction>
</xs:simpleType>
<!-- cfcSupportType-->
<xs:simpleType name="cfcSupportType">
<xs:restriction base="xs:string">
<xs:enumeration value="true"/>
<xs:enumeration value="false"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
iface_user_set.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" id="iface_user_set">
<xs:annotation>
<xs:documentation xml:lang="en">
Set ECSS iface(s) resources properties.
Copyright (c) 2015, Eltex. All rights reserved.
</xs:documentation>
</xs:annotation>
<xs:include schemaLocation="error.xsd" />
<xs:include schemaLocation="iface_user_set_common.xsd" />
<!-- in -->
<xs:element name="in">
<xs:complexType>
<xs:all>
<xs:element name="request" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:attribute name="domain" type="xs:token" use="required"/>
<xs:attribute name="owner" type="xs:token" use="optional"/>
<xs:attribute name="group" type="xs:token" use="optional"/>
<xs:attribute name="ifaces" type="xs:normalizedString" use="required"/>
<xs:attribute name="routing_context" type="xs:string" use="optional"/>
<xs:attribute name="modificator" type="xs:string" use="optional"/>
<xs:attribute name="site" type="xs:string" use="optional"/>
<xs:attribute name="zone" type="xs:string" use="optional"/>
<xs:attribute name="terminal_type" type="terminalTypeType" use="optional"/>
<xs:attribute name="dtmf_source" type="dtmfSourceType" use="optional"/>
<xs:attribute name="support_encoding" type="supportEncodingType" use="optional"/>
<xs:attribute name="cfc_support" type="cfcSupportType" use="optional"/>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
<!-- in -->
<!-- out -->
<xs:element name="out">
<xs:complexType>
<xs:choice>
<xs:element name="response">
<xs:complexType>
<xs:attribute name="status" type="xs:token"/>
</xs:complexType>
</xs:element>
<xs:element name="error" type="errorType" minOccurs="1" maxOccurs="1" />
</xs:choice>
</xs:complexType>
</xs:element>
<!-- out -->
</xs:schema>
Пример:
Запрос:
http://192.168.1.21:9999/commands/iface_user_set
<?xml version="1.0" encoding="UTF-8"?>
<in
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="iface_user_set.xsd">
<request domain="biysk.local" ifaces="064bc964f1c1f424" routing_context="default_context"/>
</in>
Ответ: 200
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="iface_user_set.xsd">
<response status="ok"/>
</out>
Hc_iface_safe_user_set
Команда по установке основных свойств интерфейса.
Аналог команды в CoCon:
domain/<DOMAIN>/iface/user-set
Метод HTTP-запроса:
POST
Шаблон HTTP-запроса:
http://host:port/commands/iface_safe_user_set
Код HTTP-ответа:
- 200 – в случае успеха;
- 404 – в случае ошибки.
XSD-схема XML-файла запроса/ответа:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema" id="iface_user_set">
<xs:annotation>
<xs:documentation xml:lang="en">
Set ECSS iface(s) resources properties.
Copyright (c) 2015, Eltex. All rights reserved.
</xs:documentation>
</xs:annotation>
<xs:include schemaLocation="error.xsd" />
<xs:include schemaLocation="iface_user_set_common.xsd" />
<!-- in -->
<xs:element name="in">
<xs:complexType>
<xs:all>
<xs:element name="request" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:attribute name="domain" type="xs:token" use="required"/>
<xs:attribute name="owner" type="xs:token" use="optional"/>
<xs:attribute name="group" type="xs:token" use="optional"/>
<xs:attribute name="ifaces" type="xs:normalizedString" use="required"/>
<xs:attribute name="call_record" type="xs:boolean" use="optional"/>
<xs:attribute name="support_encoding" type="supportEncodingType" use="optional"/>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
<!-- in -->
<!-- out -->
<xs:element name="out">
<xs:complexType>
<xs:choice>
<xs:element name="response">
<xs:complexType>
<xs:attribute name="status" type="xs:token"/>
</xs:complexType>
</xs:element>
<xs:element name="error" type="errorType" minOccurs="1" maxOccurs="1" />
</xs:choice>
</xs:complexType>
</xs:element>
<!-- out -->
</xs:schema>
Пример:
<?xml version="1.0" encoding="UTF-8"?>
<in
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="iface_safe_user_set.xsd">
<request domain="biysk.local" ifaces="06201d997ba16772" call_record="true"/>
</in>
Ответ: 200
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="iface_safe_user_set.xsd">
<response status="ok"/>
</out>