pbx-runstate − set or view coventry running state
pbx-runstate [options] [
Sets the running state of the coventry server. This activates a .state file which has overrides to the current config. For example, it could be used to set different ringing patterns at night.
Pbx-runstate can be used to set states even if coventry is not running. This makes it possible to call it from cronjobs. If coventry is actively running it issues a server reload request to apply the newly set state.
−−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 |
State successfully changed.. |
|||
|
1 |
Change resulted in an error or is invalid. |
|||
|
2 |
Change reload timed out without any response signaled. |
|||
|
3 |
Error sending reload to message queue. |
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.