Meaning Of Core Show Hint Output

Home » Asterisk Users » Meaning Of Core Show Hint Output
Asterisk Users 1 Comment

Hi all

If I have the following in my dialplan:

exten=>25001,hint,SIP/25001

Doing a

core show hint 25001

results in

25001@local : SIP/25001
State:Idle Watchers 0
1 hint matching extension 25001

in the Asterisk CLI.

What does the

Watchers 0

mean?

I use the hints table output via core show hints for logic in my dialler application – but what is a “watcher” in the context of dialplan hints?

Is this something I can make use of? My dialler app uses SSH to get the asterisk -rx output of core show hints and then string processes the result to determine which extensions are busy, et al.

Can I for example somehow subscribe as a watcher to a hint or somesuch?

Thank you

Stefan

One thought on - Meaning Of Core Show Hint Output

  • The Watchers value show how many other phones you have configured with BLF (Busy Lamp Field) “pointing” to that equipment.
    It means how many other phones you have watching that equipment state.

    In your case, if you don’t use BLF on your phones, that value will always be 0, i suppose.


    Rui Mota