SipPlayVoice

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command plays voice from the specified file in the existing call on the specified GSM port. Command terminates as soon as the voice starts to play. Voice file will be played repetitively is the repeat flag is specified.

COMMAND

Command Input arguments Returns
SipPlayVoice CalledNumber, Voice file path, [repeat flag] In the case of error, Error Code

OUTPUT

GSM port command status in the following format:
"%s\n", command_status

EXAMPLE

~# SipPlayVoice +336123456 /usr/wav/message.wav 1
PLAYING STARTED

~# SipPlayVoice a84b4c76e66710@sip.gateway.com /usr/wav/message.wav
CALL IS NOT CONNECTED