Returns 'failed' with 'cause' = 'nonexistant' if user does not exist..
Returns 'failed' with 'cause' = 'invalid' if SIP address is malformed.
+user/location
+-------------------
+ Required:
+ user=user@bar.bz *
+
+ Description:
+ Return registered user agent locations for a given user, with
+ contact and user agent information.
+
+ Return:
+ On success, returns the array 'locations', each element contianing:
+ 'contact' is the registration contact (the location)
+ 'useragent' is the UA string from the client
+ 'expires' is the expiration time of the registration, as unix timestamp
+
+ Returns 'failed' with 'cause' = 'offline' if user is not registered ...
+ Returns 'failed' with 'cause' = 'invalid' if SIP address is malformed.
+
+ TODO:
+ Add a return code for non-existant subscriber?
+
user/list
-------------------
Optional:
TODO list:
---------------------
+user/forward To set up permanent forwarding. Call forward is stored as a user
+ preference value in the kamailio database. Evample of diverting calls to
+ 'jonl@hig.no' to the number +4761135280':
+insert into usr_preferences (username, domain, attribute, value, last_modified) values ( 'jonl', 'hig.no', 'cfu', '+4761135280', now());
+
Some TODO's listed above ...
Permissions! (user/permissions?user=...)