* pour lister l'etat des BLF core show hints * on peut faire du blf ? module show like devstate * On force un etat dialplan set global DEVICE_STATE(Custom:truc) NOT_INUSE * la conf sur un snom fkey5=blf * on joue avec notre AMI // 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 * liste les truc qui font tilter les hint sur les quels des abonnements suivent devstate list la meme chose si on a besoin de jouer avec * database show CustomDevstate