AudioCodes Mediant 1000 User Manual page 433

Voip media gateways, sip protocol
Hide thumbs Also See for Mediant 1000:
Table of Contents

Advertisement

SIP User's Manual
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">
value="20041210"/>
1]xxx)">
</MediaServerControl>
An example is shown below of an MSCML <PlayCollect> Response:
<?xml version="1.0" encoding="utf-8"?>
<MediaServerControl version="1.0">
text="OK" digits="4563">
</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.
Version 6.4
<request>
<playcollect id="6379" barge="NO" returnkey="#">
<prompt>
</prompt>
<regex type="mgcpdigitmap" value="([0-
</regex>
</playcollect>
</request>
<response request="playcollect" id="6478" code="200"
</response>
20. Configuring the IP Media Parameters
<audio url="http://localhost/1">
<variable type="silence" value="1"/>
<variable type="date" subtype="mdy"
433
March 2012

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mediant 600

Table of Contents