Dialogic PowerMedia XMS MSML Media Server Software User guide

Type
User guide
Dialogic® PowerMedia XMS MSML Media
Server Software
User's Guide
December 2022
05-2717-19
www.dialogic.com
2
Copyright and Legal Notice
Copyright © 2022 Enghouse Systems Limited (“Enghouse”). All Rights Reserved. You may not reproduce this
document in whole or in part without permission in writing from Enghouse at the address provided below.
All contents of this document are furnished for informational use only and are subject to change without notice and
do not represent a commitment on the part of Enghouse and its affiliates or subsidiaries ("Enghouse"). Reasonable
effort is made to ensure the accuracy of the information contained in the document. However, Enghouse does not
warrant the accuracy of this information and cannot accept responsibility for errors, inaccuracies or omissions that
may be contained in this document.
INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH DIALOGIC® PRODUCTS. NO LICENSE,
EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY
THIS DOCUMENT. EXCEPT AS PROVIDED IN A SIGNED AGREEMENT BETWEEN YOU AND ENGHOUSE, ENGHOUSE
ASSUMES NO LIABILITY WHATSOEVER, AND ENGHOUSE DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY,
RELATING TO SALE AND/OR USE OF ENGHOUSE PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO
FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY INTELLECTUAL PROPERTY
RIGHT OF A THIRD PARTY.
Enghouse products are not intended for use in certain safety-affecting situations.
Due to differing national regulations and approval requirements, certain Enghouse products may be suitable for use
only in specific countries, and thus may not function properly in other countries. You are responsible for ensuring
that your use of such products occurs only in the countries where such use is suitable. For information on specific
products, contact Enghouse at legal.operations@enghouse.com
It is possible that the use or implementation of any one of the concepts, applications, or ideas described in this
document, in marketing collateral produced by or on web pages maintained by Enghouse may infringe one or more
patents or other intellectual property rights owned by third parties. Enghouse does not provide any intellectual
property licenses with the sale of Enghouse products other than a license to use such product in accordance with
intellectual property owned or validly licensed by Enghouse and no such licenses are provided except pursuant to a
signed agreement with Enghouse. More detailed information about such intellectual property is available from
Enghouse's legal department at 80 Tiverton Court, Suite 800 Markham, Ontario L3R 0G4.
Enghouse encourages all users of its products to procure all necessary intellectual property licenses required to
implement any concepts or applications and does not condone or encourage any intellectual property infringement
and disclaims any responsibility related thereto. These intellectual property licenses may differ from country to
country and it is the responsibility of those who develop the concepts or applications to be aware of and comply with
different national license requirements.
Dialogic, Dialogic Pro, DialogicOne, Dialogic Buzz, Brooktrout, BorderNet, PowerMedia, PowerVille, PowerNova,
ControlSwitch, I-Gate, Veraz, Cantata, TruFax, and NMS Communications, among others as well as related logos,
are either registered trademarks or trademarks of Enghouse and its affiliates or subsidiaries. Enghouse's trademarks
may be used publicly only with permission from Enghouse. Such permission may only be granted by Enghouse legal
department at 80 Tiverton Court, Suite 800 Markham, Ontario L3R 0G4. Any authorized use of Enghouse's
trademarks will be subject to full respect of the trademark guidelines published by Enghouse from time to time and
any use of Enghouse's trademarks requires proper acknowledgement.
The names of actual companies and products mentioned herein are the trademarks of their respective owners.
This document discusses one or more open source products, systems and/or releases. Enghouse is not responsible
for your decision to use open source in connection with Enghouse products (including without limitation those referred
to herein), nor is Enghouse responsible for any present or future effects such usage might have, including without
limitation effects on your products, your business, or your intellectual property rights.
3
Table of Contents
1. MSML Media Server Software Overview ...................................................... 20
Introduction .......................................................................................................... 20
Media Server Operating Model ................................................................................ 20
2. Configuration .............................................................................................. 22
Configuring PowerMedia XMS .................................................................................. 22
Configuring MSML .................................................................................................. 22
3. Feature and Protocol Package Support ....................................................... 23
Feature Highlights ................................................................................................. 23
MSML Protocol Package Support Overview ................................................................ 24
MSML Core Package Support ................................................................................... 26
MSML Conference Core Package Support .................................................................. 26
<asn> .............................................................................................................. 34
<audiomix> ....................................................................................................... 35
<clamp> ........................................................................................................... 35
<content> ......................................................................................................... 36
<contentExit> .................................................................................................... 36
<createconference> ........................................................................................... 38
<destroyconference> .......................................................................................... 39
<gain> ............................................................................................................. 40
<img> .............................................................................................................. 42
<imgStyle> ....................................................................................................... 43
<join> .............................................................................................................. 44
<modifyconference> ........................................................................................... 45
<modifystream> ................................................................................................ 46
<n-loudest> ...................................................................................................... 47
<overlay> ......................................................................................................... 48
<p> .................................................................................................................. 51
<region> ........................................................................................................... 52
<root> .............................................................................................................. 55
<route> ............................................................................................................ 57
<sfutracks> ....................................................................................................... 57
<scroll> ............................................................................................................ 58
<selector> ........................................................................................................ 58
<stream> .......................................................................................................... 59
<textStyle> ....................................................................................................... 62
<track> ............................................................................................................ 64
<unjoin> ........................................................................................................... 64
<var> ............................................................................................................... 65
<videolayout> ................................................................................................... 69
MSML Dialog Core Package Support ......................................................................... 70
<fileobj> ........................................................................................................... 72
<fileop> ............................................................................................................ 74
<transfer> ........................................................................................................ 74
<transferexit> ................................................................................................... 76
<transferobjdone> ............................................................................................. 76
<transferobjstart> .............................................................................................. 77
<transferstart> .................................................................................................. 77
MSML Dialog Base Package Support ......................................................................... 78
MSML Dialog Group Package Support ....................................................................... 87
MSML Dialog Transform Package Support ................................................................. 88
4
<gain> ............................................................................................................. 90
MSML Dialog Speech Package Support ..................................................................... 91
MSML Dialog Fax Detection Package Support ............................................................ 93
MSML Dialog Fax Send/Receive Package Support ...................................................... 94
MSML Audit Core Package Support .......................................................................... 99
MSML Audit Conference Package Support ................................................................. 99
MSML Audit Connection Package Support ............................................................... 102
MSML Audit Dialog Package Support ...................................................................... 103
MSML Audit Stream Package Support ..................................................................... 104
4. Deviations from RFC 5707 ......................................................................... 106
Differences between Native and Legacy MSML ........................................................ 107
5. Feature Details .......................................................................................... 108
MSML Schema Validation ...................................................................................... 109
MSML Schema Overview .................................................................................... 109
Enabling MSML Schema Validation ...................................................................... 109
Using Dialogic Elements and Attributes ................................................................ 109
Media Stream Direction Support ............................................................................ 110
Control Leg Support ............................................................................................. 111
HTTPS Play and Record ........................................................................................ 111
Feature Description ........................................................................................... 111
Requirements for HTTPS Support ........................................................................ 111
Dialog Execution ............................................................................................... 111
Audio and Video Playback .................................................................................. 112
Audio and Video Recording ................................................................................ 112
Session File Transfer ............................................................................................ 112
MSRP File Transfer URI Scheme (xmsrp://) ............................................................ 112
Pattern Matching with <dtmf>/<collect> ............................................................... 113
Supported Patterns ........................................................................................... 114
Pattern Matching and Digit Buffer Rules ............................................................... 114
Monitoring RTP Timeout Alarms ............................................................................. 115
DTMF Clamping for <record> ................................................................................ 116
Multiple URI for <audio> and <video> ................................................................... 116
3GP Multimedia Container .................................................................................... 116
Simultaneous Dual File (A+A/V) 3GP Record Mode .................................................. 117
Sending and Receiving Telephony Events ............................................................... 117
Sending Telephony Events ................................................................................. 117
Receiving Telephony Events ............................................................................... 117
Fax Support ........................................................................................................ 118
Text and Image Overlay ....................................................................................... 118
Text and Image Overlay Elements ...................................................................... 118
Image Overlay Characteristics ............................................................................ 119
Text Overlay Characteristics ............................................................................... 119
Overlay Restrictions .......................................................................................... 120
Supported Colors .............................................................................................. 120
Whisper (Coach) Conferencing .............................................................................. 121
Supported Header Tags on SIP INVITE ................................................................... 121
Call Progress Analysis (CPA) Support ..................................................................... 122
Request-URI Method ......................................................................................... 122
<cpa> Method ................................................................................................. 122
Multitrack Record ................................................................................................ 126
Individual Party Multitrack Recording .................................................................. 128
Two-Party Multitrack Recording .......................................................................... 128
5
Encryption Record ............................................................................................... 128
Enhanced Video Conference Layout Sizing .............................................................. 130
WebM Container Support ...................................................................................... 130
Audio/Video Record to WebM ............................................................................. 130
Native Record .................................................................................................. 130
Join Separate Audio and Video Streams ................................................................. 131
MSML Scripts on SIP INVITE ................................................................................. 131
Automatic Deletion of Silence Recordings ............................................................... 132
Early Connect ..................................................................................................... 132
Early Connect for audio-cut-through to a joined/bridged call .................................. 132
Codec Prioritization .............................................................................................. 134
Global Unique Session Identifier (gusid) ................................................................. 134
Logging gusid ................................................................................................... 134
Simulcast/multi-stream SFU Conferencing .............................................................. 135
Overview of application steps ............................................................................. 136
Application responsibility and considerations ........................................................ 138
Client/Browser settings and considerations .......................................................... 138
MSML API extensions for multi-stream SFU .......................................................... 140
6. Sample Use Case ....................................................................................... 143
Use Case Description ........................................................................................... 143
MSML Control Syntax in Use Case.......................................................................... 145
Establish connections ........................................................................................ 145
Play main prompt ............................................................................................. 145
Play video portal prompt ................................................................................... 146
Play video clip .................................................................................................. 147
Record message ............................................................................................... 149
Replay main prompt .......................................................................................... 151
Terminate connections ...................................................................................... 152
7. MSML Script Examples .............................................................................. 153
MSML Scripts for Audio Conferencing ..................................................................... 153
Creating a basic audio conference with <asn> and <n-loudest> ............................. 153
Modifying a basic audio conference with <asn> and <n-loudest> ........................... 153
Joining preferred party, full-duplex and listen-only parties to an audio conference .... 154
Call center coach-pupil conference ...................................................................... 154
Whisper (coach) conference ............................................................................... 155
Setting <stream> attribute for echo cancellation .................................................. 157
Muting an audio stream flowing into a conference ................................................. 158
Un-muting an audio stream flowing into a conference ........................................... 159
Un-joining streams using wildcards ..................................................................... 160
Continuous digit collection on a conference participant .......................................... 161
Destroying a conference .................................................................................... 162
MSML Scripts for Video Conferencing ..................................................................... 162
Creating a four party layout video conference ...................................................... 162
Expanding a four party layout to a six party layout video conference ...................... 163
Contracting a six party layout to a four party layout video conference ..................... 164
Layered regions in a video conference ................................................................. 165
Single party layout video conference using a <selector> element ........................... 166
Multiple party layout video conference using a <selector> element ......................... 166
Sequencing parties through regions in a video conference layout ............................ 167
Recording a segment of a video conference ......................................................... 169
Playing audio into a video conference .................................................................. 169
Voice activated switching ................................................................................... 169
6
MSML Script Examples for <var> Element .............................................................. 170
Playing the prompt for date ............................................................................... 170
Playing the prompt for digits .............................................................................. 170
Playing the prompt for duration .......................................................................... 171
Playing the prompt for money ............................................................................ 171
Playing the prompt for month............................................................................. 171
Playing the prompt for number ........................................................................... 171
Playing the prompt for silence ............................................................................ 172
Playing the prompt for time ............................................................................... 172
Playing the prompt for weekday ......................................................................... 172
Playing the prompt for string .............................................................................. 172
MSML Script Examples for <transfer> Element ....................................................... 172
PUT a file ......................................................................................................... 172
Local file delete ................................................................................................ 173
Local file copy .................................................................................................. 173
Transfer file over MSRP and delete it (example in SIP INFO payload with content id). 173
MSML Script Examples for Fax Send and Receive ..................................................... 174
Fax Send Example ............................................................................................ 174
Fax Receive Example ........................................................................................ 174
MSML Script Examples for Text and Image Overlays ................................................ 175
Adding static text overlays to regions of a conference ........................................... 176
Adding an additional static image overlay to a region of a conference ..................... 178
Deleting an overlay applied to a region ................................................................ 179
Deleting the text displayed in an overlay ............................................................. 179
Adding and replacing content displayed in an overlay ............................................ 180
Life-of-content overlay region with timed text and text fade out ............................. 181
Overlay with a template reference ...................................................................... 184
MSML Script Examples for Multitrack Record ........................................................... 185
Individual record to multitrack ........................................................................... 185
<join> and <unjoin> a media source to a track ................................................... 185
Playback of audio track 1 in multitrack .wav file ................................................... 186
MSML Script Examples for Enhanced Video Conference Layout Sizing ......................... 186
Crop and fit attribute with custom region sizing .................................................... 186
Region background and fit aspect mode .............................................................. 187
Modify a layout region aspect ratio ..................................................................... 189
Create a conference using a <root> background image and background color .......... 189
Create a layout region with a logo ...................................................................... 190
Create a layout region with a background color .................................................... 190
Create a portrait root conference ........................................................................ 190
Create a conference with default aspect mode and override it for one region ........... 191
MSML Script Examples for Joining Separate Audio and Video Streams ........................ 191
Video join with an audio conference .................................................................... 191
Video join with a multimedia conference .............................................................. 193
Video join with title overlay ................................................................................ 194
MSML Script Examples for Selective Forwarding Unit (SFU) ....................................... 195
Create the conference ....................................................................................... 195
Join the vas by default ...................................................................................... 195
Join the primary video source ............................................................................ 196
Modify the primary video source ......................................................................... 196
MSML Script Examples for <root> Window Orientation ............................................. 196
Create a portrait root conference ........................................................................ 196
MSML Script Examples for Volume Control on Play ................................................... 197
Create a play with volume control using <gain> ................................................... 197
7
MSML Script Examples for Simulcast/multi-screen SFU Conferencing ......................... 197
Create a conference with unique tracks for each party .......................................... 197
Modify the source video stream routed to a track for a specific party ...................... 198
Create a conference with predefined tracks for all parties ...................................... 199
Change the source video being sent in a track that is visible to all parties ................ 199
Modify a stream to add a private track ................................................................ 199
Modify a stream to add a private track in addition to the conference tracks .............. 200
Party event sent when a route source changes ..................................................... 200
8. Appendix A: Media Server Markup Language (MSML) Overview ................ 202
Introduction ........................................................................................................ 202
MSML Elements ................................................................................................... 202
<msml> .......................................................................................................... 202
<send> ........................................................................................................... 203
<result> ......................................................................................................... 203
<event> .......................................................................................................... 203
Stream Manipulation Elements .............................................................................. 203
<join> ............................................................................................................ 203
<modifystream> .............................................................................................. 203
<unjoin> ......................................................................................................... 203
Conference Elements ........................................................................................... 204
<createconference> ......................................................................................... 204
<modifyconference> ......................................................................................... 204
<destroyconference> ........................................................................................ 204
Dialog Elements .................................................................................................. 204
<dialogstart> ................................................................................................... 204
<dialogend> .................................................................................................... 205
Receiving Events from a Client .............................................................................. 205
Sending Events and Transaction Results to a Client ................................................. 205
Transaction Results ........................................................................................... 205
Events ............................................................................................................. 205
Media Server Object Model ................................................................................... 205
Network Connections (conn) .............................................................................. 205
Conference (conf) ............................................................................................. 206
Dialog (dialog) ................................................................................................. 207
Operator (oper) ................................................................................................ 208
Media File Formats .............................................................................................. 208
Audio Play ....................................................................................................... 210
Audio Record ................................................................................................... 212
Video Play ....................................................................................................... 214
Video Record .................................................................................................... 215
Response Codes .................................................................................................. 219
8
Revision History
Revision
Release Date
Notes
05-2717-019
December 2022
Updated RTP alarm messages
05-2717-018
September 2021
Updates to document for support of Selective
Forwarding Unit (SFU) conferencing.
05-2717-017
March 2021
Video Play - MKV and Video Play - WebM: Removed
footnote that stated VP9 was released as a controlled
introduction.
Video Record - MKV and Video Record - WebM:
Removed footnote that stated VP9 was released as a
controlled introduction and added a row in each table
to indicate that native record is supported for VP9.
05-2717-016
August 2020
Copyright and Legal Notice: Revised the copyright and
logo per Enghouse
Sending and Receiving of RTP Telephony Events:
Updated this section new details.
MSML Dialog Transform Package Support: Updated
the section for <gain> support to include mute and
unmute.
05-2717-015
(Updated)
February 2020
MSML Dialog Transform Package Support: Updated
the section for <gain> support.
MSML Script Examples: Added the MSML Script
Examples for Volume Control on Play section.
05-2717-015
(Updated)
October 2019
MSML Dialog Fax Send/Receive Package Support:
Updated the section for fax.pagetotallines and
fax.pagebadblocks shadow variables support.
05-2717-015
(Updated)
June 2019
MSML Conference Core Package Support: Updated the
support table and the <gain> section.
05-2717-015
(Updated)
May 2019
MSML Dialog Fax Send/Receive Package Support:
Updated the section for ecm support.
Feature Details: Updated the Fax Support section.
05-2717-015
March 2019
Updates to support PowerMedia XMS Release 4.0.
Global change: Removed references to Dialogic
proprietary .vid and .aud file formats.
MSML Elements: Updated the <send> section.
Media File Formats: Updated the Video Record - MKV
section.
9
Revision
Release Date
Notes
05-2717-014
(Updated)
March 2019
Feature Details: Updated the Early Connect section
and added the Global Unique Session Identifier
(gusid) section.
05-2717-014
(Updated)
November 2018
Feature Details: Updated the Fax Support section.
05-2717-014
(Updated)
January 2018
MSML Script Examples: Updated the MSML Script
Examples for <var> Element section.
05-2717-014
(Updated)
November 2017
MSML Conference Core Package Support: Updated the
<modifyconference> section.
05-2717-014
October 2017
Updates to support PowerMedia XMS Release 3.5.
MSML Conference Core Package Support: Updated the
sections for <region>,<root>, <stream>, and
<videolayout>.
Deviations from RFC 5707: Updated the section.
Feature Details: Updated section for Pattern Matching
with <dtmf>/<collect>. Added section for Encryption
Record. Added section for Codec Prioritization.
MSML Script Examples: Updated the MSML Script
Examples for Enhanced Video Conference Layout
Sizing and MSML Script Examples for Joining Separate
Audio and Video Streams sections.
Media File Formats: Updated the section. Updated the
Media File Formats table with EVS. Added the Audio
Play - EVS and Audio Record - EVS sections.
05-2717-013
September 2017
Updates to support PowerMedia XMS Release 3.4.
MSML Dialog Base Package Support: Updated the
cleardb attribute for <dtmf>/<collect>.
Differences between Native and Legacy MSML:
Updated the section.
Feature Details: Added section for Early Connect.
05-2717-012
(Updated)
June 2017
Call Progress Analysis (CPA) Support: Updated section
with additional details.
Feature Details: Added section for Automatic Deletion
of Silence Recordings.
Media File Formats: Updated the Audio Play - MKV,
Audio Play - MP4, Audio Play - WebM, Audio Record -
MKV, Audio Record - MP4, and Audio Record - WebM
tables.
05-2717-012
April 2017
Updates to support PowerMedia XMS Release 3.3.
10
Revision
Release Date
Notes
MSML Conference Core Package Support: Updated the
<createconference> section with a note on SFU
limitations and precautions. Updated the <join> and
<modifystream>sections with primary video source
attribute.
Call Progress Analysis (CPA) Support: Updated section
and added details on CPA profiles.
Feature Details: Added section for MSML Scripts on
SIP INVITE.
MSML Script Examples: Added section for MSML Script
Examples for Selective Forwarding Unit (SFU).
05-2717-011
(Updated)
January 2017
Feature Details: Updated the MSRP File Transfer URI
Scheme (xmsrp://) section with details on
offerer/answerer. Updated the Multitrack Record
section with notes on beep, prespeech/postspeech,
and termkey attributes for multitrack recordings.
MSML Script Examples: Added section for Media
stream is removed from recording in MSML Script
Examples for Multitrack Record.
Media Server Markup Language (MSML) Overview:
Added section for Response Codes.
05-2717-011
November 2016
Updates to support PowerMedia XMS Release 3.2.
MSML Media Server Software Overview: Updated the
Media Server Operating Model section.
MSML Dialog Core Package Support: Updated the
<fileobj> and <fileop> attributes.
MSML Dialog Core Package Support and Pattern
Matching with <dtmf>/<collect>: Added support for
the "perlregex" format for the <pattern> element.
MSML Conference Core Package Support: Updated the
<createconference> section to support SFU.
Feature Details and MSML Script Examples: Updated
sections for multitrack record, enhanced video
conference layout sizing, WebM container support,
and separating multimedia into audio and video
streams.
MSML Script Examples: Updated the examples for
MSML version 1.1 because MSML version 1.0 is no
longer supported. Updated the MSML Script Examples
for Joining Separate Audio and Video Streams section.
Media File Formats: Updated the Audio Record - WAV,
Audio Record - MKV, Audio Record - WebM, Video
Record - MKV, and Video Record - WebM tables.
11
Revision
Release Date
Notes
05-2717-010
(Updated)
May 2016
MSML Dialog Base Package Support and Video
Record: Added how to use the input video stream's
resolution and framerate as the target encoding
resolution and framerate.
Feature Details: Added section for MSML Schema
Validation and removed the related content from the
Appendix.
05-2717-010
March 2016
Updates to support PowerMedia XMS Release 3.1.
Feature and Protocol Package Support: Added
Whisper (coach) conferencing and Supported header
tags on SIP INVITE to the Feature Highlights table.
Feature Details: Added Whisper (coach) conferencing
and Supported Header Tags on SIP INVITE sections.
MSML Script Examples: Added Whisper (coach)
conference section.
Media File Formats:
Added MKV and MP4 Video Play and Video
Record capabilities.
Updated the Video Record - Dialogic VID
table and the Video Record - 3GP table.
05-2717-009
(Updated)
January 2016
Differences between Native and Legacy MSML: Added
a note that legacy MSML mode is no longer supported.
05-2717-009
October 2015
Updates to support PowerMedia XMS Release 3.0.
Feature and Protocol Package Support:
Added a reference to the Sending Non-DTMF
RTP Telephony Events section for the
<dtmfgen> digits attribute in MSML Dialog
Base Support table.
Added the MSML Dialog Fax Send/Receive
Package Support table.
Updated the deletewhen="nomedia"
description for <createconference>.
Deviations:
Added "no-ringback" value to cpa.detect.
Feature Details:
Updated the Media Stream Direction Support
section.
Added "suspend" as an initial attribute value
for the <transfer> element.
Replaced the "mtt" attribute with "maxtime"
for the <transfer> element.
12
Revision
Release Date
Notes
Added convert option to the operation
attribute for <fileop> element.
Added srcformat and destformat attributes for
<fileop> element in Session File Transfer
section.
Feature Details: Updated the MinMax
information in the Pattern Matching and Digit
Buffer Rules section.
Added section for Sending Non-DTMF RTP
Telephony Events.
Added section for Text and Image Overlay.
MSML Script Examples:
Updated the Call center coach-pupil
conference script.
Updated the Setting <stream> attribute for
echo cancellation script.
Added MSML Script Examples for Fax Send
and Receive.
Added MSML Script Examples for Text and
Image Overlays.
Media Server Markup Language (MSML) Overview:
Added XML Schema information.
Added more information to the
<dialogstart> element in the Dialog
Elements section.
05-2717-008
(Updated)
June 2015
Feature and Protocol Package Support:
Updated the MSML Dialog Base Package
Support table to add a comment that append
attribute in the <record> element supports
audio only.
Feature Details:
Added convert option to the operation
attribute for <fileop> element.
Added srcformat and destformat attributes for
<fileop> element.
13
Revision
Release Date
Notes
05-2717-008
(Updated)
May 2015
Feature and Protocol Package Support:
Added the MSML Dialog Speech Package
Support and MSML Dialog Fax Detection
Package Support tables.
Deviations:
Updated section for Differences between
Native and Legacy MSML.
MSML Script Examples:
Updated Destroying a conference example in
MSML Scripts for Audio Conferencing section.
Media Server Markup Language (MSML) Overview:
Updated the Video Play - Dialogic VID
(proprietary) table in Media File Formats
section to correct MSML attribute format for
jpeg codec.
05-2717-008
March 2015
Updates to support PowerMedia XMS Release 2.4.
Feature and Protocol Package Support:
Updated the MSML Dialog Base Package
Support table to change record.recordid
shadow variable in the <record> element as
not supported.
Feature Details:
Updated section for Session File Transfer.
Updated section for Media Stream Direction
Support with details about WebRTC.
Added section for DTMF Clamping for
<record>.
Added section for Multiple URI for <audio>
and <video>.
Added section for 3GP Multimedia Container.
Added section for Simultaneous Dual file
(A+A/V) 3GP Record Mode.
MSML Script Examples:
Added Voice activated switching examples in
MSML Scripts for Video Conferencing section.
Media Server Markup Language (MSML) Overview:
Updated the various tables in Media File
Formats section with 3GP container.
14
Revision
Release Date
Notes
05-2717-007
January 2015
Media Server Markup Language (MSML) Overview:
Added dlgc:target_display attribute to
<dialogstart> element in Dialog Elements
section.
Updated the Video Record table in Media File
Formats section.
05-2717-006
December 2014
Configuration:
Updated the details for configuring MSML.
Feature and Protocol Package Support:
Updated the various tables.
Updated the tables with support for id
attribute of the <gain> element.
Deviations:
Updated section for Differences between
Native and Legacy MSML.
Feature Details:
Updated section for Session File Transfer.
Updated section for Pattern Matching with
<dtmf>/<collect>.
Added section for Monitoring RTP Timeout
Alarms.
05-2717-005
October 2014
Updates to support PowerMedia XMS Release 2.3.
Configuration:
Updated valid values for Media Mode Selection
parameter in MSML Configuration.
Added table for Media Mode Combinations.
Added section for Alarms in MSML Advanced
Configuration.
Feature and Protocol Package Support:
Updated the MSML Dialog Core Package
Support table with support for <exit> element
and namelist attribute.
Updated the MSML Dialog Core Package
Support table with support for <disconnect>
element and namelist attribute.
Updated the MSML Dialog Base Package
Support table with support for
terminate.cancelled and terminate.finalsilence
events in the <record> element.
15
Revision
Release Date
Notes
Updated the MSML Dialog Base Package
Support table with support for edt event in the
<dtmf> and <collect> elements.
Deviations:
Updated section for Differences between
Native and Legacy MSML.
Feature Details:
Added section for Session File Transfer with
support for <transfer> and <fileop> elements.
Added section for Pattern Matching with
<dtmf>/<collect>.
Sample Use Case:
Added note about I-frame to Step 5g for
Record Message.
MSML Script Examples:
Updated Start continuous digit collection
example in Continuous digit collection on a
conference participant.
Added section for MSML Scripts Examples for
<transfer> element.
Media Server Markup Language (MSML) Overview:
Added details about codec feature in Media File
Formats section.
Updated the Media File Formats table with
AMR and AMR-WB containers.
Added the Audio Play - AMR, Audio Play -
AMR-WB, Audio Record - AMR, and Audio
Record - AMR-WB tables in Media File Formats
section.
05-2717-004
May 2014
Feature and Protocol Package Support:
Updated the size attribute with additional
supported values in <root> section.
Deviations:
Added item in the Differences between Native
and Legacy MSML section.
16
Revision
Release Date
Notes
05-2717-003
March 2014
Updates to support PowerMedia XMS Release 2.2.
Configuration:
Added note for the Schema Validation
parameter in MSML Configuration Parameters
table.
Deviations:
Added item in the Differences between Native
and Legacy MSML section.
Media Server Markup Language (MSML) Overview:
Updated the tables in Media File Formats
section.
05-2717-002
November 2013
Deviations:
Added section for Differences between Native
and Legacy MSML.
Media Server Markup Language (MSML) Overview:
Added section for Media File Formats.
05-2717-001
October 2013
Updates to support PowerMedia XMS Release 2.1.
05-2717-001-
01
August 2013
Global change:
Renamed this document from Dialogic® MSML
Media Server Software User's Guide to
Dialogic® PowerMedia XMS MSML Media
Server Software User's Guide.
Refer to www.dialogic.com for product updates and for information about support policies,
warranty information, and service offerings.
17
Welcome
This User's Guide provides information about the Dialogic® PowerMedia Extended Media
Server (also referred to herein as "PowerMedia XMS" or "XMS") Media Sessions Markup
Language (MSML) software.
The MSML Media Server software enables a remote client, also known as an application
server (AS), to control media resources on a media server (MS). The connection between
the AS and MS is established using the SIP protocol; thereafter, media control
commands/responses (in the form of MSML control syntax) are exchanged in SIP messages,
such as the INFO message or the 200 OK response.
18
About This Publication
The following topics provide information about this publication.
Purpose
Scope
Intended Audience
How to Use This Publication
Related Information
Purpose
This publication documents the Media Server Markup Language (MSML) Media Control
Interface software that provides an interface between an application server (AS) and
Dialogic's host-based media server (MS).
This publication is for users of the MSML Media Server Software who choose to write
applications that require remote control management of MS resources available on
platforms running Dialogic® PowerMedia Extended Media Server (also referred to herein
as "PowerMedia XMS" or "XMS").
Additionally, this publication documents Dialogic's compliance with the RFC 5707 MSML
specification, describing extensions, deviations, and/or omissions from the standard. RFC
5707 is considered the normative implementation reference that readers and developers
should consult in conjunction with this guide.
Scope
The MSML Media Server Software functionality is being provided in a phased approach. A
phase typically introduces support for a previously unsupported package(s), element(s) or
attribute(s). This publication documents the functionality provided by the current set of
supported MSML packages as described in RFC 5707 as implemented in this version of the
MSML Media Server Software.
This includes the following packages:
MSML Core Package
MSML Conferencing Core Package
MSML Dialog Base Package
MSML Dialog Core Package
MSML Dialog Fax Detection Package
MSML Dialog Group Module Package (parallel topology only)
MSML Dialog Speech Package
MSML Dialog Transform Primitives Module Package (gain only)
MSML Dialog Fax Send/Receive Package
Future implementation phases are planned to provide additional MSML support.
19
Intended Audience
This publication is for:
System Integrators
Independent Software Vendors (ISVs)
Value Added Resellers (VARs)
Original Equipment Manufacturers (OEMs)
This publication assumes that the reader is familiar with the Session Initiation Protocol (SIP)
as defined in RFC 3261.
How to Use This Publication
This publication is divided into the following sections:
MSML Media Server Software Overview describes the role of the MSML Media Server
Software in a media server environment.
Configuration explains how to configure the MSML Media Server Software for
operation on a media server.
Feature and Protocol Package Support specifies high-level feature support by
platform and identifies packages, elements, and attributes (as documented in the
RFC 5707 MSML specification) currently supported or not supported by the MSML
Media Server Software.
Deviations explains deviations from the RFC 5707 MSML specification.
Feature Details provides details on features supported, including a feature
description and how-to information.
Sample Use Case presents an application that demonstrates many of the features
currently supported by the MSML Media Server Software.
Diagnostics describes the logging capabilities available to the MSML Media Server
Software for diagnostic purposes.
Media Server Markup Language (MSML) Overview provides a high-level introduction
to MSML.
Related Information
See the following for additional information:
http://www.dialogic.com/manuals (for Dialogic® product documentation)
http://www.dialogic.com/support (for Dialogic® technical support)
http://www.dialogic.com (for Dialogic® product information)
20
1. MSML Media Server Software Overview
This chapter provides an overview of the MSML Media Server Software. Topics include:
Introduction
Media Server Operating Model
Introduction
The MSML Media Server Software is an integral part of the system software provided by
PowerMedia XMS.
When the PowerMedia XMS system software is installed on a media server (MS), the MSML
Media Server Software enables a remote client, also known as an application server (AS), to
control media resources.
Note: The MSML Media Server Software is based on the Media Server Markup Language
(MSML) as defined in the RFC 5707 MSML specification, which combines the original MSML
and Media Object Markup Language (MOML) drafts.
The connection between the AS and MS is established using the SIP protocol; thereafter,
media control commands/responses (in the form of MSML control syntax) are exchanged in
SIP messages, such as the INFO message or the 200 OK response.
Media Server Operating Model
Figure 1 shows an environment where the media server (MS) and application server (AS)
operate as separate entities. The MSML Media Server Software runs on the MS and provides
the interface between the AS and the MS as shown. The MS is responsible for media
processing only; call control is the responsibility of the AS.
The AS, as an MSML client, must be capable of interpreting and generating MSML control
syntax and must support the SIP INVITE, 200 OK, ACK, BYE and INFO messages.
The MSML interface uses SIP INFO messages to send MSML script payloads.
For some use cases, it is possible to send MSML script payloads as part of a multi-part MIME
message body included with the SIP INVITE.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220

Dialogic PowerMedia XMS MSML Media Server Software User guide

Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI