SendMmsText

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command allows to send a specified MMS message from the specified GSM port. It requires that Data session on the specified GSM port be already up on the appropriate APN and MMS parameters set for sending MMS. This command sends MMS to the specified destination number, with specified text (entered between double quotes, coded as UTF-8), from the specified GSM port. The MMS title can be specified as an optional parameter. Command exits as soon as the MMS is submitted to MMSC.
If timeout is not specified or is greater than general timeout, general timeout will be used

COMMAND

Command Input arguments Returns
SendMmsText Port index, Destination number, MMS text, [Subject, Timeout, CcNUmbers, BccNUmbers] In the case of error, Error Code

OUTPUT

None

EXAMPLE

~# SendSMmsText 0 0632279930 "MMS message from BASH script"
SMS SENT

~# SendSMSText 0 0632279930 "MMS message from BASH script" "MMS Test"
SMS SENT