BLF not working with GXP-2000 [Solved]

I have tried and tried, but I cannot get BLF on GXP-2000 v1.1.0.13 phone to work with Asterisk 1.2 running on PoundKey server. I have two soft phones (ext 101 and 102) and one GrandStream phone (ext 104). ‘Sip Show Subcribers’ returns 0 active subscribers, and ‘Show Hints’ does not show any watchers:

-= Registered Asterisk Dial Plan Hints =-

104 : SIP/104 State:Idle Watchers 0
102 : SIP/102 State:Idle Watchers 0
101 : SIP/101 State:Idle Watchers 0

  • 3 hints registered

I included my config files… if you have any suggestions, I would greatly appreciate it. I don’t know if it matters, but I cannot get the GrandStream phone to SIP register with Asterisk, so I turned SIP registration off on the phone. All the extensions can call eachother without a problem. But BLF does not work.

—Extensions.conf---------

[ext-local]
include => ext-local-custom
exten => 101,1,Macro(exten-vm,novm,101)
exten => 101,hint,SIP/101
exten => 102,1,Macro(exten-vm,novm,102)
exten => 102,hint,SIP/102
exten => 104,1,Macro(exten-vm,novm,104)
exten => 104,hint,SIP/104

[from-internal]
include => parkedcalls
include => ext-fax
include => app-userlogonoff
include => app-zapbarge
include => ext-test
include => ext-local
include => outbound-allroutes
exten => h,1,Hangup
exten => s,1,Macro(hangupcall)
exten => h,1,Macro(hangupcall)

—sip.conf--------------

[101]
username=101
type=friend
secret=*
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=never
mailbox=101@device
host=192.168.0.2
dtmfmode=rfc2833
context=from-internal
subscribecontext=ext-local
canreinvite=no
notifyringing=yes
call-limit=1
callerid=Alan <101>

[102]
username=102
type=friend
secret=*
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=never
mailbox=102@device
host=192.168.0.3
dtmfmode=rfc2833
context=from-internal
subscribecontext=ext-local
canreinvite=no
notifyringing=yes
call-limit=1
callerid=Brendo <102>

[104]
username=104
type=friend
secret=*
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
nat=never
mailbox=104@device
host=192.168.0.4
dtmfmode=rfc2833
context=from-internal
subscribecontext=ext-local
canreinvite=no
notifyringing=yes
call-limit=1
callerid=GrandStream <104>


Thank you in advance,
Alan

To show BLF on the GXP-2000, it must register, it will not subscribe unless it goes through registration.

You might try type=peer instead of type=friend.

What do you get if you type ‘sip show peers’ and ‘sip show subscriptions’

I’ve got a similar problem with my GXP-2000’s (same firmware version, asterisk 1.2), they show up as subscribing but the lights don’t light up =(

Sweazle… can you give me a clue how to get the GrandStream to successfully register with Asterisk?

Chris… I tried Peer instead of Friend and it didn’t make a difference. Here is what I get when I run those commands

*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
104/104 192.168.0.4 5060 Unmonitored
102/102 192.168.0.3 5060 Unmonitored
101/101 192.168.0.2 5060 Unmonitored
3 sip peers [3 online , 0 offline]

*CLI> sip show subscriptions
Peer User Call ID Extension Last state Type
0 active SIP subscriptions

Appreciate all the help!
Alan

Few things to try:

  1. Set host=dynamic in sip.conf instead of setting an IP and set the phones to use DHCP. GXP-2000s will not register if you set them to a static IP.

  2. Delete the port=5060 line in sip.conf unless you absolutely need it for some reason.

  3. Make sure the username and secret are correct.

  4. No need to set the call-limit on the GXP-2000 unless you really want to limit it to 1 call. It will handle up to 11. Call limit is generally not required because once it can no longer handle additional calls, it will reject any additional calls and they should fall through to voicemail.

BLF works! Thank you Sweazle so very much for your help. Once I got the GrandStream to SIP register with Asterisk using your suggestions, it started working.

Chris… I appreciate you trying to help too.

Best regards,
Alan