...
В домене по-умолчанию используются установки медиа-профиля default.
codecs-add
Команда для добавления одного или нескольких аудио-кодеков определенного типа в медиа-профиль.
...
Блок кода | ||
---|---|---|
| ||
/domain/DOMAIN_NAME/media-profile/codecs-add new_media_profile audio G729 18 true Media-profile: new_media_profile adds audio codecs successfuly. Codec type: audio codecs configuration: ┌───────┬─────┬──┐ │Enabled│Codec│PT│ ├───────┼─────┼──┤ │ │PCMA │8 │ │ │G729 │18│ └───────┴─────┴──┘ Legend: Enabled - is codec enabled. Empty means true. Codec - list of codec names and special value <other>. PT - Payload Type, * means any value. |
codecs-enable
Команда для включения/выключения одного и нескольких кодеков определенного типа в медиа-профиле.
...
Блок кода | ||
---|---|---|
| ||
domain/tc.test/media-profile/codecs-enable new_media_profile audio G729 18 false Media-profile: new_media_profile enables audio codecs successfuly. Codec type: audio codecs configuration: ┌───────┬─────┬──┐ │Enabled│Codec│PT│ ├───────┼─────┼──┤ │ │PCMA │8 │ │false │G729 │18│ └───────┴─────┴──┘ Legend: Enabled - is codec enabled. Empty means true. Codec - list of codec names and special value <other>. PT - Payload Type, * means any value. |
codecs-get
Команда для получения списка аудио-кодеков медиа-профиля определенного типа в формате пригодном для модификации и последующей установки в профиль.
...
Блок кода | ||
---|---|---|
| ||
/domain/DOMAIN_NAME/media-profile/codecs-get new_media_profile audio PCMA 8 true G729 18 false |
codecs-priority
Команда для изменения приоритета кодека выбранного типа в медиа-профиле.
...
Блок кода | ||
---|---|---|
| ||
/domain/DOMAIN_NAME/media-profile/codecs-priority new_media_profile audio PCMU 0 set 1 Media-profile: new_media_profile priority changed for audio codecs successfuly. Codec type: audio codecs configuration: ┌───────┬─────┬──┐ │Enabled│Codec│PT│ ├───────┼─────┼──┤ │ │PCMU │0 │ │false │G729 │18│ │ │PCMA │8 │ └───────┴─────┴──┘ Legend: Enabled - is codec enabled. Empty means true. Codec - list of codec names and special value <other>. PT - Payload Type, * means any value. |
codecs-remove
Команда удаления одного или нескольких кодеков определенного типа из медиа-профиля.
...
Блок кода | ||
---|---|---|
| ||
/domain/DOMAIN_NAME/media-profile/codecs-remove new_media_profile audio G729 18 Media-profile: new_media_profile removes audio codecs successfuly. Codec type: audio codecs configuration: ┌───────┬─────┬──┐ │Enabled│Codec│PT│ ├───────┼─────┼──┤ │ │PCMU │0 │ │ │PCMA │8 │ └───────┴─────┴──┘ Legend: Enabled - is codec enabled. Empty means true. Codec - list of codec names and special value <other>. PT - Payload Type, * means any value. |
codecs-set
Команда установки полного списка кодеков определенного типа.
...
Блок кода | ||
---|---|---|
| ||
/domain/DOMAIN_NAME/media-profile/codecs-set new_media_profile audio PCMA 8 true G723 4 true GSM 3 true telephone-event * true Media-profile: new_media_profile set audio codecs successfuly. Media-profile detailed information: ┌───────────────┬─────────────────┐ │ Parameter │ Value │ ├───────────────┼─────────────────┤ │name │new_media_profile│ │description │new_profile │ │codecs-priority│user │ └───────────────┴─────────────────┘ Codec type: audio codecs configuration: ┌───────┬───────────────┬──┐ │Enabled│ Codec │PT│ ├───────┼───────────────┼──┤ │ │PCMA │8 │ │ │G723 │4 │ │ │GSM │3 │ │ │telephone-event│* │ └───────┴───────────────┴──┘ Codec type: <other> codecs configuration: ┌───────┬───────┬──┐ │Enabled│ Codec │PT│ ├───────┼───────┼──┤ │ │<other>│* │ └───────┴───────┴──┘ Legend: Enabled - is codec enabled. Empty means true. Codec - list of codec names and special value <other>. PT - Payload Type, * means any value. |
declare
Команда предназначена для создания нового медиа-профиля.
...
Блок кода | ||
---|---|---|
| ||
domain/tc.test/media-profile/declare new_media_profile new_profile user Media-profile: new_media_profile declared successfuly. Media-profile detailed information: ┌───────────────┬─────────────────┐ │ Parameter │ Value │ ├───────────────┼─────────────────┤ │name │new_media_profile│ │description │new_profile │ │codecs-priority│user │ └───────────────┴─────────────────┘ Codec type: <other> codecs configuration: ┌───────┬───────┬──┐ │Enabled│ Codec │PT│ ├───────┼───────┼──┤ │ │<other>│* │ └───────┴───────┴──┘ Legend: Enabled - is codec enabled. Empty means true. Codec - list of codec names and special value <other>. PT - Payload Type, * means any value. |
info
Команда для просмотра параметров конкретного медиа-профиля.
...
Блок кода | ||
---|---|---|
| ||
>/domain/d.city/properties/media-profile/info default Media-profile general information: ╭───────────────┬─────────────────────────────────╮ │ Parameter │ Value │ ├───────────────┼─────────────────────────────────┤ │name │default │ │description │Default media profile for domain.│ │codecs-prioroty│user │ └───────────────┴─────────────────────────────────┘ Codecs type: audio codecs configuration: ╭───────┬───────────────┬──╮ │Enabled│ Codec │PT│ ├───────┼───────────────┼──┤ │ │G722 │9 │ │ │PCMA │8 │ │ │PCMU │0 │ │ │G726-32 │2 │ │ │G729 │18│ │ │telephone-event│96│ │false │opus │* │ │false │SILK │* │ │ │<other> │* │ └───────┴───────────────┴──┘ Codecs type: video codecs configuration: ╭───────┬───────┬──╮ │Enabled│ Codec │PT│ ├───────┼───────┼──┤ │ │H263 │34│ │ │H264 │* │ │ │<other>│* │ └───────┴───────┴──┘ Codecs type: image codecs configuration: ╭───────┬───────┬──╮ │Enabled│ Codec │PT│ ├───────┼───────┼──┤ │ │T38 │* │ │false │JPEG │26│ │false │<other>│* │ └───────┴───────┴──┘ Codecs type: image codecs configuration: ╭───────┬───────┬──╮ │Enabled│ Codec │PT│ ├───────┼───────┼──┤ │ │<other>│* │ └───────┴───────┴──┘ Legend: Enabled - is codec enabled. Empty means true. Codec - list of codec names and special value <other>. PT - PayloadType, * means any value. |
list
Команда для просмотра списка медиа-профилей сконфигурированных в домене.
...
Блок кода | ||
---|---|---|
| ||
>/domain/d.city/properties/media-profile/list List of media-profiles: ╭─────────────┬─────────────────────────────────╮ │ Name │ Description │ ├─────────────┼─────────────────────────────────┤ │default │Default media profile for domain.│ │office │Profile for office network │ │remote_office│Профиль для удаленного офиса │ └─────────────┴─────────────────────────────────┘ |
remove
Команда для удаления медиа-профиля.
...
Блок кода | ||
---|---|---|
| ||
/domain/DOMAIN_NAME/media-profile/remove new_media_profile Media profile: new_media_profile removed successfuly. |
set
Команда для изменения общих параметров медиа-профиля.
...