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>
CODE

Пример 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>
CODE

Ответ:

Код 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="{undefined_properties,[mode]}" trunk="smg-4" ss="call_recording"/>
    </response>
</out>
CODE

Пример 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="ems1">
            <property value="14312" key="number"/>
            <property value="5" key="timeout"/>
        </activate>
    </request>
</in>
CODE

Ответ:

Код 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="ems1" ss="cfnr"/>
    </response>
</out>
CODE

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>

CODE

Пример:

Деактивировать услугу 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="ems1" name="cfnr" />
        <ss trunk="smg-4" name="call_recording" />
    </request>
</in>
CODE

Ответ:

<?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="smg-4" ss="call_recording"/>
        <ok trunk="ems1" ss="cfnr"/>
    </response>
</out>
CODE

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="trunk"/>
			<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="ip"/>
			<xs:enumeration value="integer_range"/>
			<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="ivr_script_id">
				<xs:annotation>
					<xs:documentation xml:lang="ru">
						Идентификатор IVR скрипта в домене
					</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value="teleconference_room">
				<xs:annotation>
					<xs:documentation xml:lang="ru">
                        Номер комнаты телеконференции в домене
					</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="optional">
			<xs:annotation>
				<xs:documentation xml:lang="en">
					Obsolete attribute. Use name instead of It.
				</xs:documentation>
				<xs:documentation xml:lang="ru">
					Устаревший атрибует. Теперь ДВО полностью определяется по атрибуту name.
				</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="version" type="xs:integer" use="required"/>
		<xs:attribute name="description" type="xs:string" use="optional"/>
		<xs:attribute name="enabled" type="xs:boolean" use="optional"/>
		<xs:attribute name="active" type="xs:boolean" 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>
	<!-- ssListType -->
	<xs:complexType name="ssListType">
		<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>
	<!-- ss -->
	<xs:element name="ss" type="ssType"/>
</xs:schema>

CODE



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>

CODE

Пример:

Запрос: 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>
CODE

Ответ:200

<?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="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="tsmn_request" version="3" description="Support request on TSMN" active="true" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="trunk"/>
            </msd>
            <csd>
                <property name="timeout" type="positive_integer" description="Timeout on TSMN request(s) (msec)" value="3"/>
                <property name="tsmn_trunk" type="trunk" description="Trunk to TSMN server" value="smg-4"/>
                <property name="tsmn_trunk_backup" type="trunk" description="Backup trunk to TSMN server" value="nsk_sbc"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="call_recording" version="10" description="Call recording" active="false" enabled="false">
            <msd>
                <property name="enumMode" type="string" description="Internal field to validate mode property" value="always_on|on_demand|after_answer"/>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
            </msd>
            <ssd>
                <property name="dtmf_detector" type="boolean" description="" value="true"/>
                <property name="locked" type="boolean" description="Can subscriber manage current SS, or not" value="true"/>
            </ssd>
            <csd>
                <property name="mode" type="enum" description="The mode of the recording call (always_on|on_demand)" value="on_demand"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="fxo_trunk" version="1" description="FXO trunk service" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="trunk"/>
            </msd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="message" version="2" description="Message service" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
            </msd>
            <ssd>
                <property name="message_box_size" type="integer" description="Message box size" value="20"/>
                <property name="remove_only_after_answer" type="boolean" description="Remove message only after abonent answer" value="false"/>
            </ssd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfos" version="12" 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="assistant"/>
                    <item value="follow_me"/>
                    <item value="tsmn_request"/>
                </property_list>
            </msd>
            <ssd>
                <property name="forwarding_ss" type="boolean" description="" value="true"/>
            </ssd>
            <csd>
                <property name="number" type="address" description="Forward number"/>
                <property name="external_number" type="address" description="External forward number" value=""/>
                <property name="use_external_number" type="boolean" description="Use external forward number" value="false"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cf_aon" version="8" description="Call Forwarding AON" 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="assistant"/>
                    <item value="follow_me"/>
                    <item value="cfu_type2"/>
                    <item value="meet_me_conference"/>
                    <item value="cfu"/>
                    <item value="find_me"/>
                    <item value="cf_aon"/>
                </property_list>
            </msd>
            <ssd>
                <property name="forwarding_ss" type="boolean" description="" value="true"/>
            </ssd>
            <csd>
                <property name="no_reply" type="boolean" description="Activate service when subscriber no reply" value="false"/>
                <property name="timeout" type="positive_integer" description="Timeout before call forward (sec)" value="15"/>
                <property name="number" type="address" description="Forward number"/>
                <property_list name="prefix_number" type="address" maxlen="10" description="Prefix number A">
                    <undefined/>
                </property_list>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfu" version="14" description="Call Forwarding Unconditional" 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="assistant"/>
                    <item value="follow_me"/>
                    <item value="cfu_type2"/>
                    <item value="meet_me_conference"/>
                </property_list>
            </msd>
            <ssd>
                <property name="forwarding_ss" type="boolean" description="" value="true"/>
            </ssd>
            <csd>
                <property name="number" type="address" description="Forward number"/>
                <property name="external_number" type="address" description="External forward number" value=""/>
                <property name="use_external_number" type="boolean" description="Use external forward number" value="false"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="qsig_cfu" version="3" 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>
            <csd>
                <property name="hide_forwarding" type="boolean" description="Hide forwarding fields (rgn, ocdrn)" value="false"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cft" version="14" 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="assistant"/>
                    <item value="follow_me"/>
                    <item value="cfu_type2"/>
                    <item value="meet_me_conference"/>
                    <item value="cfu"/>
                    <item value="find_me"/>
                    <item value="cf_aon"/>
                </property_list>
            </msd>
            <ssd>
                <property name="forwarding_ss" type="boolean" description="" value="true"/>
            </ssd>
            <csd>
                <property name="day_1" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number, ExternalNumber}" value="off"/>
                <property name="day_2" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number, ExternalNumber}" value="off"/>
                <property name="day_3" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number, ExternalNumber}" value="off"/>
                <property name="day_4" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number, ExternalNumber}" value="off"/>
                <property name="day_5" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number, ExternalNumber}" value="off"/>
                <property name="day_6" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number, ExternalNumber}" value="off"/>
                <property name="day_7" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number, ExternalNumber}" value="off"/>
                <property name="time_format" type="enum" description="CFT for Sunday (local | utc)" value="local"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfnr_type2" version="11" 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="assistant"/>
                    <item value="cfnr"/>
                    <item value="follow_me"/>
                    <item value="tsmn_request"/>
                </property_list>
            </msd>
            <ssd>
                <property name="forwarding_ss" type="boolean" description="" value="true"/>
            </ssd>
            <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"/>
                <property name="external_number" type="address" description="External forward number" value=""/>
                <property name="use_external_number" type="boolean" description="Use external forward number" value="false"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfu_type2" version="14" 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="assistant"/>
                    <item value="follow_me"/>
                </property_list>
            </msd>
            <ssd>
                <property name="forwarding_ss" type="boolean" description="" value="true"/>
            </ssd>
            <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"/>
                <property name="external_number" type="address" description="External forward number" value=""/>
                <property name="use_external_number" type="boolean" description="Use external forward number" value="false"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfnr" version="11" 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="assistant"/>
                    <item value="follow_me"/>
                    <item value="tsmn_request"/>
                </property_list>
            </msd>
            <ssd>
                <property name="forwarding_ss" type="boolean" description="" value="true"/>
            </ssd>
            <csd>
                <property name="number" type="address" description="Forward number"/>
                <property name="external_number" type="address" description="External forward number" value=""/>
                <property name="use_external_number" type="boolean" description="Use external forward number" value="false"/>
                <property name="timeout" type="positive_integer" description="Timeout before call forward (sec)" value="15"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="fbc" version="1" description="Forwarding Barring Call" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
            </msd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            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="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfb" version="11" 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="assistant"/>
                    <item value="follow_me"/>
                    <item value="tsmn_request"/>
                </property_list>
            </msd>
            <ssd>
                <property name="forwarding_ss" type="boolean" description="" value="true"/>
            </ssd>
            <csd>
                <property name="number" type="address" description="Forward number"/>
                <property name="external_number" type="address" description="External forward number" value=""/>
                <property name="use_external_number" type="boolean" description="Use external forward number" value="false"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="qsig_cfb" version="3" 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>
            <csd>
                <property name="hide_forwarding" type="boolean" description="Hide forwarding fields (rgn, ocdrn)" value="false"/>
            </csd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cf_sip" version="9" 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="assistant"/>
                    <item value="follow_me"/>
                    <item value="tsmn_request"/>
                </property_list>
            </msd>
            <ssd>
                <property name="forwarding_ss" type="boolean" description="" value="true"/>
            </ssd>
        </ss>
        <ss domain="biysk.local" trunk="bsk1"
            xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cnip" version="3" description="Calling Name Identification Presentation" active="false" enabled="false">
            <msd>
                <property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
            </msd>
        </ss>
    </sss>
</out>
CODE