Service manual
169Appendix G Generating Alarm and Syslog
Cyclades-TS Installation & Service Manual
-d dest: Required. The GSM network address (i.e. phone number) of the mobile phone the message is to be
sent to. Supported format is: [int. prefix - country code] area code - phone number.The international prefix can be
either “+” or “00” (or any other value supported by the GSM network provider the server is subscribed to). Some
separation characters can be used to beautify the number, but they are purely cosmetic and will be stripped by
the server. Those characters are [./- ]. The pause character (‘,’) is not supported. Regarding the international
country code, don’t forget that its necessity is to be considered respective to the SMS gateway location (the host
this client program is connecting to), not the location where the client is run from. In case of doubt, please contact
the SMS server administrator for your network. Please always include the area code (even when sending to a
destination in the same “area”, i.e. on the same network). The number without the area code, though syntactically
correct and accepted by the network, would never get delivered (at least, that’s my experience with Proximus —
YMMV).
-m message : Required (Use one and only one of “-m” or “-f”). The text of the message to be sent. Unless
made up of a single word, it will have to be quoted for obvious reasons. Maximum length is 160 characters. A
longer message will be truncated (the user will be warned about it), but the message will still be sent. At the
present time, only 7bit ASCII is supported for the message text.
-f msgfile : Required (use one and only one of “-m” or “-f”). The name of a text file where the message to
send is to be read from. This file can contain multiple lines of text (they will be concatenated), but its total length
can’t exceed 160 characters. A longer text will be truncated (the user will be warned about it), but the message
will still be sent. The special file ‘-’ means that input will be read from stdin. At the present time, only 7bit
ASCII is supported for the message text.
-u user : Optional. The server module requires the user to identify himself for logging purposes.No
authentication is performed on this info though. If this parameter is omitted, sendsms will send the Unix username
of the current user. This parameter allows you to override this default behavior (might be useful in the case of
automated sending).
-p port : Optional. Communication port on the target server. If provided here, this value will be used to
connect to the server. If omitted, the client will query the local system for the port number associated with the