Adds a provisioning user for a remote SIP account. This allows locally provisioned hardphones
to be associated with non-local SIP accounts.
Returns a full user object, the same form as user/get
+ Returns 'failed' with 'cause' = 'domain' if an attempt is made to add_remote for a local domain.
user/remove?username=foo&domain=bar
Removes user account from Kamailio, if present, and removes user from provisioning.
Returns 'response' = 'ok' with 'number' = '<number>' If the number is in the pool
Returns response = 'failed' with 'cause' = 'nonexistant' if not.
-
alias/list
- Currently not implemented.
-
-alias/user?destination=foo@bar.bz
-alias/user?destination=foo@bar.bz&e164=true
+alias/list?destination=foo@bar.bz
+alias/list?destination=foo@bar.bz&e164=true
+alias/list?alias=foo@bar.bz
Currently not implemented
alias/add?alias_username=foo&alias_domain=bar.bz&destination=bar@qux.zx
alias/list
alias/user?destination=foo@bar.bz
-Parameter updates:
- Update nodes where username=foo&domain=bar.bz is used, to also support user=foo@bar.bz
- user/get
- user/add_local
- user/add_remote
- user/remove
- user/change_pw
- user/update
- phone/get (reverse, needs username & domain param)
- alias/add
- alias/remove
+Add collision prevention for aliases, make sure that no alias can be added when the alias
+address would overlap/collide with a valid user-address
authentication-mechanism :)