This page looks best with JavaScript enabled

Hints Asterisk

 ·  🎃 kr0m

Asterisk allows us to do many things in the VoIP world, although many of them only work partially and we have to endure crashes due to the multiple bugs it incorporates, even so it is worth continuing to investigate and try things out. This time I will explain what hints are used for, these will serve us to know the status of the extensions from the switchboard panel itself, so you will know in advance if the final extension is busy or not.

Hints will serve us to know the status of the extensions from the switchboard panel itself, so you will know in advance if the final extension is busy or not.

We define the hints of the extensions to be monitored:

vi /etc/asterisk/hints.conf

exten => 20,hint,SIP/20
exten => 21,hint,SIP/21
exten => 22,hint,SIP/22
exten => 23,hint,SIP/23
exten => 24,hint,SIP/24

We indicate in the sip.conf file that the status of the extensions should be taken into account:

vi /etc/asterisk/sip.conf

notifyringing=yes
notifyhold=yes
call-limit=100

In the phones (at least in the Snom):

Functions Keys --> Active --> Extension --> "Extension"@"ip asterisk"

In extensions.conf we will have to include the hints:

vi extensions.conf

[from_sip]
#include hints

We reload the config:

dialplan reload
sip reload

We can see the hints with:

core show hints

If you liked the article, you can treat me to a RedBull here