SendSmsText: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
Text should be entered with double quotes, coded as UTF-8
Text should be entered with double quotes, coded as UTF-8


The SMS Center number can be specified as an optional parameter. Command exits as soon as the SMS is sent.
The SMS Center number can be specified as an optional parameter as well as an optionnal Timeout value in seconds.
 
Command exits as soon as the SMS is sent.


'''COMMAND:'''
'''COMMAND:'''
Line 18: Line 20:
'''OUTPUT:'''
'''OUTPUT:'''


None;
None.


'''EXAMPLE:'''<syntaxhighlight lang="text">
'''EXAMPLE:'''<syntaxhighlight lang="text">

Revision as of 22:44, 5 June 2024

This command send a specified text as a SMS to a specified destination number.

Text should be entered with double quotes, coded as UTF-8

The SMS Center number can be specified as an optional parameter as well as an optionnal Timeout value in seconds.

Command exits as soon as the SMS is sent.

COMMAND:

Command Input Arguments Returns
SendSmsText Port index, Destination number, SMS text, [SMSC number[, Timeout]] In case of Error, returns Error Codes

OUTPUT:

None.

EXAMPLE:

~# SendSmsText 0 0632279930 "SMS message from BASH script"
SMS SENT
Message reference(s): 89

OR

~# SendSmsText 0 0632279930 "SMS message from BASH script" +333600100100
SMS SENT
Message reference(s): 54