Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

Hc_ss_trunk_activate

Команда предназначена для активации сервиса на определенном транке в определенном домене.

Аналог команды в CoCon:

domain/<DOMAIN>/trunk/services/activate

Метод HTTP-запроса:

POST

Шаблон HTTP-запроса:

http://host:9999/commands/ss_trunk_activate

Код HTTP-ответа:

При выполнении команды HTTP-терминал может ответить следующими сообщениями:

  • 200 – в случае успеха;
  • 404 – в случае ошибки.

XSD-схема XML-файла c запросом:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    <!-- okType -->
    <xs:complexType name="okType">
        <xs:attribute name="trunk" type="xs:string" use="optional"/>
        <xs:attribute name="ss" type="xs:string" use="required"/>
    </xs:complexType>
    <!-- errorType -->
    <xs:complexType name="errorType">
        <xs:attribute name="trunk" type="xs:string" use="optional"/>
        <xs:attribute name="ss" type="xs:string" use="required"/>
        <xs:attribute name="reason" type="xs:string" use="required"/>
    </xs:complexType>
    <!-- activateSsPropertyType -->
    <xs:complexType name="propertyType">
        <xs:attribute name="key" type="xs:string" use="required"/>
        <xs:attribute name="value" type="xs:string" use="required"/>
    </xs:complexType>
    <!-- ssActivateType -->
    <xs:complexType name="ssActivateType">
        <xs:sequence>
            <xs:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attribute name="trunk" type="xs:string" use="required"/>
        <xs:attribute name="ss" type="xs:string" use="required"/>
    </xs:complexType>
    <!-- in-->
    <xs:element name="in">
        <xs:complexType>
            <xs:all>
                <xs:element name="request">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="activate" type="ssActivateType" maxOccurs="unbounded"/>
                        </xs:sequence>
                        <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="response">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="ok" type="okType" minOccurs="0" maxOccurs="unbounded"/>
                            <xs:element name="error" type="errorType" minOccurs="0" maxOccurs="unbounded"/>
                        </xs:sequence>
                        <xs:attribute name="domain" type="xs:string" use="required"/>
                    </xs:complexType>
                </xs:element>
            </xs:all>
        </xs:complexType>
    </xs:element>
</xs:schema>

Пример 1:

Запрос:

http://192.168.1.21:9999/commands/ss_trunk_activate

<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_trunk_activate.xsd">
    <request domain="biysk.local">
                <activate ss="cfu" trunk="ems2">
                        <property value="240469" key="number"/>
                </activate>
        <activate ss="cfnr" trunk="bsk1">
            <property value="240464" key="number"/>
            <property value="5" key="timeout"/>
        </activate>
    </request>
</in>

Ответ:

Код 200

<?xml version="1.0"?>
<out
    xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss_trunk_activate.xsd">
    <response domain="biysk.local">
        <ok trunk="bsk1" ss="cfnr"/>
        <ok trunk="ems2" ss="cfu"/>
    </response>
</out>

Пример 2: 

Запрос:
http://192.168.1.21:9999/commands/ss_trunk_activate

<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_trunk_activate.xsd">
    <request domain="biysk.local">
        <activate ss="cfnr" trunk="TAU">
            <property value="14312" key="number"/>
            <property value="5" key="timeout"/>
        </activate>
    </request>
</in>

Ответ:

Код 200

<?xml version="1.0"?>
<out
    xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss_trunk_activate.xsd">
    <response domain="biysk.local">
        <error reason="not_trunk" trunk="TAU" ss="cfnr"/>
    </response>
</out>

Hc_ss_trunk_deactivate

Команда предназначена для деактивации транковых сервисов в определенно домене.

Аналог команды в CoCon:

domain/<DOMAIN>/trunk/services/deactivate

Метод HTTP-запроса

POST

Шаблон HTTP-запроса:

http://host:9999/commands/ss_trunk_deactivate

Код HTTP-ответа:

При выполнении команды HTTP-терминал может ответить следующими сообщениями:

  • 200 – в случае успеха;
  • 404 – в случае ошибки.

XSD-схема XML-файла c запросом/ответом:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <!-- okType -->
    <xs:complexType name="okType">
        <xs:attribute name="trunk" type="xs:string" use="optional"/>
        <xs:attribute name="ss" type="xs:string" use="optional"/>
    </xs:complexType>
    <!-- errorType -->
    <xs:complexType name="errorType">
        <xs:attribute name="trunk" type="xs:string" use="optional"/>
        <xs:attribute name="ss" type="xs:string" use="optional"/>
        <xs:attribute name="reason" type="xs:string" use="required"/>
    </xs:complexType>
    <!-- ssDeactivateType -->
    <xs:complexType name="ssDeactivateType">
        <xs:attribute name="name" type="xs:string" use="required"/>
        <xs:attribute name="trunk" type="xs:string" use="required"/>
    </xs:complexType>
    <!-- in-->
    <xs:element name="in">
        <xs:complexType>
            <xs:all>
                <xs:element name="request">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="ss" type="ssDeactivateType" minOccurs="0" maxOccurs="unbounded"/>
                        </xs:sequence>
                        <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="response">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="ok" type="okType" minOccurs="0" maxOccurs="unbounded"/>
                            <xs:element name="error" type="errorType" minOccurs="0" maxOccurs="unbounded"/>
                        </xs:sequence>
                        <xs:attribute name="domain" type="xs:string" use="required"/>
                    </xs:complexType>
                </xs:element>
            </xs:all>
        </xs:complexType>
    </xs:element>
</xs:schema>

Пример:

Деактивировать услугу cfu, cfnr у транков ems2, bsk1 в домене biysk.local.

Запрос:

http://192.168.34.87:9999/commands/ss_trunk_deactivate

<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_trunk_deactivate.xsd">
    <request domain="biysk.local">
            <ss trunk="ems2" name="cfu" />
            <ss trunk="bsk1" name="cfnr" />
        </request>
</in>

Ответ:

<?xml version="1.0"?>
<out
    xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss_trunk_deactivate.xsd">
    <response domain="biysk.local">
        <ok trunk="bsk1" ss="cfnr"/>
        <ok trunk="ems2" ss="cfu"/>
    </response>
</out>

Hc_ss_trunk_info

Команда возвращает список активированных транковых сервисов в рамках определенного домена.

Аналог команды в CoCon:

domain/<DOMAIN>/trunk/services/info

Метод HTTP-запроса:

POST

Шаблон HTTP-запроса:

http://host:port/commands/ss_trunk_info

Код HTTP-ответа:

При выполнении команды HTTP-терминал может ответить следующими сообщениями:

  • 200 – в случае успеха;
  • 404 – в случае ошибки.

XSD-схема XML-файла c ответом:

ss.xsd:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    <!-- Migration start -->
    <!-- ruleActionType -->
    <xs:simpleType name="ruleActionType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="default"/>
            <xs:enumeration value="copy"/>
            <xs:enumeration value="set"/>
            <xs:enumeration value="custom_migrator"/>
        </xs:restriction>
    </xs:simpleType>
    <!-- ruleType -->
    <xs:complexType name="ruleType">
        <xs:attribute name="action" type="ruleActionType" use="required"/>
        <xs:attribute name="property" type="xs:string" use="required"/>
        <xs:attribute name="value" type="xs:string" use="optional"/>
    </xs:complexType>
    <!-- migrationType -->
    <xs:complexType name="migrationType">
        <xs:sequence>
            <xs:element name="rule" type="ruleType" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
        <xs:attribute name="version" type="xs:integer" use="required"/>
    </xs:complexType>
    <!-- Migration end -->
    <!-- propertyTypeType -->
    <xs:simpleType name="propertyTypeType">
        <xs:restriction base="xs:string">
            <xs:enumeration value="atom"/>
            <xs:enumeration value="enum"/>
            <xs:enumeration value="regime"/>
            <xs:enumeration value="boolean"/>
            <xs:enumeration value="address"/>
            <xs:enumeration value="interface"/>
            <xs:enumeration value="domain"/>
            <xs:enumeration value="hour"/>
            <xs:enumeration value="minute"/>
            <xs:enumeration value="second"/>
            <xs:enumeration value="string"/>
            <xs:enumeration value="ni"/>
            <xs:enumeration value="index_string"/>
            <xs:enumeration value="index_address"/>
            <xs:enumeration value="integer"/>
            <xs:enumeration value="float"/>
            <xs:enumeration value="positive_integer"/>
            <xs:enumeration value="positive_float"/>
            <xs:enumeration value="negative_integer"/>
            <xs:enumeration value="negative_float"/>
            <xs:enumeration value="term"/>
            <xs:enumeration value="speed_dial_item">
                <xs:annotation>
                    <xs:documentation xml:lang="ru">
                        speed_dial_item представляет собой тапл: {КороткийНабор, ПолныйАдрес}
                        В xml данное поле представлено в виде КороткийНабор/ПолныйАдрес
                    </xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="media_resource">
                <xs:annotation>
                    <xs:documentation xml:lang="ru">
                        media_resource представляет собой строку формата: {sytem|domain|tone}://PATH_OR_TONE
                        Sample 1: domain://sounds/rus/alarm.wav
                        Sample 2: system://sounds/ai_agent_already_on.wav
                        Sample 3: tone://?f2=425&off_msec=4000&on_msec=1000&f1=0&duration=300000
                    </xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="find_me_group">
                <xs:annotation>
                    <xs:documentation xml:lang="ru">
                        find_me_group является сложным типом данных, используется только в услугах FindMe, FindMe not response.
                        В xml данное поле записывается в виде JSON структуры данных, имеющее вид:
                        {"numbers":"NUMBERS_LIST","wait_timeout":"WAIT_TIMEOUT","enabled":"ENABLED","work_interval":WORK_INTERVAL},
                            NUMBERS_LIST - список номеров группы, записанных через запятую;
                            WAIT_TIMEOUT - время ожидания ответа участника группы (5..90 секунд);
                            ENABLED :: true | false - активна или нет данная группа;
                            WORK_INTERVAL :: {"type":"predefined", "timetable":"TIMETABLE"} |
                                             {"type":"custom", "days":"DAYS", "times":[{"from":"FROM_TIME","to":"TO_TIME"},{"from":"FROM_TIME","to":"TO_TIME"},...]}
                                в случае, если type = predefined, то указывается только параметр timetable - имя предопределенного интервала времени;
                                в случае, если type = custom, то необходимо указать параметры days, times (times - список интервалов).
                            DAYS ::DAY_1DAY_2... - список дней недели (1..7) которые входят в данный интервал (записываются слитно);
                            FROM_TIME :: FROM_HH:FROM_MM - начало интервала времени;
                            TO_TIME :: TO_HH:TO_MM - конец интервала времени.
                        Например 1: {"numbers":"710,711","wait_timeout":60,"enabled":true,"work_interval":{"type":"predefined","timetable":"work_time"}}
                        Например 2: {"numbers":"712","wait_timeout":90,"enabled":false,"work_interval":{"type":"custom", "days":"67", "times":[{"from":"0:0","to":"17:59"},{"from":"18:0","to":"23:59"}]}}
                    </xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="version"/>
        </xs:restriction>
    </xs:simpleType>
    <!-- propertyType -->
    <xs:complexType name="propertyType">
        <xs:attribute name="name" type="xs:string" use="required"/>
        <xs:attribute name="type" type="propertyTypeType" use="required"/>
        <xs:attribute name="value" type="xs:string" use="optional"/>
        <xs:attribute name="description" type="xs:string" use="optional"/>
    </xs:complexType>
    <!-- propertyListType -->
    <xs:complexType name="propertyListType">
        <xs:choice>
            <xs:sequence>
                <xs:element name="item" minOccurs="0" maxOccurs="unbounded">
                    <xs:complexType>
                        <xs:attribute name="value" type="xs:string" use="required"/>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
            <xs:element name="undefined" minOccurs="0">
                <xs:complexType/>
            </xs:element>
        </xs:choice>
        <xs:attribute name="name" type="xs:string" use="required"/>
        <xs:attribute name="type" type="propertyTypeType" use="required"/>
        <xs:attribute name="maxlen" type="xs:string" use="optional"/>
        <xs:attribute name="description" type="xs:string" use="optional"/>
    </xs:complexType>
    <!-- ssType -->
    <xs:complexType name="ssType">
        <xs:sequence>
            <xs:element name="migrations" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="migration" type="migrationType" minOccurs="0" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="msd" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element name="property_list" type="propertyListType" minOccurs="0" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="ssd" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element name="property_list" type="propertyListType" minOccurs="0" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="csd" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element name="property_list" type="propertyListType" minOccurs="0" maxOccurs="unbounded"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="required"/>
        <xs:attribute name="family" type="xs:string" use="required"/>
        <xs:attribute name="version" type="xs:integer" use="required"/>
        <xs:attribute name="description" type="xs:string" use="optional"/>
        <xs:attribute name="active" type="xs:string" use="optional"/>
        <xs:attribute name="enabled" type="xs:string" use="optional"/>
    </xs:complexType>
    <!-- activatedSsType -->
    <xs:complexType name="activatedSsType">
        <xs:complexContent>
            <xs:extension base="ssType">
                <xs:attribute name="domain" type="xs:string" use="required"/>
                <xs:attribute name="address" type="xs:string" use="required"/>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <!-- rawSsType -->
    <xs:complexType name="srcSsType">
        <xs:complexContent>
            <xs:extension base="ssType">
                <xs:attribute name="src" type="xs:string" use="required"/>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <!-- ss -->
    <xs:element name="ss" type="ssType"/>
    <!-- ss_list -->
    <xs:element name="ss_list">
        <xs:complexType>
            <xs:choice>
                <xs:sequence>
                    <xs:element name="ss" type="ssType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
                <xs:sequence>
                    <xs:element name="activated_ss" type="activatedSsType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
                <xs:sequence>
                    <xs:element name="src_ss" type="srcSsType" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
            </xs:choice>
        </xs:complexType>
    </xs:element>
</xs:schema>

...

    <xs:complexType name="ssListType">
        <xs:choice>
                        <!-- В случае данной команды всегда будет ss --> 
            <xs:sequence>
                <xs:element name="ss" type="ssType" minOccurs="0" maxOccurs="unbounded"/>
            </xs:sequence>
            <xs:sequence>
                <xs:element name="activated_ss" type="activatedSsType" minOccurs="0" maxOccurs="unbounded"/>
            </xs:sequence>
            <xs:sequence>
                <xs:element name="src_ss" type="srcSsType" minOccurs="0" maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:choice>
    </xs:complexType>

ss_trunk_info.xsd:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:include schemaLocation="error.xsd"/>
    <xs:include schemaLocation="ss.xsd"/>

          
    <xs:complexType name="ssInfoType">
        <xs:complexContent>
            <xs:extension base="ssType">
                <xs:attribute name="domain" type="xs:string" use="required"/>
                <xs:attribute name="trunk" type="xs:string" use="required"/>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

          
    <!-- ssListType -->
    <xs:complexType name="ssInfoListType">
        <xs:sequence>
            <xs:element name="ss" type="ssInfoType" 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="trunk" type="xs:string" use="optional"/>
                    </xs:complexType>
                </xs:element>
            </xs:all>
        </xs:complexType>
    </xs:element>
    <!-- out-->
    <xs:element name="out">
        <xs:complexType>
            <xs:choice>
                <xs:element name="sss" type="ssInfoListType"/>
                <xs:element name="error" type="errorType"/>
            </xs:choice>
        </xs:complexType>
    </xs:element>
</xs:schema>

Пример:

Запрос: http://192.168.1.21:9999/commands/ss_trunk_info

<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_trunk_info.xsd">
    <request domain="biysk.local" trunk="ems2"/>
</in>

Ответ:

<?xml version="1.0"?>
<out
    xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss_trunk_info.xsd">
    <sss>
        <ss domain="biysk.local" trunk="ems2" 
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfu" version="7" description="Call Forwarding Unconditional" active="true" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
                <property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
                    <item value="ctu"/>
                    <item value="cgg"/>
                    <item value="follow_me"/>
                    <item value="tsmn_request"/>
                </property_list>
            </msd>
            <csd>
                <property name="number" type="address" description="Forward number" value="240469"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="ems2" 
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfos" version="7" description="Call Forwarding Out of Service" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
                <property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
                    <item value="cfu"/>
                    <item value="follow_me"/>
                    <item value="tsmn_request"/>
                </property_list>
            </msd>
            <csd>
                <property name="number" type="address" description="Forward number"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="ems2" 
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="qsig_cfu" version="2" description="QSIG: Call Forwarding Unconditional" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="trunk"/>
                <property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
                    <item value="cfu"/>
                    <item value="follow_me"/>
                </property_list>
            </msd>
        </ss>
        <ss domain="biysk.local" trunk="ems2" 
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cft" version="8" description="Call Forwarding Unconditional Time Dependent" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
                <property name="enumTime_format" type="string" description="Internal field to validate time_format property" value="local|utc"/>
                <property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
                    <item value="cgg"/>
                    <item value="cfu"/>
                    <item value="follow_me"/>
                    <item value="tsmn_request"/>
                </property_list>
            </msd>
            <csd>
                <property name="day_1" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/>
                <property name="day_2" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/>
                <property name="day_3" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/>
                <property name="day_4" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/>
                <property name="day_5" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/>
                <property name="day_6" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/>
                <property name="day_7" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/>
                <property name="time_format" type="enum" description="CFT for Sunday (local | utc)" value="local"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="ems2" 
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfnr_type2" version="6" description="Call Forwarding No Reply without notification" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
                <property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
                    <item value="cfu"/>
                    <item value="cfnr"/>
                    <item value="follow_me"/>
                    <item value="tsmn_request"/>
                </property_list>
            </msd>
            <csd>
                <property name="number" type="address" description="Forward number"/>
                <property name="timeout" type="positive_integer" description="Timeout before call forward (sec)" value="15"/>
                <property name="use_redirection_counter" type="boolean" description="Use redirectionCounter field to count hops" value="false"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="ems2" 
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfu_type2" version="6" description="Call Forwarding Unconditional without notification" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
                <property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
                    <item value="cfu"/>
                    <item value="cgg"/>
                    <item value="follow_me"/>
                    <item value="tsmn_request"/>
                </property_list>
            </msd>
            <csd>
                <property name="number" type="address" description="Forward number"/>
                <property name="use_redirection_counter" type="boolean" description="Use redirectionCounter field to count hops" value="false"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="ems2" 
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfnr" version="6" description="Call Forwarding No Reply" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
                <property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
                    <item value="cfu"/>
                    <item value="follow_me"/>
                    <item value="tsmn_request"/>
                </property_list>
            </msd>
            <csd>
                <property name="number" type="address" description="Forward number"/>
                <property name="timeout" type="positive_integer" description="Timeout before call forward (sec)" value="15"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="ems2" 
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="tsmn_request" version="1" description="Support request on TSMN" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="trunk"/>
                <property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
                    <item value="cfu"/>
                </property_list>
            </msd>
            <csd>
                <property name="timeout" type="positive_integer" description="Timeout on TSMN request (msec)" value="3000"/>
                <property name="tsmn_trunk" type="trunk" description="Trunk to TSMN server"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="ems2" 
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="qsig_cfnr" version="2" description="QSIG: Call Forwarding No Reply" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="trunk"/>
                <property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
                    <item value="cfu"/>
                </property_list>
            </msd>
        </ss>
        <ss domain="biysk.local" trunk="ems2" 
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfb" version="6" description="Call Forwarding Busy" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
                <property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
                    <item value="cfu"/>
                    <item value="follow_me"/>
                    <item value="tsmn_request"/>
                </property_list>
            </msd>
            <csd>
                <property name="number" type="address" description="Forward number"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="ems2" 
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="qsig_cfb" version="2" description="QSIG: Call Forwarding Busy" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="trunk"/>
                <property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
                    <item value="cfu"/>
                </property_list>
            </msd>
        </ss>
        <ss domain="biysk.local" trunk="ems2" 
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cf_sip" version="5" description="Call Forwarding by SIP redirection (302 message)" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
                <property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
                    <item value="cfu"/>
                    <item value="follow_me"/>
                    <item value="tsmn_request"/>
                </property_list>
            </msd>
        </ss>
    </sss>
</out>
  • Нет меток