]> git.defcon.no Git - hermes/blobdiff - doc/api-nodes.txt
Made default password lenght a config option. Added permittedcalls-info to doc
[hermes] / doc / api-nodes.txt
index a9f500ed5d113a7709dbad5055df5f12fc3e34ef..42150590925c825d644b25e79df5daac69314888 100644 (file)
@@ -405,6 +405,7 @@ user/available
 
   Return:
        Returns 'ok' with 'cause' = 'nonexistant' if the address is available.
+       TODO: Returns 'failed' with 'cause' = 'domain' if the domain is not a kamailio domain.
        Returns 'failed' with 'cause' = 'exists' if the address is in use.
        Returns 'failed' with 'cause' = 'invalid' if SIP address is malformed.
 
@@ -707,6 +708,18 @@ TODO list:
 Some TODO's listed above ...
 
 Permissions! (user/permissions?user=...)
+The permissions bit-flag seems to be:
+       NOCALLS        1
+       EMERGENCY      2 
+       INTERNAL       4
+       VOIP           8 
+       NATIONAL       16
+       SERVICES       32      
+       INTERNATIONAL  64      
+       OTHERS         128
+
+can_write() checks!
+can_read_full() checks!
 
 Improve robustness of change_pw: fetch old password for rollback/testing.