The Grandstream's BLF feature works with Asterisk's hint directive. It's a feature that's seen a bit of tweaking in the recent past so, depending on the version of firmware for the phone and the version of Asterisk, your mileage will most definitely vary. Various diffs that I've picked up from other people include:
A hint (in Asterisk) looks a bit weird. It's written in the syntax of a normal extension but that extension doesn't have to exist. Example:
exten => 9705,hint,SIP/1705
In the above, there is no phone connected to 9705. You'll get an error if you dial it. To make your dialplan easier to read, you can even attach the hint to extension of the phone being "watched". Example:
exten => 1705,hint,SIP/1705 exten => 1705,1,Dial(SIP/1705,20,t)
9705 (or the 1705 to the left of "hint") is just the name for the hint. It's only used by the "watching" phone. (Something to try: does "Bob" work in place of "9705"?)
The above won't work unless you make a few adjustments to the watched phone's entry in sip.conf:
Here's the entry for my cordless phone in sip.conf (secret and context have been changed for my own protection):
[1705] type=peer username=1705 secret=blahpasswordblah callerid=<1705> host=dynamic canreinvite=no disallow=all allow=alaw allow=ulaw context=default notifyringing=yes call-limit=100 limitonpeers=yes
Note: for more security, you'll want to add in subscribecontext. However, that's an exercise for you to research later.
Quite easy:
![]() |
Not much else to do but:
I'll add these later:
Running "core show hints" at the command line will help in troubleshooting:
The following indicates that you either don't have the syntax in extensions.conf or sip.conf correct:
desk*CLI> core show hints There are no registered dialplan hints
The following indicates that you have the Asterisk end configured correctly but not the phone:
desk*CLI> core show hints
desk*CLI>
-= Registered Asterisk Dial Plan Hints =-
1705@default : SIP/1705 State:Idle Watchers 0
----------------
- 1 hints registered
The following is what it should look like if Asterisk and the phone are configured correctly:
desk*CLI> core show hints
desk*CLI>
-= Registered Asterisk Dial Plan Hints =-
1705@default : SIP/1705 State:InUse Watchers 1
----------------
- 1 hints registered
Credits include: