pbx-message − send text messages to users
pbx-message [options]
Sends text messages to a locally running coventry server. The messages will then be delivered to the corresponding pbx phone lines or extension group. Sending to "all" is used to send a message to all registered devices. Text messages could be injected from scripts or crontabs.
−−quiet
Only return exit code, produce no output.
−−to=destination
Line number or extension group to send text message to. The default is all currently active lines if not specified.
−−subject=text
Subject of message (optional), may be used in title of pop-up windows.
|
−−help |
Outputs help screen for the user. |
Exit status can be used to determine command results in shell scripts.
|
0 |
Command sent and successfully processed. | ||
|
4 |
Message queue or shm ipc not found or inaccessible, server offline. | ||
|
10 |
Destination id too long. | ||
|
11 |
Text message > 160 chars (sms limit). | ||
|
12 |
Subject is too long. |
Copyright ©
2021 Tycho Softworks.
This is free software; see the source for copying
conditions. There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.