[asterisk-users] Meaning of core show hint output

Stefan Viljoen viljoens at verishare.co.za
Mon Jan 19 08:06:28 CST 2015


Hi all

If I have the following in my dialplan:

exten=>25001,hint,SIP/25001

Doing a

core show hint 25001

results in

                   25001 at 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





More information about the asterisk-users mailing list