[quote=“jonaskellens”]In the [general] section of sip.conf you write :
allowsubscribe=yes
notifyringing=yes
notifyhold=yes
limitonpeers=yes
In the definition of your client [sip_client] you write :
subscribecontext=hint-context
call-limit=1 ; or 100 whatever
callgroup=1
pickupgroup=1
in your extensions.conf you write :
[hint-context]
exten => 1234,hint,SIP/1234
[internal-phones]
include => hint-context[/quote]I do not want to hijack the OP’s thread, but we’d very much like to have a blf/presence watch lamp indicate a SIP/VSP1-TRUNK inuse/idle staus. That’s to say, any use of the trunk (in and out, or one blf in-bound and one blf out-outbound) blinks the lamp or lamps.
[quote=“8f27e956”]I do not want to hijack the OP’s thread, but we’d very much like to have a blf/presence watch lamp indicate a SIP/VSP1-TRUNK inuse/idle staus. That’s to say, any use of the trunk (in and out, or one blf in-bound and one blf out-outbound) blinks the lamp or lamps.
Any thoughts or dialplan examples.
With thanks,[/quote]
Your sip-client which lamps should blink needs to be subscribed to the hint-context.
[quote=“jonaskellens”]Your sip-client which lamps should blink needs to be subscribed to the hint-context.
sip.conf :
[sip_client]
subscribecontext=hint-context
in dialplan :
[hint-context]
exten => 1234,hint,DAHDI/1
in your phone :
key mode : BLF
UserID : 1234
This should work…[/quote]
Thanks; however, the BLF on the GRANDSTREAM 2020 (firmware 1.2.1.4) isn’t lighting – period. In contrast, setting a BLF key to 71 (a parkedcall) works so we know the Grandstream BLF works.
This is a asterisknow 1.5.0 machine and the rest of the dialplan is freePBX based. The asterisk -rx show hints commands returns the following. The 7890 hint is there. It’s status is IDLE no matter the use of the trunk.
Ok the BLF lamp now lights. An asterisk -rx reload wasn’t sufficient. An all-out amportal restart was needed, in combination, with post-restart reboot of the Grandstream. Sorry about that
However, the lamp – while now lite – is NOT changing with the sip/trunk’s use. The “show hints” status is also stuck as “Idle.”
Can you post what appears on the Asterisk CLI ?
A change of status on a ‘hinted’ channel is posted on the CLI.
You should see something like : Extension Changed 11[BLF-group] new state Idle for Notify User 50 (this is an example from my system)
Just to see if a change of state is reported for you specific extension that is subscribed to it.
Hello, again, will BLF/HINT work with a Queue? I’ve tried the following “hints,” without luck. The BLF does NOT change when the queue has a caller in it. The show hints does not show any status change.
It took us a while to figure out the placement of the keywords, in order to get the sip trunk blf indicator working – given our asterisk+freePBX setup – we had to use/edit …