pbx-registry − examine user registry, see and modify keys
pbx-registry [options] user [key [value]]
Sends status request to a locally running coventry server to verify if a given user is valid. The exit code can then be used to branch shell scripts. Optionally you can request the value of a given user’s registry key item, or to set the value of a feature key. Finally, the −c option can be used to clear all persistent settings for the given user.
−−clear
Clear a given user’s feature settings.
−−exists
Tests if line is defined in config.
−−invite
Tests if line can be invited.
−−message
Tests if line can be messaged.
−−quiet
Only return exit code, produce no output.
|
−−help |
Outputs help screen for the user. |
Exit status can be used to determine command results in shell scripts.
|
0 |
Command sent and successfully processed. |
|||
|
1 |
Command send resulted in an error or is invalid. |
|||
|
2 |
Command timed out without any response signaled. |
|||
|
3 |
Error sending to message queue. |
|||
|
4 |
Message queue or shm ipc not found or inaccessible. |
Copyright ©
2022 Tycho Softworks.
This is free software; see the source for copying
conditions. There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.