The section explains how to use Totalview 2017’s SMS features. SMS messages can be sent from mobile phones to the Totalview 2017 server, and can be used to set presence and query user information.
Change current presence
The following commands can be used to change the current presence of a user. When sending a SMS message, a SMS response is sent back with the current presence.
SMS syntax: <State>:<Duration>:<Forwarding>:<Text>
|<State>||The ID of the state that should be used in the new current presence, e.g. In, Busy or Out.|
|<Duration>.||The expected duration of the new current presence. Can be minutes (m), hours (h) or days (d), e.g. 2h30m is 2 hours and 30 minutes.
The duration can be omitted if state allows it. If omitted duration is set to one hour.
|<Forwarding>||Forwarding is set by using the <Type><Phone Number> setting. If forwarding is omitted the current forwarding is used.
· <Type> can be E (External calls), I (Internal calls), A (All calls) or N (No forwarding)
· <Phone Number> is the number to forward to or the special number X. X is the mobile number that sent the SMS to the Totalview 2017 server. E.g. E4000 will forward all external calls to device 4000 while AX will forward all calls to the mobile phone.
|<Text>||Text description of the new current presence. Can be omitted if the state allows it.|
Examples of SMS messages
|SMS message||SMS response||Description|
|bus:2h:a4000:Status meeting||Tina Townsend
|Current state is set to busy for 2 hours. Forwarding all calls to device 4000.|
|Current state is set to busy for 2 hours. Current forwarding is used.|
|Current state is set to private for 45 minutes. Current forwarding is used.|
|Current state is set to home. Current forwarding is used.|
|Current state is set to private for 45 minutes. Internal calls are forwarded to mobile.|
Request information about users
The following SMS commands can be used to query information about users.
|Get user’s current state||u:<userid>
|A list of active States
(0 today, 1 tomorrow)
|Get user’s appointments||u:<userid>+
|A list of user’s appointments today and tomorrow
10.00 – 12.00 –
|Get user’s appointments for a given day||u:<userid><DDMM>
|A list of user’s appointments selected day
Appointments for user:
Tina Townsend on 31. Jan
08.00 – 08.30 Busy
|Get user’s contact information||u:<userid>?
|A list of user’s contacts
Other SMS message features
|Request a list of States||States
|A list of active States
<State id><Parameters><State name>
The state to be used when registering
A list of parameters applicable for the state.
Possible parameters are
e : End (duration)
f : Forwarding
t : Text
The full name of the state
In (f) In
Hom (f) Home
Bus (eft) Busy in
Mee (eft) Meeting
Din (f) Dinner
Pri (eft) Private
Hol (ef) Holiday
|Gives a list of available commands
Always use : to separate fields
states list states