Hc_ss_domain_profile_activate
Команда позволяет активировать услуги доменного профиля на заданном адресе.
Аналог команды в CoCon:
/domain/<DOMAIN>/ss/profile/activate
Шаблон http запроса:
http://host:port/commands/ss_domain_profile_activate
Код 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"> <!-- activatePropertyType --> <xs:complexType name="propertyType"> <xs:attribute name="key" type="xs:string" use="required"/> <xs:attribute name="value" type="xs:string" use="required"/> </xs:complexType> <!-- activateType --> <xs:complexType name="activateType"> <xs:sequence> <xs:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="address" type="xs:string" use="required"/> <xs:attribute name="profile" type="xs:string" use="required"/> </xs:complexType> <!-- okType --> <xs:complexType name="okType"> <xs:attribute name="address" type="xs:string" use="optional"/> <xs:attribute name="profile" type="xs:string" use="required"/> </xs:complexType> <!-- errorType --> <xs:complexType name="errorType"> <xs:attribute name="address" type="xs:string" use="optional"/> <xs:attribute name="profile" type="xs:string" use="required"/> <xs:attribute name="reason" type="xs:string" use="required"/> </xs:complexType> <!-- requestType --> <xs:complexType name="requestType"> <xs:sequence> <xs:element name="activate" type="activateType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="domain" type="xs:string" use="required"/> <xs:attribute name="force" type="xs:string" use="optional"/> </xs:complexType> <!-- in --> <xs:element name="in"> <xs:complexType> <xs:sequence> <xs:element name="request" type="requestType" minOccurs="1" maxOccurs="1"/> </xs:sequence> </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:complexType> </xs:element> </xs:all> </xs:complexType> </xs:element> </xs:schema>
Код http ответа:
200 – в случае успеха;
404 – в случае ошибки.
Пример 1
Запрос:
http://192.168.1.21:9999/commands/ss_domain_profile_activate
<?xml version="1.0" encoding="UTF-8"?> <in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_ss_domain_profile_activate.xsd"> <request domain="biysk.local"> <activate profile="work_ss" address="240475"></activate> <activate profile="work_ss" address="240471"></activate> </request> </in>
Ответ:
Код 200
<?xml version="1.0"?> <out xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_ss_domain_profile_activate.xsd"> <response> <ok address="240471" profile="work_ss"/> <ok address="240475" profile="work_ss"/> </response> </out>
Hs_ss_domain_profile_add_ss
Команда позволяет добавить новый набор услуг в уже созданные доменные профили.
Аналог команды в CoCon:
/domain/<DOMAIN>/ss/profile/ss-add
Шаблон http запроса:
http://host:port/commands/ss_domain_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"> Domain'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="domain" type="xs:string" use="required"> <xs:annotation> <xs:documentation xml:lang="en"> Domain 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_domain_profile_add_ss
<?xml version="1.0"?> <in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_ss_domain_profile_add_ss.xsd"> <request domain="biysk.local"> <profile name="profile_cf"> <ss name="ctr" enable="true" active="true"></ss> </profile> </request> </in>
Ответ:
201
Hc_ss_domain_profile_copy
Команда позволяет сделать копию доменного профиля с новым именем.
Аналог команды в CoCon:
/domain/<DOMAIN>/ss/profile/copy
Шаблон http запроса:
http://host:port/commands/ss_domain_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="domain" type="xs:string" use="required"/> <xs:attribute name="src_name" type="xs:string" use="required"/> <xs:attribute name="dst_name" type="xs:string" use="required"/> </xs:complexType> <!-- in --> <xs:element name="in"> <xs:complexType> <xs:all> <xs:element name="request" type="requestType"/> </xs:all> </xs:complexType> </xs:element> <!-- out --> <xs:element name="out"> <xs:complexType> <xs:choice> <xs:element name="error" type="errorType"/> </xs:choice> </xs:complexType> </xs:element> </xs:schema>
Пример 1
Запрос:
http://192.168.1.21:9999/commands/ss_domain_profile_copy
<?xml version="1.0" encoding="UTF-8"?> <in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_ss_domain_profile_copy.xsd"> <request domain="biysk.local" src_name="min_ss" dst_name="min_ss_copy"/> </in>
Ответ:
201
Пример 2
В случае, если профиль с именем min_ss_copy уже существует
Ответ:
200
<?xml version="1.0" encoding="UTF-8"?> <out xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_ss_domain_profile_copy.xsd"> <error cmd="hc_ss_domain_profile_copy" reason="already_exists" body="{error,already_exists}"/> </out>
Пример 3
В случае, если исходный профиль не существует
Запрос: http://192.168.1.21:9999/commands/ss_domain_profile_copy
<?xml version="1.0" encoding="UTF-8"?> <in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_ss_domain_profile_copy.xsd"> <request domain="biysk.local" 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="hc_ss_domain_profile_copy.xsd"> <error cmd="hc_ss_domain_profile_copy" reason="not_exists" body="{error,not_exists}"/> </out>
Hc_ss_domain_profile_info
Команда позволяет получить настройки доменного профиля услуги по имени.
Аналог команды в CoCon:
/domain/<DOMAIN>/ss/profile/info
Шаблон http запроса:
http://host:port/commands/ss_domain_profile_info
Код 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"> <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: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:attribute name="description" type="xs:string" use="optional"/> </xs:complexType> <!-- requestType --> <xs:complexType name="requestType"> <xs:attribute name="domain" type="xs:string" use="required"/> <xs:attribute name="profile" type="xs:string" use="required"/> </xs:complexType> <!-- in --> <xs:element name="in"> <xs:complexType> <xs:all> <xs:element name="request" type="requestType"/> </xs:all> </xs:complexType> </xs:element> <!-- out --> <xs:element name="out"> <xs:complexType> <xs:choice> <xs:element name="profile" type="profileType"/> <xs:element name="error" type="errorType"/> </xs:choice> </xs:complexType> </xs:element> </xs:schema>
Пример 1
Запрос: http://192.168.1.21:9999/commands/ss_domain_profile_info
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_ss_domain_profile_info.xsd"> <request domain="biysk.local" profile="work_ss"/> </in>
Ответ:
200
<?xml version="1.0"?> <out xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_ss_domain_profile_info.xsd"> <profile name="min_ss" description="only_clip_cnip_chold"> <ss xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="chold" version="7" description="Call hold" active="true" enabled="true" available="true"> <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"/> </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="true" enabled="true" available="true"/> <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="3" description="Multiline" active="false" enabled="false" available="false"> <csd> <property name="line_count" type="positive_integer" description="Line count" value="3"/> <property name="line_count_out" type="integer" description="Outgoing lines count" value="-1"/> </csd> </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="6" 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"/> </msd> <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_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="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="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="my_number" version="2" description="Get number of my phone" active="false" enabled="false" available="false"/> <ss xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="voicemail" version="10" 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="cfu"/> <item value="follow_me"/> <item value="find_me"/> <item value="cfu_type2"/> </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="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="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="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="9" description="Call recording" active="false" enabled="false" available="false"> <msd> <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="blf" version="2" 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"/> </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="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="5" 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> <csd> <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_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="cfos" version="7" 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="follow_me"/> <item value="tsmn_request"/> </property_list> </msd> <csd> <property name="number" type="address" description="Forward number"/> </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="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="cgg" version="3" description="Group-calling" active="false" enabled="false" available="false"> <csd> <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="conference" version="6" description="Conference Call, Add-on" 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"/> <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> </ss> <ss xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfu" version="7" 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="ctu"/> <item value="cgg"/> <item value="follow_me"/> <item value="tsmn_request"/> </property_list> </msd> <csd> <property name="number" type="address" description="Forward number"/> </csd> </ss> <ss xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="qsig_cfu" version="2" description="QSIG: Call Forwarding Unconditional" active="false" enabled="false" 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> </ss> <ss xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="follow_me" version="5" 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="cfu"/> <item value="cft"/> <item value="cgg"/> </property_list> </msd> <csd> <property name="number" type="address" description="Followed number" value=""/> <property name="pin" type="address" description="PIN-code" value=""/> </csd> </ss> <ss xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="find_me" version="4" 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="cfu"/> <item value="ctu"/> <item value="cgg"/> <item value="follow_me"/> <item value="follow_me_no_response"/> </property_list> </msd> <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="cft" version="8" 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="cgg"/> <item value="cfu"/> <item value="follow_me"/> <item value="tsmn_request"/> </property_list> </msd> <csd> <property name="day_1" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/> <property name="day_2" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/> <property name="day_3" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/> <property name="day_4" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/> <property name="day_5" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/> <property name="day_6" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/> <property name="day_7" type="term" description="{[{{FromHour,FromMinute}, {ToHour,ToMinute}}, ...], Number}" value="off"/> <property name="time_format" type="enum" description="CFT for Sunday (local | utc)" value="local"/> </csd> </ss> <ss xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="chunt" version="5" 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"/> </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"/> </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="6" 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="cfnr"/> <item value="follow_me"/> <item value="tsmn_request"/> </property_list> </msd> <csd> <property name="number" type="address" description="Forward number"/> <property name="timeout" type="positive_integer" description="Timeout before call forward (sec)" value="15"/> <property name="use_redirection_counter" type="boolean" description="Use redirectionCounter field to count hops" value="false"/> </csd> </ss> <ss 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="6" 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="cfu"/> <item value="cgg"/> <item value="follow_me"/> <item value="tsmn_request"/> </property_list> </msd> <csd> <property name="number" type="address" description="Forward number"/> <property name="use_redirection_counter" type="boolean" description="Use redirectionCounter field to count hops" value="false"/> </csd> </ss> <ss xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="cfnr" version="6" description="Call Forwarding No Reply" active="false" enabled="false" 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="follow_me"/> <item value="tsmn_request"/> </property_list> </msd> <csd> <property name="number" type="address" description="Forward number"/> <property name="timeout" type="positive_integer" description="Timeout before call forward (sec)" value="15"/> </csd> </ss> <ss 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="3" description="Intervention" active="false" enabled="false" available="false"> <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="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="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="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="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="follow_me_no_response" version="3" 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="cft"/> <item value="cgg"/> <item value="follow_me"/> </property_list> </msd> <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=""/> </csd> </ss> <ss xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="find_me_no_response" version="4" 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="ctu"/> <item value="cgg"/> <item value="follow_me"/> <item value="follow_me_no_response"/> <item value="find_me"/> </property_list> </msd> <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="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="tsmn_request" version="1" 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"/> <property_list name="conflict_list" type="atom" maxlen="0" description="List of SS that is conflict with current SS"> <item value="cfu"/> </property_list> </msd> <csd> <property name="timeout" type="positive_integer" description="Timeout on TSMN request (msec)" value="3000"/> <property name="tsmn_trunk" type="trunk" description="Trunk to TSMN server"/> </csd> </ss> <ss 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="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="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="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="6" 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="follow_me"/> <item value="tsmn_request"/> </property_list> </msd> <csd> <property name="number" type="address" description="Forward number"/> </csd> </ss> <ss xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="ss.xsd" name="qsig_cfb" version="2" description="QSIG: Call Forwarding Busy" active="false" enabled="false" 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="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="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="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="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="cnip" version="2" description="Calling Name 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="5" 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="follow_me"/> <item value="tsmn_request"/> </property_list> </msd> </ss> </profile> </out>
Hc_ss_domain_profile_list
Команда позволяет просмотреть список доменных профилей услуг.
Аналог команды в CoCon:
/domain/<DOMAIN>/ss/profile/info
Шаблон http запроса:
http://host:port/commands/ss_domain_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"> <xs:include schemaLocation="ss.xsd"/> <xs:include schemaLocation="error.xsd"/> <!-- profileType --> <xs:complexType name="profileType"> <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="description" type="xs:string" use="optional"/> </xs:complexType> <!-- requestType --> <xs:complexType name="requestType"> <xs:attribute name="domain" type="xs:string" use="required"/> </xs:complexType> <!-- in --> <xs:element name="in"> <xs:complexType> <xs:all> <xs:element name="request" type="requestType"/> </xs:all> </xs:complexType> </xs:element> <!-- out --> <xs:element name="out"> <xs:complexType> <xs:sequence> <xs:element name="profile" type="profileType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>
Пример 1
Запрос: http://192.168.1.21:9999/commands/ss_domain_profile_list
<in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_ss_domain_profile_list.xsd"> <request domain="biysk.local"/> </in>
Ответ:
200
<?xml version="1.0"?> <out xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_ss_domain_profile_list.xsd"> <profile name="min_ss_copy" description="only_clip_cnip_chold"/> <profile name="profile_cf" description="description 1"/> <profile name="work_ss" description="for_office"/> <profile name="min_ss" description="only_clip_cnip_chold"/> <profile name="profile_hold" description="description 2"/> <profile name="profile2" description="description 2"/> </out>
Hc_ss_domain_profile_remove
Команда позволяет удалить несколько системных профилей по имени.
Аналог команды в CoCon:
/domain/<DOMAIN>/ss/profile/remove
Шаблон http запроса:
http://host:port/commands/ss_domain_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:complexType> <!-- requestType --> <xs:complexType name="requestType"> <xs:sequence> <xs:element name="profile" type="removeProfileType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="domain" type="xs:string" use="required"/> </xs:complexType> <!-- in --> <xs:element name="in"> <xs:complexType> <xs:all> <xs:element name="request" type="requestType"/> </xs:all> </xs:complexType> </xs:element> <!-- out --> <xs:element name="out"> <xs:complexType> <xs:sequence> <xs:element name="error" type="errorType" minOccurs="1" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>
Пример 1
Запрос: http://192.168.1.21:9999/commands/ss_domain_profile_remove
<?xml version="1.0"?> <in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_ss_domain_profile_remove.xsd"> <request domain="biysk.local"> <profile name="profile_cf"/> <profile name="profile_hold"/> <profile name="profile3"/> </request> </in>
Ответ:
204
Пример 2
В случае, если профили с именем profile3 не существует
Запрос: http://192.168.1.21:9999/commands/ss_domain_profile_remove
<?xml version="1.0"?> <in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_ss_domain_profile_remove.xsd"> <request domain="biysk.local"> <profile name="profile_cf"/> <profile name="profile_hold"/> <profile name="profile3"/> </request> </in>
Ответ:
200
<?xml version="1.0"?> <out xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="hc_ss_domain_profile_remove.xsd"> <error cmd="hc_ss_domain_profile_remove" reason="not_exists" body="not_exists" entity="profile3"/> </out>
Hc_ss_domain_profile_set
Команда позволяет создать новые и/или изменить существующие доменные профили услуг.
Аналог команды в CoCon:
/domain/<DOMAIN>/ss/profile/set
Шаблон http запроса:
http://host:port/commands/ss_domain_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"/> <!-- propertyType --> <xs:complexType name="propertyType"> <xs:attribute name="key" type="xs:string" use="required"/> <xs:attribute name="value" type="xs:string" use="required"/> </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:attribute name="description" type="xs:string" use="optional"/> </xs:complexType> <!-- requestType --> <xs:complexType name="requestType"> <xs:sequence> <xs:element name="profile" type="setProfileType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="domain" type="xs:string" use="required"/> </xs:complexType> <!-- in --> <xs:element name="in"> <xs:complexType> <xs:all> <xs:element name="request" type="requestType"/> </xs:all> </xs:complexType> </xs:element> <!-- out --> <xs:element name="out"> <xs:complexType> <xs:sequence> <xs:element name="error" type="errorType" minOccurs="1" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>
Пример 1
Запрос:
http://192.168.1.21:9999/commands/ss_domain_profile_set
<?xml version="1.0"?> <in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_ss_domain_profile_set.xsd"> <request domain="biysk.local"> <profile name="profile_cf" 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="profile_hold" description="description 2"> <ss name="chold" enable="true" active="false"/> </profile> </request> </in>
Ответ:
201
Пример 2
В случае, если при изменения настроек профиля с именем profile1 произошла ошибка (при этом profile2 успешно изменен):
Запрос: http://192.168.1.21:9999/commands/ss_domain_profile_set
<?xml version="1.0"?> <in xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hc_ss_domain_profile_set.xsd"> <request domain="biysk.local"> <profile name="profile_x" 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="profile_hold" 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="hc_ss_domain_profile_set.xsd"> <error cmd="hc_ss_domain_profile_set" reason="undefined_properties" body="{undefined_properties,[{cfnr,[number]}]}" entity="profile_x"/> </out>