EasyManua.ls Logo

AudioCodes Mediant 600 - Page 433

AudioCodes Mediant 600
844 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Version 6.4 433 March 2012
SIP User's Manual 20. Configuring the IP Media Parameters
An example is shown below of an MSCML <PlayCollect> Request that includes a
sequence with variables and an MGCP digit map:
<?xml version="1.0" encoding="utf-8"?>
<MediaServerControl version="1.0">
<request>
<playcollect id="6379" barge="NO" returnkey="#">
<prompt>
<audio url="http://localhost/1">
<variable type="silence" value="1"/>
<variable type="date" subtype="mdy"
value="20041210"/>
</prompt>
<regex type="mgcpdigitmap" value="([0-
1]xxx)">
</regex>
</playcollect>
</request>
</MediaServerControl>
An example is shown below of an MSCML <PlayCollect> Response:
<?xml version="1.0" encoding="utf-8"?>
<MediaServerControl version="1.0">
<response request=“playcollect” id=”6478” code=”200”
text=”OK” digits=”4563”>
</response>
</MediaServerControl>
20.1.2.2.5 Playing Announcements and Recording Voice
The <PlayRecord> request is used to play an announcement to the caller and to then
record the voice stream associated with that caller. The play part of the <PlayRecord>
request is identical to the <Play> request. The record part includes a URL to which the
voice stream is recorded. This URL refers to an HTTP server.
Each <PlayRecord> request contains the following request-specific parameters in addition
to the Prompt block (all parameters except ‘recurl’ are optional):
id: an optional random number used to synchronize request and response.
prompturl: a specific audio file URL that is used in addition to the references in the
prompt block. This audio file is the first to be played.
barge: if set to ‘NO’, DTMF digits received during announcement playback are
ignored. If set to ‘YES’, DTMF digits received during announcement playback stop the
playback and start the recording phase.
cleardigits: defines whether or not the device clears the digit buffer between
subsequent requests.
escapekey: defines a specific digit (including ‘*’ and ‘#’) which (when detected during
any phase) stops the request and initiates a response.
recurl: the URL on the external storage server to which the RTP stream is sent for
recording. This is a mandatory parameter.
mode: defines if the recording ‘overwrites’ the existing file or ‘appends’ to it.
initsilence: defines how long to wait for initial speech input before terminating the
recording. This parameter may take an integer value in milliseconds.

Table of Contents

Other manuals for AudioCodes Mediant 600

Related product manuals