Hc_ss_system_profile - Команды управления системным профилем
Hс_ss_system_profile_copy
Команда позволяет сделать копию системного профиля с новым именем.
Аналог команды в CoCon:
cluster/storage/<STORAGE>/ss/profile/copy
Метод HTTP-запроса:
POST
Шаблон HTTP-запроса:
http://host:port/commands/ss_system_profile_copy
Код HTTP-ответа:
- 201 – в случае успеха;
- 200 – в случае ошибки (с указанием ошибки в теле ответа).
XSD-схема XML-файла запроса/ответа:
<?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"/>
<!-- requestType -->
<xs:complexType name="requestType">
<xs:attribute name="storage" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Data Storage cluster's name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="src_name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Source profile name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="dst_name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Destination profile name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</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:choice>
<xs:element name="error" type="errorType"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
Пример 1
Запрос: http://192.168.1.21:9999/commands/ss_system_profile_copy
<?xml version="1.0" encoding="UTF-8"?>
<in
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_system_profile_copy.xsd">
<request storage="ds1" src_name="ss1" dst_name="ss_test"/>
</in>
Ответ: 201
Пример 2
В случае, если профиль с именем profile3 уже существует
Запрос: http://192.168.23.34:9999/commands/ss_system_profile_copy
<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_system_profile_copy.xsd">
<request storage="ds1" src_name="ss1" dst_name="ss_test"/>
</in>
Ответ: 200
<?xml version="1.0" encoding="UTF-8"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss_system_profile_copy.xsd">
<error cmd="hc_ss_system_profile_copy" reason="already_exists" body="{error,already_exists}"/>
</out>
Пример 3
В случае, если исходный профиль не существует
Запрос: http://192.168.23.34:9999/commands/ss_system_profile_copy
<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_system_profile_copy.xsd">
<request storage="ds1" src_name="unknown_profile" dst_name="to"/>
</in>
Ответ: 200
<?xml version="1.0" encoding="UTF-8"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss_system_profile_copy.xsd">
<error cmd="hc_ss_system_profile_copy" reason="not_exists" body="{error,not_exists}"/>
</out>
Hс_ss_system_profile_copy_to_domain
Команда позволяется скопировать системный профиль услуги в домен с возможностью изменения имени профиля.
Аналог команды в CoCon:
cluster/storage/<STORAGE>/ss/profile/copy-to-domain
Метод HTTP-запроса:
POST
Шаблон HTTP-запроса:
http://host:port/commands/ss_system_profile_copy_to_domain
Код HTTP-ответа:
- 201 – в случае успеха;
- 200 – в случае ошибки (с указанием ошибки в теле ответа).
XSD-схема XML-файла запроса/ответа:
<?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"/>
<!-- copyType -->
<xs:complexType name="copyType">
<xs:attribute name="system_profile" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
System profile name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="domain" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Destination domain name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="domain_profile" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">
Destination domain profile name. In case of domain_profile doesn't set, domain_profile = system_profile.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- requestType -->
<xs:complexType name="requestType">
<xs:sequence>
<xs:element name="copy" type="copyType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="storage" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Data Storage cluster's name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</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="error" type="errorType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Пример 1
Запрос: http://192.168.1.21:9999/commands/ss_system_profile_copy_to_domain
<?xml version="1.0" encoding="UTF-8"?>
<in
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_system_profile_copy_to_domain.xsd">
<request storage="ds1">
<copy system_profile="ss_test" domain="biysk.local"/>
</request>
</in>
Ответ:
201
Пример 2
В случае, если системного профиля sprofile2.2 не существует, а так же домена domain2 не существует.
Запрос: http://192.168.23.34:9999/commands/ss_system_profile_copy_to_domain
<?xml version="1.0" encoding="UTF-8"?>
<in
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_system_profile_copy_to_domain.xsd">
<request storage="ds1">
<copy system_profile="sprofile2" domain="domain2" domain_profile="dprofile2.2"/>
</request>
</in>
Ответ:
200
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss_system_profile_copy_to_domain.xsd">
<error cmd="hc_ss_system_profile_copy_to_domain" reason="domain_not_exists" body="domain_not_exists" entity="domain2"/>
</out>
При этом профиль profile3 был успешно скопирован в домен biysk.local.
Hс_ss_system_profile_info
Команда позволяется получить настройки системного профиля услуги по имени.
Аналог команды в CoCon:
cluster/storage/<STORAGE>/ss/profile/info
Метод HTTP-запроса:
POST
Шаблон HTTP-запроса:
http://host:port/commands/ss_system_profile_info
Код HTTP-ответа:
- 201 – в случае успеха;
- 200 – в случае ошибки (с указанием ошибки в теле ответа).
XSD-схема XML-файла запроса/ответа:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="ss.xsd"/>
<xs:include schemaLocation="error.xsd"/>
<!-- ssInfoType -->
<xs:complexType name="ssInfoType">
<xs:complexContent>
<xs:extension base="ssType">
<xs:attribute name="available" type="xs:boolean" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Include or not current supplementary service in the profile.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- profileType -->
<xs:complexType name="profileType">
<xs:sequence>
<xs:element name="ss" type="ssInfoType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
System's profile name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="description" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">
Human readable description of the current profile.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- requestType -->
<xs:complexType name="requestType">
<xs:attribute name="storage" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Data Storage cluster's name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="profile" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Profile name to show information only about it.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</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:choice>
<xs:element name="profile" type="profileType"/>
<xs:element name="error" type="errorType"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
Пример
Запрос: http://192.168.1.21:9999/commands/ss_system_profile_info
<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_system_profile_info.xsd">
<request storage="ds1" profile="profile1"/>
</in>
Ответ:
200
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss_system_profile_info.xsd">
<profile name="ss_biysk" description="ss_tstpfofile">
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="multicast_listen" version="1" description="Multicast Listen Service" active="false" enabled="false" available="false">
<msd>
<property name="enumCodec" type="string" description="Internal field to codec property" value="G722|PCMU|PCMA|G729|G723_53|G723_63|G726-16|G726-24|G726-32|G726-40"/>
<property name="integer_rangePort" type="string" description="Internal field to udp port property" value="[10000,65535]"/>
</msd>
<csd>
<property name="ip" type="ip" description="Ip address for listen multicast."/>
<property name="port" type="integer_range" description="Port for listen multicast (10000-65535)."/>
<property name="codec" type="enum" description="Audio codec for multicast traffic." value="G722"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="vip_call" version="2" description="Vip call" active="false" enabled="false" available="false">
<msd>
<property name="enumPriority" type="string" description="Call's priority" value="0_flash_override|1_flash|2_immediate|3_priority|4_routine"/>
</msd>
<csd>
<property name="priority" type="enum" description="(0_flash_override | 1_flash | 2_immediate | 3_priority | 4_routine)" value="4_routine"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="voice_page_control" version="2" description="'Voice Page Control' service" active="false" enabled="false" available="false">
<csd>
<property name="accept_incoming_vp" type="boolean" description="Accept or Reject voice page calls" value="true"/>
<property name="block_incoming_vp_by_dnd" type="boolean" description="Block voice page calls by DND service" value="true"/>
<property name="mute_incoming_vp" type="boolean" description="Accept incoming voice page call in silent mode" value="true"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="redial" version="2" description="Last number redial" active="false" enabled="false" available="false"/>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="ml" version="4" description="Multiline" active="false" enabled="false" available="false">
<msd>
<property name="integer_rangeLine_count" type="string" description="Internal field" value="[0,16]"/>
<property name="integer_rangeLine_count_out" type="string" description="Internal field" value="[-1,16]"/>
</msd>
<csd>
<property name="line_count" type="integer_range" description="Line count" value="3"/>
<property name="line_count_out" type="integer_range" description="Outgoing lines count" value="-1"/>
</csd>
</ss>
<ss
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" available="false">
<msd>
<property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="trunk"/>
</msd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="sco_black" version="2" description="Selective Call Originating, Black list" active="false" enabled="false" available="false">
<csd>
<property_list name="blacklist" type="index_address" maxlen="50" description="Black list members. Format: <address>[/<index>]">
<undefined/>
</property_list>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="zone_page" version="9" description="Zone Page call" active="false" enabled="false" available="false">
<msd>
<property name="enumPriority" type="string" description="Call's priority" value="0_flash_override|1_flash|2_immediate|3_priority|4_routine"/>
<property name="enumInitiation_policy" type="string" description="Initiation call's policy" value="managers|members|any"/>
<property name="integer_rangeMulticast_port" type="string" description="Internal field" value="[1,65535]"/>
<property name="integer_rangeMulticast_ttl" type="string" description="Internal field" value="[1,255]"/>
<property name="enumMulticast_codec" type="string" description="Internal field" value="G722|PCMU|PCMA|G729|G723_53|G723_63|G726-16|G726-24|G726-32|G726-40"/>
</msd>
<ssd>
<property name="dtmf_detector" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="priority" type="enum" description="(0_flash_override | 1_flash | 2_immediate | 3_priority | 4_routine)" value="3_priority"/>
<property name="intro_pause" type="integer" description="Pause before play intro files" value="3"/>
<property name="announcement_pause" type="integer" description="Pause before play announcement files" value="0"/>
<property name="announcement_playback_cnt" type="integer" description="Announcement files playback count" value="1"/>
<property name="announcement_repeat_time" type="integer" description="Announcement files repeat timeout" value="10"/>
<property name="terminate_when_initiator_disconnects" type="boolean" description="Terminate call after initiator disconnected"/>
<property name="terminate_when_playback_ends" type="boolean" description="Terminate call after playback ends"/>
<property name="terminate_when_last_listener_leave" type="boolean" description="Terminate call after last listener disconnects"/>
<property name="initiation_policy" type="enum" description="Initiation call's policy" value="any"/>
<property name="display_name" type="string" description="ZonePage call DisplayName" value="ZonePage"/>
<property name="play_release_tone" type="boolean" description="ZonePage release tone" value="false"/>
<property name="announcement_repeat_digit" type="address" description="Digit to repeat announcement files" value="#"/>
<property name="multicast_ip" type="ip" description="Optional multicast address to use for announcement" value="0.0.0.0"/>
<property name="multicast_port" type="integer_range" description="Port of multicast address" value="0"/>
<property name="multicast_codec" type="enum" description="Codec to be used for multicasting" value="PCMA"/>
<property name="multicast_ttl" type="integer_range" description="TTL for multicast" value="1"/>
<property_list name="members" type="address" maxlen="256" description="Zone page member list">
<undefined/>
</property_list>
<property_list name="managers" type="address" maxlen="256" description="Zone page managers list"/>
<property_list name="intro_files" type="media_resource" maxlen="10" description="List of Intro media_files"/>
<property_list name="announcement_files" type="media_resource" maxlen="10" description="List of Announcement media_files"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="meet_me_conference" version="2" description="Meet Me Conference" active="false" enabled="false" available="false">
<msd>
<property name="regimeMode" type="string" description="Internal field to validate mode property" value="master:destroy_mode:room_number|member:room_number"/>
<property name="enumDestroy_mode" type="string" description="Internal field to validate mode property" value="by_no_master|by_no_more_calls"/>
<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"/>
</property_list>
</msd>
<csd>
<property name="mode" type="regime" description="The mode of meet me conference (master|member)"/>
<property name="destroy_mode" type="enum" description="The mode of destroying conference (by_no_master|by_no_more_calls)" value="by_no_more_calls"/>
<property name="room_number" type="address" description="Room number" value=""/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="teleconference" version="4" description="Teleconference" active="false" enabled="false" available="false">
<msd>
<property name="enumType" type="string" description="Teleconference type: meeting or room" value="meeting|room"/>
</msd>
<csd>
<property name="destroy_by_no_initiator" type="boolean" description="Destroy the teleconference by release from the initiator?" value="true"/>
<property name="template_from_room" type="teleconference_room" description="Get template from the teleconference room" value=""/>
<property name="type" type="enum" description="Teleconference type: meeting or room" value="meeting"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="mcid" version="2" description="Malicious Call Identification" active="false" enabled="false" available="false"/>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="assistant" version="2" description="Chief-assistant group" active="false" enabled="false" available="false">
<msd>
<property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="user"/>
</msd>
<ssd>
<property name="forwarding_ss" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property_list name="assistants" type="index_address" maxlen="4" description="Assistants numbers. Format: <address>[/<index>]">
<undefined/>
</property_list>
<property_list name="whitelist" type="index_address" maxlen="128" description="White list members. Format: <address>[/<index>]">
<undefined/>
</property_list>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="ctr" version="5" description="Call Transfer" active="false" enabled="false" available="false">
<msd>
<property_list name="dependency_list" type="atom" maxlen="0" description="List of SS that is depended from SS">
<item value="chold"/>
</property_list>
</msd>
<ssd>
<property name="dtmf_detector" type="boolean" description="" value="true"/>
</ssd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="personal_ivr" version="2" description="Personal IVR script" active="false" enabled="false" available="false">
<msd>
<property name="handle_module" type="atom" description="" value="ss_personal_ivr_handler"/>
<property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="user"/>
</msd>
<csd>
<property name="script" type="ivr_script_id" description="Script ID" value=""/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="voicemail" version="12" description="Voice mail service" active="false" enabled="false" available="false">
<msd>
<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"/>
<item value="cft"/>
</property_list>
</msd>
<ssd>
<property name="dtmf_detector" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="no_reply" type="boolean" description="Activate service when subscriber no reply" value="true"/>
<property name="busy" type="boolean" description="Activate service when subscriber is busy" value="false"/>
<property name="out_of_service" type="boolean" description="Activate service when subscriber is out of service" value="true"/>
<property name="unconditional" type="boolean" description="Activate service any time" value="false"/>
<property name="timeout" type="positive_integer" description="Timeout before call forward (sec)" value="30"/>
<property name="send_by_email" type="boolean" description="Send recorded message by email" value="false"/>
<property name="min_message_duration" type="positive_integer" description="The minimum voice mail duration (sec). In case of voice mail duration will be less that min_message_duration, this message will be dropped" value="0"/>
<property name="max_message_duration" type="positive_integer" description="The maximum voice mail duration (sec). 0 - in case of not limited duration" value="300"/>
<property name="mailbox_volume" type="positive_integer" description="The mailbox volume (sec)" value="1800"/>
<property name="override_messages" type="boolean" description="Override messages in case of mailbox is full" value="true"/>
<property name="email_from" type="string" description="Email from template. Macro variables: %DATE%, %TIME%, %CALLING%, %DISPLAYNAME%" value="%DISPLAYNAME%"/>
<property name="email_subject" type="string" description="Email subject template. Macro variables: %DATE%, %TIME%, %CALLING%, %DISPLAYNAME%" value="Voicemail from %CALLING% at %DATE% %TIME%"/>
<property name="email_body" type="string" description="Email body template. Macro variables: %DATE%, %TIME%, %CALLING%, %DISPLAYNAME%" value=""/>
<property name="play_message_details" type="boolean" description="Play message's details (number, time) before message" value="false"/>
<property name="password" type="address" description="There is password to have access to the voicemail box" value=""/>
<property name="max_silence" type="positive_integer" description="There is time(sec) while service wait for a contiguous period of silence before terminating an incoming call to voice mail" value="0"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="auto_redial" version="2" description="Auto redial" active="false" enabled="false" available="false">
<csd>
<property name="recall_timeout" type="positive_integer" description="Timeout between recalls (sec)" value="15"/>
<property name="recall_count" type="positive_integer" description="Recalls' count" value="6"/>
<property name="no_answer_timeout" type="positive_integer" description="Awaiting answer timeout (sec)" value="30"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="click_to_call" version="5" description="Click to call" active="false" enabled="false" available="false">
<csd>
<property name="number" type="address" description="User's number"/>
<property name="auto_answer" type="boolean" description="Auto answer" value="true"/>
<property_list name="hashes" type="string" maxlen="10" description="User's hashes">
<undefined/>
</property_list>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="distinctive_ring" version="1" description="Destination ringtone change" active="false" enabled="false" available="false">
<csd>
<property_list name="filters" type="distinctive_ring" maxlen="16" description="Distinctive ring for specific numbers">
<undefined/>
</property_list>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cw" version="5" description="Call Waiting" active="false" enabled="false" available="false">
<msd>
<property_list name="dependency_list" type="atom" maxlen="0" description="List of SS that is depended from SS">
<item value="chold"/>
</property_list>
</msd>
<ssd>
<property name="dtmf_detector" type="boolean" description="" value="true"/>
</ssd>
</ss>
<ss
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" available="false">
<msd>
<property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
<property name="enumMode" type="string" description="Internal field to validate mode property" value="always_on|on_demand|after_answer"/>
</msd>
<ssd>
<property name="locked" type="boolean" description="Can subscriber manage current SS, or not" value="true"/>
<property name="dtmf_detector" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="mode" type="enum" description="The mode of the recording call (always_on|on_demand)"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="remote_ring" version="1" description="Remote ring to callee" active="false" enabled="false" available="false">
<msd>
<property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
<item value="distinctive_ring"/>
</property_list>
</msd>
<csd>
<property_list name="announcement_files" type="media_resource" maxlen="10" description="List of Announcement media_files"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="blf" version="3" description="Busy Lamp Field" active="false" enabled="false" available="false">
<csd>
<property name="max_subscribe" type="positive_integer" description="Maximum number of subscriptions" value="16"/>
<property name="ignore_page_calls" type="boolean" description="Doesn't send BLF notification from Zone Page calls" value="true"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="remote_phone" version="1" description="Remote phone" active="false" enabled="false" available="false">
<msd>
<property name="handle_module" type="atom" description="" value="ss_remote_phone_handler"/>
</msd>
<csd>
<property name="remote_endpoint" type="interface" description="Remote interface" value=""/>
<property name="pin" type="address" description="PIN-code"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="presence" version="2" description="SIP Presence" active="false" enabled="false" available="false">
<csd>
<property name="max_subscribe" type="positive_integer" description="Maximum number of subscriptions" value="16"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="message" version="2" description="Message service" active="false" enabled="false" available="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
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="ring_back_tone" version="2" description="Ring back tone" active="false" enabled="false" available="false">
<csd>
<property name="file" type="media_resource" description="File to play on ring"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="voice_page" version="9" description="Voice Page call" active="false" enabled="false" available="false">
<msd>
<property name="enumPriority" type="string" description="Call's priority" value="0_flash_override|1_flash|2_immediate|3_priority|4_routine"/>
</msd>
<ssd>
<property name="dtmf_detector" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="skip_cf" type="boolean" description="Skipping call forwarding" value="true"/>
<property name="priority" type="enum" description="(0_flash_override | 1_flash | 2_immediate | 3_priority | 4_routine)" value="3_priority"/>
<property name="announcement_repeat_time" type="integer" description="Announcement files repeat timeout" value="10"/>
<property name="announcement_playback_cnt" type="integer" description="Announcement files playback count [0..5]" value="0"/>
<property name="swap_digit" type="address" description="Digit to swap reception / transmission mode" value="*"/>
<property name="announcement_repeat_digit" type="address" description="Digit to repeat announcement files" value="#"/>
<property_list name="intro_files" type="media_resource" maxlen="10" description="List of Intro media_files"/>
<property_list name="announcement_files" type="media_resource" maxlen="10" description="List of Announcement media_files"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="chold" version="8" description="Call hold" active="false" enabled="false" available="false">
<ssd>
<property name="dtmf_detector" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="dtmf_sequence_as_flash" type="boolean" description="Try interpret the DTMF sequence as a flash (look at incall feature codes)" value="false"/>
<property name="disable_moh" type="boolean" description="Disable music on hold" value="false"/>
</csd>
</ss>
<ss
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" available="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
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="scr" version="2" description="Selective Call Rejection" active="false" enabled="false" available="false">
<csd>
<property_list name="blacklist" type="index_address" maxlen="50" description="Black list members. Format: <address>[/<index>]">
<undefined/>
</property_list>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="boss_group" version="1" description="Boss-group" active="false" enabled="false" available="false">
<msd>
<property name="integer_rangeDelay_ring_timeout" type="string" description="Internal field" value="[0,60]"/>
<property name="integer_rangeLines_count" type="string" description="Internal field" value="[0,16]"/>
<property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
<item value="cw"/>
</property_list>
<property_list name="dependency_list" type="atom" maxlen="0" description="List of SS that is depended from SS">
<item value="auto_redial"/>
</property_list>
</msd>
<ssd>
<property name="dtmf_detector" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="display_name" type="string" description="Display name for boss group" value=""/>
<property name="delay_ring_timeout" type="integer_range" description="Timeout before call on delayed members" value="0"/>
<property name="lines_count" type="integer_range" description="Incoming boss-group lines count" value="2"/>
<property name="members_fwd_busy_override" type="boolean" description="Ignore members CFB for group calls" value="true"/>
<property name="call_waiting_tone" type="boolean" description="Play call waiting tone for second(s) calls on group" value="false"/>
<property_list name="members" type="address" maxlen="8" description="Members for immediate call">
<undefined/>
</property_list>
<property_list name="delay_members" type="address" maxlen="8" description="Members for delay call">
<undefined/>
</property_list>
<property_list name="silent_members" type="address" maxlen="8" description="Members for BLF and pickup only group calls">
<undefined/>
</property_list>
</csd>
</ss>
<ss
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" available="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
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="intercom" version="1" description="Intercom" active="false" enabled="false" available="false"/>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="direct_call" version="2" description="Direct call" active="false" enabled="false" available="false">
<csd>
<property name="number" type="address" description="Call number to direct call"/>
<property name="timeout" type="positive_integer" description="Timeout before direct call (sec)" value="5"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="privacy" version="2" description="Privacy" active="false" enabled="false" available="false">
<msd>
<property name="enumMode" type="string" description="Mode" value="on_demand|always_on"/>
</msd>
<ssd>
<property name="dtmf_detector" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="mode" type="enum" description="Privacy usage mode" value="on_demand"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cgg" version="7" description="Group-calling" active="false" enabled="false" available="false">
<msd>
<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"/>
<item value="cft"/>
</property_list>
</msd>
<ssd>
<property name="forwarding_ss" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="send_call_diversion" type="boolean" description="Send call diversion flag in call signalisation" value="true"/>
<property_list name="numbers" type="address" maxlen="10" description="Group's numbers">
<undefined/>
</property_list>
</csd>
</ss>
<ss
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" available="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
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="conference" version="9" description="Conference Call, Add-on" active="false" enabled="false" available="false">
<msd>
<property name="enumDestroy_mode" type="string" description="Internal field to validate mode property" value="by_no_master|by_no_more_calls"/>
<property_list name="dependency_list" type="atom" maxlen="0" description="List of SS that is depended from SS">
<item value="chold"/>
<item value="ctr"/>
</property_list>
<property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
<item value="3way"/>
</property_list>
</msd>
<csd>
<property name="destroy_mode" type="enum" description="The mode of destroying conference (by_no_master|by_no_more_calls)" value="by_no_master"/>
<property name="max_participants" type="positive_integer" description="The maximum number of participants in the conference, limited to the number 64 at the top. By default 16" value="16"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="find_me" version="7" description="Find Me" active="false" enabled="false" available="false">
<msd>
<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"/>
</property_list>
</msd>
<ssd>
<property name="forwarding_ss" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="send_call_diversion" type="boolean" description="Send call diversion flag in call signalisation" value="true"/>
<property_list name="groups" type="find_me_group" maxlen="32" description="Find me groups"/>
</csd>
</ss>
<ss
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" available="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
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="follow_me" version="11" description="Follow me" active="false" enabled="false" available="false">
<msd>
<property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
<item value="assistant"/>
</property_list>
</msd>
<ssd>
<property name="forwarding_ss" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="number" type="address" description="Followed number" value=""/>
<property name="pin" type="address" description="PIN-code" value=""/>
<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
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="walkie_talkie" version="1" description="Walkie Talkie" active="false" enabled="false" available="false">
<ssd>
<property name="dtmf_detector" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="swap_digit" type="address" description="Digit to swap reception / transmission mode" value="*"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="multicast_page" version="1" description="Multicast IP Paging" active="false" enabled="false" available="false">
<msd>
<property name="enumCodec" type="string" description="Internal field" value="G722|PCMU|PCMA|G729|G723_53|G723_63|G726-16|G726-24|G726-32|G726-40"/>
<property name="integer_rangePort" type="string" description="Internal field" value="[10000,65535]"/>
<property name="integer_rangeTtl" type="string" description="Internal field" value="[1,255]"/>
</msd>
<csd>
<property name="ip" type="ip" description="IP address to cast the media to"/>
<property name="port" type="integer_range" description="UDP port to cast the media to (10000-65535)"/>
<property name="codec" type="enum" description="Codec to be used for multicasting" value="PCMA"/>
<property name="ttl" type="integer_range" description="TTL for multicast packets (1-255)" value="1"/>
</csd>
</ss>
<ss
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" available="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
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="chunt" version="7" description="Call hunt groups" active="false" enabled="false" available="false">
<msd>
<property name="regimeMode" type="string" description="Internal field to validate search_strategy property" value="group:numbers:queue_strategy|serial:numbers:cyclic:search_strategy:window_shift_timeout:max_shift_count:queue_strategy|longest_idle:numbers:cyclic:window_shift_timeout:max_shift_count:queue_strategy|delay_group:numbers:window_shift_timeout:queue_strategy|manual"/>
<property name="enumSearch_strategy" type="string" description="Internal field to validate search_strategy property" value="first|last|random|longest_idle"/>
<property name="enumQueue_strategy" type="string" description="Internal field to validate queue_strategy property" value="wait|drop"/>
<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"/>
<item value="cft"/>
<item value="cgg"/>
</property_list>
</msd>
<ssd>
<property name="delay_retrieve_timeout_1" type="integer" description="Delay retrieve timeout for release group call by group subscriber" value="1000"/>
<property name="delay_retrieve_timeout_2" type="integer" description="Delay retrieve timeout for release group call by slave subscriber" value="5000"/>
<property name="delay_retrieve_timeout_3" type="integer" description="Delay retrieve timeout for waiting free group subscriber" value="15000"/>
<property name="forwarding_ss" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="mode" type="regime" description="The type of the chunt"/>
<property name="cyclic" type="boolean" description="Flag that is show is call hunt group cyclic or not" value="false"/>
<property name="reset_window_start_pos_after_call" type="boolean" description="Reset window start position after all incoming calls will be connected with group calls" value="false"/>
<property name="window_shift_timeout" type="positive_integer" description="Interval after which window shift on the window_shift value" value="0"/>
<property name="max_shift_count" type="integer" description="The number of times that a window can be shift" value="-1"/>
<property name="window_size" type="positive_integer" description="The number of simultaneous calls to the call-hunt's subscribers" value="1"/>
<property name="window_start_pos" type="integer" description="The index (zero-based) of the first subscriber in the window" value="0"/>
<property name="window_shift" type="positive_integer" description="The value on which shift window_start_pos when window_shift_timeout fired" value="1"/>
<property name="queue_strategy" type="enum" description="(wait | drop)" value="wait"/>
<property name="search_strategy" type="enum" description="(first | last | random | longest_idle)" value="first"/>
<property name="queue_size" type="positive_integer" description="Wait calls' queue size" value="0"/>
<property_list name="numbers" type="address" maxlen="10" description="Call-hunt member list">
<undefined/>
</property_list>
</csd>
</ss>
<ss
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" available="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
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="acb" version="2" description="Anonymous Call Blocking" active="false" enabled="false" available="false"/>
<ss
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" available="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
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" available="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
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="sca" version="2" description="Selective Call Acceptance" active="false" enabled="false" available="false">
<csd>
<property_list name="whitelist" type="index_address" maxlen="50" description="White list members. Format: <address>[/<index>]">
<undefined/>
</property_list>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="rbp" version="3" description="SS for restricting call-processes by NI and PIN" active="false" enabled="false" available="false">
<csd>
<property name="implicit_call" type="boolean" description="Use implicit RBP call (Request PIN-code in case of use recsricted call)" value="false"/>
<property_list name="restricted_ni" type="ni" maxlen="6" description="Restricted number indication">
<undefined/>
</property_list>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cliro" version="2" description="Calling Line Identification Restriction Override" active="false" enabled="false" available="false"/>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="intervention" version="4" description="Intervention" active="false" enabled="false" available="false">
<msd>
<property name="enumRestriction" type="string" description="Internal field to validate mode property" value="full_control|implicitly_allowed|explicitly_allowed"/>
</msd>
<ssd>
<property name="dtmf_detector" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="restriction" type="enum" description="The restriction to the intervention call (full_control|allowed_only)" value="full_control"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="alarm" version="8" description="Alarm Call" active="false" enabled="false" available="false">
<msd>
<property name="handle_module" type="atom" description="" value="ss_alarm_handler"/>
</msd>
<ssd>
<property name="collect_digits_timeout" type="integer" description="Wait timeout to collect cancel digits" value="60"/>
</ssd>
<csd>
<property name="no_answer_timeout" type="integer" description="Awaiting answer timer (value in seconds)" value="45"/>
<property name="call_attempt_count" type="integer" description="The count of the call's attempt" value="3"/>
<property name="call_attempt_timeout" type="integer" description="Awaiting timer between calls' attempts" value="60"/>
<property name="cancel_digits" type="address" description="Digits to cancel alarm" value="*"/>
<property name="alarm_1" type="term" description=""{" "'one-time'" | daily, "[" Day1[, Day2][, ...] "]","{"HH, MM"}"[, AlarmName]"}"" value="off"/>
<property name="alarm_2" type="term" description=""{" "'one-time'" | daily, "[" Day1[, Day2][, ...] "]","{"HH, MM"}"[, AlarmName]"}"" value="off"/>
<property name="alarm_3" type="term" description=""{" "'one-time'" | daily, "[" Day1[, Day2][, ...] "]","{"HH, MM"}"[, AlarmName]"}"" value="off"/>
<property name="alarm_4" type="term" description=""{" "'one-time'" | daily, "[" Day1[, Day2][, ...] "]","{"HH, MM"}"[, AlarmName]"}"" value="off"/>
<property name="alarm_5" type="term" description=""{" "'one-time'" | daily, "[" Day1[, Day2][, ...] "]","{"HH, MM"}"[, AlarmName]"}"" value="off"/>
<property name="alarm_6" type="term" description=""{" "'one-time'" | daily, "[" Day1[, Day2][, ...] "]","{"HH, MM"}"[, AlarmName]"}"" value="off"/>
<property name="alarm_7" type="term" description=""{" "'one-time'" | daily, "[" Day1[, Day2][, ...] "]","{"HH, MM"}"[, AlarmName]"}"" value="off"/>
<property name="alarm_8" type="term" description=""{" "'one-time'" | daily, "[" Day1[, Day2][, ...] "]","{"HH, MM"}"[, AlarmName]"}"" value="off"/>
<property name="alarm_9" type="term" description=""{" "'one-time'" | daily, "[" Day1[, Day2][, ...] "]","{"HH, MM"}"[, AlarmName]"}"" value="off"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="speed_dial" version="5" description="Speed dial (Abbreviated dialing)" active="false" enabled="false" available="false">
<msd>
<property name="enumType" type="string" description="The type of address book. address_book_10 supports 10 number in the address book. address_book_100 supports 100 numbers on the address book" value="address_book_10|address_book_100"/>
</msd>
<csd>
<property name="type" type="enum" description="(address_book_10 | address_book_100)" value="address_book_100"/>
<property_list name="map" type="speed_dial_item" maxlen="50" description="Map between short dial and full address. Format: <short_dial>/<address>"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="fax_to_email" version="2" description="Fax to email" active="false" enabled="false" available="false">
<csd>
<property name="email" type="string" description="Email address" value=""/>
<property name="send_error_report" type="boolean" description="Send email in case of fax received failed" value="false"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="flexicall" version="1" description="FlexiCall" active="false" enabled="false" available="false">
<msd>
<property name="owner" type="atom" description="SS type. Available values: user | trunk | any." value="user"/>
<property name="enumMode" type="string" description="Internal field to validate mode property" value="all|external|internal"/>
<property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
<item value="cgg"/>
</property_list>
</msd>
<ssd>
<property name="forwarding_ss" type="boolean" description="" value="true"/>
</ssd>
<csd>
<property name="mode" type="enum" description="Mode operating. Available values (all | external | internal)"/>
<property_list name="external_numbers" type="address" maxlen="10" description="Group's external numbers"/>
<property_list name="internal_numbers" type="address" maxlen="10" description="Group's internal numbers"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="auto_redial_with_callback" version="5" description="Auto redial with callback" active="false" enabled="false" available="false">
<msd>
<property name="enumRingback" type="string" description="Ringback" value="tone|moh"/>
</msd>
<csd>
<property name="recall_timer" type="positive_integer" description="Time between recalls (sec)" value="90"/>
<property name="recall_count" type="positive_integer" description="Recalls' count" value="30"/>
<property name="a_no_answer_timeout" type="positive_integer" description="Awaiting B-side answer timeout (sec)" value="10"/>
<property name="b_no_answer_timeout" type="positive_integer" description="Awaiting A-side answer timeout (sec)" value="30"/>
<property name="ringback" type="enum" description="Ringback (tone | moh)" value="tone"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="park" version="2" description="Call park" active="false" enabled="false" available="false"/>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="callback" version="5" description="CallBack" active="false" enabled="false" available="false">
<ssd>
<property name="collect_digits_timeout" type="integer" description="Wait timeout to collect cancel digits" value="60"/>
<property name="a_onhook_timeout" type="positive_integer" description="Timeout for A subscriber onhook (sec)" value="5"/>
<property name="max_call_retry" type="positive_integer" description="The maximum count of call's retry to initial subscriber" value="5"/>
<property name="dtmf_detector" type="boolean" description="" value="true"/>
</ssd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="3way" version="6" description="3-Way Conference" active="false" enabled="false" available="false">
<msd>
<property_list name="dependency_list" type="atom" maxlen="0" description="List of SS that is depended from SS">
<item value="chold"/>
</property_list>
<property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS">
<item value="conference"/>
</property_list>
</msd>
<ssd>
<property name="dtmf_detector" type="boolean" description="" value="true"/>
</ssd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="introduce" version="1" description="Introduce announcement from callee" active="false" enabled="false" available="false">
<csd>
<property name="announcement" type="media_resource" description="Announcement media file"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="distinctive_picture" version="2" description="Display caller image by groups" active="false" enabled="false" available="false">
<csd>
<property_list name="groups" type="distinctive_picture" maxlen="20" description="Distinctive picture for specific numbers"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="find_me_no_response" version="6" description="Find Me no response" active="false" enabled="false" available="false">
<msd>
<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="ctu"/>
<item value="cgg"/>
<item value="follow_me"/>
<item value="follow_me_no_response"/>
<item value="find_me"/>
</property_list>
</msd>
<ssd>
<property name="forwarding_ss" type="boolean" description="" value="false"/>
</ssd>
<csd>
<property name="send_call_diversion" type="boolean" description="Send call diversion flag in call signalisation" value="true"/>
<property name="timeout" type="positive_integer" description="Timeout before call forward (sec)" value="20"/>
<property_list name="groups" type="find_me_group" maxlen="32" description="Find me groups"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="follow_me_no_response" version="8" description="Follow me no response" active="false" enabled="false" available="false">
<msd>
<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="cft"/>
<item value="cgg"/>
<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="Followed number" value=""/>
<property name="timeout" type="positive_integer" description="Timeout before call forward (sec)" value="20"/>
<property name="pin" type="address" description="PIN-code" value=""/>
<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
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="sco_white" version="2" description="Selective Call Originating, White list" active="false" enabled="false" available="false">
<csd>
<property_list name="whitelist" type="index_address" maxlen="50" description="White list members. Format: <address>[/<index>]">
<undefined/>
</property_list>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cc_agent" version="2" description="Contact-Center agent" active="false" enabled="false" available="false"/>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="tsmn_request" version="3" description="Support request on TSMN" active="false" enabled="false" available="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="3000"/>
<property name="tsmn_trunk" type="trunk" description="Trunk to TSMN server"/>
<property name="tsmn_trunk_backup" type="trunk" description="Backup trunk to TSMN server" value=""/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="dnd" version="3" description="Do not Disturb" active="false" enabled="false" available="false">
<csd>
<property_list name="whitelist" type="index_address" maxlen="10" description="White list members. Format: <address>[/<index>]">
<undefined/>
</property_list>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="second_handset" version="1" description="Second Handset" active="false" enabled="false" available="false"/>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="rfc" version="2" description="Rejection of Forwarded Calls" active="false" enabled="false" available="false"/>
<ss
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" available="false">
<msd>
<property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
</msd>
</ss>
<ss
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" available="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
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" available="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
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="avatar" version="2" description="Picture for outgoing calls" active="false" enabled="false" available="false">
<csd>
<property name="pic_addr" type="uri_string" description="URL to access the image" value=""/>
</csd>
</ss>
<ss
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" available="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
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="fax_receiver" version="2" description="Enable fax receiving ability for terminals which is not support fax by their own" active="false" enabled="false" available="false"/>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="clir" version="3" description="Calling Line Identification Restriction" active="false" enabled="false" available="false">
<msd>
<property name="enumMode" type="string" description="Internal field to validate mode property" value="user_defined|restrict_all"/>
</msd>
<csd>
<property name="mode" type="enum" description="The mode of the working clir service (user_defined|restrict_all)" value="restrict_all"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="teleconference_manager" version="3" description="Teleconference manager" active="false" enabled="false" available="false">
<csd>
<property_list name="second_line" type="address" maxlen="10" description="Second line numbers"/>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="pickup" version="2" description="Call Pickup" active="false" enabled="false" available="false">
<csd>
<property_list name="pickup_groups" type="index_string" maxlen="10" description="Call pick-up's groups names. Format: <Name>[/<Inx>]">
<undefined/>
</property_list>
</csd>
</ss>
<ss
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="clip" version="5" description="Calling Line Identification Presentation" active="false" enabled="false" available="false"/>
<ss
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" available="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
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cpip" version="2" description="Calling Picture Identification Presentation" active="false" enabled="false" available="false">
<msd>
<property name="enumDisplay_mode" type="string" description="Internal field to validate 'display-mode' property" value="icon|fullscreen"/>
</msd>
<csd>
<property name="display_mode" type="enum" description="Sets the picture display mode: icon mode or fullscreen mode." value="icon"/>
</csd>
</ss>
<ss
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" available="false">
<msd>
<property name="owner" type="atom" description="SS type. Available values: user | trunk | any" value="any"/>
</msd>
</ss>
</profile>
Hс_ss_system_profile_list
Команда позволяется просмотреть список системных профилей услуг.
Метод HTTP-запроса:
Шаблон HTTP-запроса:
http://host:port/commands/ss_system_profile_list
Код HTTP-ответа:
200 – в случае успеха
XSD-схема XML-файла запроса/ответа:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- profileType -->
<xs:complexType name="profileType">
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
System's profile name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="description" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">
Human readable description of the current profile.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- requestType -->
<xs:complexType name="requestType">
<xs:attribute name="storage" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Data Storage cluster's name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</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="profile" type="profileType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Пример
Запрос:
http://192.168.1.21:9999/commands/ss_system_profile_list
<?xml version="1.0" encoding="UTF-8"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_system_profile_list.xsd">
<request storage="ds1"/>
</in>
Ответ: 200
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss_system_profile_list.xsd">
<profile name="ss_test" description="test"/>
<profile name="ss_biysk" description="ss_tstpfofile"/>
<profile name="ss1" description="test"/>
</out>
Hс_ss_system_profile_remove
Команда позволяется удалить несколько системных профилей по имени.
Аналог команды в CoCon:
cluster/storage/<STORAGE>/ss/profile/remove
Метод HTTP-запроса:
POST
Шаблон HTTP-запроса:
http://host:port/commands/ss_system_profile_remove
Код HTTP-ответа:
- 204 – в случае успеха;
- 200 – в случае ошибки (с указанием ошибки в теле ответа).
XSD-схема XML-файла запроса/ответа:
<?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"/>
<!-- removeProfileType -->
<xs:complexType name="removeProfileType">
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
System's profile name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- requestType -->
<xs:complexType name="requestType">
<xs:sequence>
<xs:element name="profile" type="removeProfileType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="storage" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Data Storage cluster's name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</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="error" type="errorType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Пример 1
Запрос: http://192.168.1.21:9999/commands/ss_system_profile_remove
<?xml version="1.0"?>
<in
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_system_profile_remove.xsd">
<request storage="ds1">
<profile name="ss_test"/>
</request>
</in>
Ответ:
204
Пример 2
В случае, если профили с именами profile1, profile2, profile3 не существуют
Запрос: http://192.168.1.21:9999/commands/ss_system_profile_remove
<?xml version="1.0"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_system_profile_remove.xsd">
<request storage="ds">
<profile name="profile1"/>
<profile name="profile2"/>
<profile name="profile3"/>
</request>
</in>
Ответ:
200
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss_system_profile_remove.xsd">
<error cmd="hc_ss_system_profile_remove" reason="not_exists" body="not_exists" entity="profile1"/>
<error cmd="hc_ss_system_profile_remove" reason="not_exists" body="not_exists" entity="profile2"/>
<error cmd="hc_ss_system_profile_remove" reason="not_exists" body="not_exists" entity="profile3"/>
</out>
Hс_ss_system_profile_set
Команда позволяется создать новые и/или изменить существующие системные профили услуг.
Аналог команды в CoCon:
cluster/storage/<STORAGE>/ss/profile/declare
cluster/storage/<STORAGE>/ss/profile/ss-add
cluster/storage/<STORAGE>/ss/profile/ss-change
cluster/storage/<STORAGE>/ss/profile/ss-remove
Метод HTTP-запроса:
POST
Шаблон HTTP-запроса:
http://host:port/commands/ss_system_profile_set
Код HTTP-ответа:
- 201 – в случае успеха;
- 200 – в случае ошибки (с указанием ошибки в теле ответа).
XSD-схема XML-файла запроса/ответа:
<?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"/>
<!-- removeProfileType -->
<xs:complexType name="removeProfileType">
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
System's profile name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- requestType -->
<xs:complexType name="requestType">
<xs:sequence>
<xs:element name="profile" type="removeProfileType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="storage" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Data Storage cluster's name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</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="error" type="errorType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Пример 1
Запрос: http://192.168.1.21:9999/commands/ss_system_profile_set
<?xml version="1.0"?>
<in
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_system_profile_set.xsd">
<request storage="ds1">
<profile name="profile1" description="description 1">
<ss name="chold" enable="true" active="false"/>
<ss name="cfu" enable="false" active="false"/>
<ss name="cfnr" enable="true" active="true">
<property value="5" key="timeout"/>
<property value="235" key="number"/>
</ss>
</profile>
<profile name="profile2" description="description 2">
<ss name="chold" enable="true" active="false"/>
</profile>
</request>
</in>
Ответ:
201
Пример 2
В случае, если при изменения настроек профиля с именем profile3 произошла ошибка (при этом profile2 успешно изменен):
Запрос:
http://192.168.1.21:9999/commands/ss_system_profile_set
<?xml version="1.0"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_system_profile_set.xsd">
<request storage="ds1">
<profile name="profile3" description="description 1">
<ss name="chold" enable="true" active="false"/>
<ss name="cfu" enable="false" active="false"/>
<ss name="cfnr" enable="true" active="true">
<property value="5" key="timeout"/>
</ss>
</profile>
<profile name="profile2" description="description 2">
<ss name="chold" enable="true" active="false"/>
</profile>
</request>
</in>
Ответ:
200
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss_system_profile_set.xsd">
<error cmd="hc_ss_system_profile_set" reason="undefined_properties" body="{undefined_properties,[{cfnr,[number]}]}" entity="profile3"/>
</out>
Hc_ss_system_profile_add_ss
Команда позволяет добавить новый набор услуг в уже созданные системные профили.
Аналог команды в CoCon:
Шаблон http запроса:
http://host:port/commands/ss_system_profile_add_ss
Код http ответа:
201 – в случае успеха;
200 – в случае ошибки (с указанием ошибки в теле ответа).
Xsd схема XML запроса/ответа:
<?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"/>
<!-- propertyType -->
<xs:complexType name="propertyType">
<xs:attribute name="key" type="xs:string" use="required"/>
<xs:attribute name="value" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
SS property's value, formatted by in the ss_activate command.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- ssType -->
<xs:complexType name="ssType">
<xs:sequence>
<xs:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="enable" type="xs:boolean" use="required"/>
<xs:attribute name="active" type="xs:boolean" use="required"/>
</xs:complexType>
<!-- setProfileType -->
<xs:complexType name="setProfileType">
<xs:sequence>
<xs:element name="ss" type="ssType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
System's profile name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- requestType -->
<xs:complexType name="requestType">
<xs:sequence>
<xs:element name="profile" type="setProfileType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="storage" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
Data Storage cluster's name.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</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="error" type="errorType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Пример
Запрос: http://192.168.1.21:9999/commands/ss_system_profile_add_ss
<?xml version="1.0"?>
<in
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_system_profile_add_ss.xsd">
<request storage="ds1">
<profile name="ss_test">
<ss name="cfu" enable="false" active="false"/>
</profile>
</request>
</in>
Ответ:
201
Пример 2
В случае, если при изменения настроек профиля с именем profile3 произошла ошибка (при этом profile2 успешно изменен):
Запрос: http://192.168.1.21:9999/commands/ss_system_profile_add_ss
<?xml version="1.0"?>
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ss_system_profile_add_ss.xsd">
<request storage="ds1">
<profile name="profile3">
<ss name="chold" enable="true" active="false"/>
<ss name="cfu" enable="false" active="false"/>
<ss name="cfnr" enable="true" active="true">
<property value="5" key="timeout"/>
</ss>
</profile>
<profile name="profile2">
<ss name="chold" enable="true" active="false"/>
</profile>
</request>
</in>
Ответ:
200
<?xml version="1.0"?>
<out
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss_system_profile_add_ss.xsd">
<error cmd="hc_ss_system_profile_add_ss" reason="undefined_properties" body="{undefined_properties,[{cfnr,[number]}]}" entity="profile3"/>
</out>