// Query hint status on startup:

Action: Command
Command: core show hints
ActionID: shp-5-srv0513564E


Response: Follows
Privilege: Command
ActionID: shp

    -= Registered Asterisk Dial Plan Hints =-
   204                 : SIP/204               State:Unavailable     Watchers  0
   203                 : SIP/203               State:Idle            Watchers  0
   202                 : SIP/202               State:Idle            Watchers  0
   201                 : SIP/201               State:Unavailable     Watchers  0
   *280                : Custom:DAYNIGHT0      State:InUse	     Watchers  0
----------------
- 5 hints registered
--END COMMAND--




// Night-mode activated:

Event: ExtensionStatus
Privilege: call,all
Exten: *280
Context: app-daynight-toggle
Hint: Custom:DAYNIGHT0
Status: 1
StatusText: InUse


...


// Night-mode deactivated:

Event: ExtensionStatus
Privilege: call,all
Exten: *280
Context: app-daynight-toggle
Hint: Custom:DAYNIGHT0
Status: 0
StatusText: Idle

