TRY THIS i need blf howto for dummies (for incredpbx 13)

jeremy finney

New Member
Joined
Apr 17, 2014
Messages
25
Reaction score
3
I am cutting my voip teeth but have gotten stuck on getting BLF keys to work.

I have grandstream gxp2160s, and want the user to see the status of extensions on the 24 multi function keys.

is there piaf tutorial on blf or can someone point me towards a resource relevant to incredpbx v13?
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
Welcome to the forums!
Support for BLF could vary depending on what platform you're running on. So that we know for sure, please post the output of 'status' from the SSH command line with any sensitive info sanitized.
 

jeremy finney

New Member
Joined
Apr 17, 2014
Messages
25
Reaction score
3
incredpbx 13.0.02 for Ubuntu 14
asterisk 13.4.0
incred gui 12.0.30
 

jeremy finney

New Member
Joined
Apr 17, 2014
Messages
25
Reaction score
3
and by 'for dummies' i mean that i already read the manual, went into the phone interface, selected blf for a mpk and entered the extension that i want to monitor, but it didn't work.

I am assuming there is some server side config that needs to be in place... something about sip hints?

researching blf turns up lots of articles about older asterisk versions so i am looking for direction on the steps needed for asterisk 13 piaf
 

jeremy finney

New Member
Joined
Apr 17, 2014
Messages
25
Reaction score
3
future readers, disregard steps below, no server side changes needed for PIAF to support blf

after several hours of rtfm, i stand by observation that the web info on configuring asterisk for BLF functionality is complex, inconsistent, possibly out of date, and not adapted to the specifics of freepbx (so lmgtfy isn't really helpful).

can i get feedback, suggestions, or corrections on the steps below before I start my implementation... thanks

---------------------------- piaf blf how to---------------
PIAF Note: if a web guide tells you to edit extensions.conf or sip.conf… you cannot do this because it is rewritten by freepbx. So instead you need to edit extensions_custom.conf or sip_custom.conf. (in the piaf gui go to maintenance->config edit).

Step 1, enable hints
Edit extensions_custom.conf file as follows:
[BLF_ subscribecontext_1]
exten => _X.,hint,SIP/${EXTEN}
This that your internal extensions or the context uses these extensions numbering scheme and that you want ALL extensions to give out hints.

Step 2, allow ext 701 to subscribe to hints

[701]

subscribecontext =BLF_ subscribecontext_1
callcounter = yes
allowsubscribe = yes
limitonpeers = yes
notifyringing = yes
notifyhold = yes
notifycid = yes

step 3, restart asterisk, then restart phone
(assumes you have already set the phones mpk to key mode "blf" and the extensions you want to monitor).
 

islandtech

Wassamassaw
Joined
Jan 11, 2009
Messages
677
Reaction score
137
I have no experience with the platform and version you are running.
Following the manufactures guide (Yealink, GS, etc) for BLF setup has always worked for me without any additional server side setup
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
I have no experience with the platform and version you are running.
Following the manufactures guide (Yealink, GS, etc) for BLF setup has always worked for me without any additional server side setup

Agreed. I've never had to do anything special server side to allow for BLF. Maybe there's an issue with the phone? Is it running the latest firmware?

Edit: Looking at the manual for the 2160, it seems pretty straightforward to activate a BLF key. Phone's Web UI -> Settings -> Programmable Keys. In the Multi-Purpose Keys section, choose the "BLF" mode for the key, select the appropriate account to monitor with (usually your extension), enter the desired extension to monitor in "Value" and a friendly name in "Description". Save & Apply. Should work.

Perhaps post a screenshot of the page with your config?
 

chris_c_

Active Member
Joined
Aug 19, 2010
Messages
509
Reaction score
67
I think I found your answer!

1. Open your IPBX admin http://( 192.168.xx.xx )
2. Click the User/Admin slider
3. Click IPBX Admin icon
4. Click the IPBX Admin icon
5. log in
6. Click Applications
7. Click Queues
8. Click all your Queues (listed on the right side), one at a time...
9. For each Queue, check ON the box labelled "Generate Device Hints", and click "Submit Changes".
10. Click the big red button on the top edge of the page "Apply Changes".

Generate Device Hints:
If checked, individual hints and dialplan will be generated for each SIP and IAX2 device that could be part of this queue. These are used in conjunction with programmable BLF phone buttons to log into and out of a queue and generate BLF status as to the current state.
The format of the hints is
Code:
*45ddd*qqq
where *45 is the currently defined toggle feature code, ddd is the device number (typically the same as the extension number) and qqq is this queue's number.

11. Try it, your phones just might default to parsing the hints in a meaningful way.
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
chris_c_ That's not necessary unless OP wants to monitor whether or not the extensions are signed into a queue. From his original post, it sounds like he wants straight phone status (on the phone, ringing, off the phone, etc.). Checking that box shouldn't make a difference.
 

jeremy finney

New Member
Joined
Apr 17, 2014
Messages
25
Reaction score
3
yes it is the latest firmware,

could it be a sip vs pjsip issue?

I'm assuming from my output below that the hints for my extensions are being published, but the phone is not subscribing correctly.

asterisk -rx "core show hints show"

-= Registered Asterisk Dial Plan Hints =-
*8570@park-hints : park:71@parkedcalls& State:Idle Presence:not_set Watchers 0
1000@demo : SIP/1000 State:Unavailable Presence:not_set Watchers 0
*8453669@ext-local : ccss:SIP/2233435945@ State:Unavailable Presence:not_set Watchers 0
1001@demo : SIP/1001 State:Unavailable Presence:not_set Watchers 0
702@ext-local : PJSIP/702&Custom:DND State:Idle Presence: Watchers 0
703@ext-local : PJSIP/703&Custom:DND State:Idle Presence: Watchers 0
701@ext-local : PJSIP/701&Custom:DND State:Idle Presence: Watchers 0
706@ext-local : PJSIP/706&Custom:DND State:Idle Presence: Watchers 0
707@ext-local : PJSIP/707&Custom:DND State:Idle Presence: Watchers 0
704@ext-local : PJSIP/704&Custom:DND State:Idle Presence: Watchers 0
705@ext-local : PJSIP/705&Custom:DND State:Idle Presence: Watchers 0
*271@timeconditions-: Custom:TC1 State:Idle Presence:not_set Watchers 0
708@ext-local : PJSIP/708&Custom:DND State:Idle Presence: Watchers 0
709@ext-local : PJSIP/709&Custom:DND State:Idle Presence: Watchers 0
*27*707@timeconditio: Custom:TC1 State:Idle Presence:not_set Watchers 0
*27*706@timeconditio: Custom:TC1 State:Idle Presence:not_set Watchers 0
*27*705@timeconditio: Custom:TC1 State:Idle Presence:not_set Watchers 0
*27*704@timeconditio: Custom:TC1 State:Idle Presence:not_set Watchers 0
*27*703@timeconditio: Custom:TC1 State:Idle Presence:not_set Watchers 0
*27*702@timeconditio: Custom:TC1 State:Idle Presence:not_set Watchers 0
*76706@ext-dnd-hints: Custom:DEVDND706 State:Idle Presence:not_set Watchers 0
*27*701@timeconditio: Custom:TC1 State:Idle Presence:not_set Watchers 0
*76707@ext-dnd-hints: Custom:DEVDND707 State:Idle Presence:not_set Watchers 0
*76704@ext-dnd-hints: Custom:DEVDND704 State:Idle Presence:not_set Watchers 0
*76705@ext-dnd-hints: Custom:DEVDND705 State:Idle Presence:not_set Watchers 0
*76702@ext-dnd-hints: Custom:DEVDND702 State:Idle Presence:not_set Watchers 0
*76703@ext-dnd-hints: Custom:DEVDND703 State:Idle Presence:not_set Watchers 0
*76701@ext-dnd-hints: Custom:DEVDND701 State:Idle Presence:not_set Watchers 0
*27*709@timeconditio: Custom:TC1 State:Idle Presence:not_set Watchers 0
*27*708@timeconditio: Custom:TC1 State:Idle Presence:not_set Watchers 0
72@park-hints : park:72@parkedcalls State:Idle Presence:not_set Watchers 0
73@park-hints : park:73@parkedcalls State:Idle Presence:not_set Watchers 0
*76708@ext-dnd-hints: Custom:DEVDND708 State:Idle Presence:not_set Watchers 0
*76709@ext-dnd-hints: Custom:DEVDND709 State:Idle Presence:not_set Watchers 0
71@park-hints : park:71@parkedcalls State:Idle Presence:not_set Watchers 0
76@park-hints : park:76@parkedcalls State:Idle Presence:not_set Watchers 0
77@park-hints : park:77@parkedcalls State:Idle Presence:not_set Watchers 0
74@park-hints : park:74@parkedcalls State:Idle Presence:not_set Watchers 0
75@park-hints : park:75@parkedcalls State:Idle Presence:not_set Watchers 0
78@park-hints : park:78@parkedcalls State:Idle Presence:not_set Watchers 0
53669@ext-local : SIP/2233435945@sip2s State:Idle Presence: Watchers 0
2663@ext-meetme : confbridge:2663 State:Unavailable Presence:not_set Watchers 0
1234@default : SIP/1234 State:Unavailable Presence:not_set Watchers 0
*84709@ext-local : ccss:pJSIP/709 State:Unavailable Presence:not_set Watchers 0
*84708@ext-local : ccss:pJSIP/708 State:Unavailable Presence:not_set Watchers 0
*84703@ext-local : ccss:pJSIP/703 State:Unavailable Presence:not_set Watchers 0
*84702@ext-local : ccss:pJSIP/702 State:Unavailable Presence:not_set Watchers 0
*84701@ext-local : ccss:pJSIP/701 State:Unavailable Presence:not_set Watchers 0
*84707@ext-local : ccss:pJSIP/707 State:Unavailable Presence:not_set Watchers 0
*84706@ext-local : ccss:pJSIP/706 State:Unavailable Presence:not_set Watchers 0
*27*53669@timecondit: Custom:TC1 State:Idle Presence:not_set Watchers 0
*84705@ext-local : ccss:pJSIP/705 State:Unavailable Presence:not_set Watchers 0
*84704@ext-local : ccss:pJSIP/704 State:Unavailable Presence:not_set Watchers 0
*87@ext-meetme : confbridge:2663 State:Unavailable Presence:not_set Watchers 0
*85@park-hints : park:71@parkedcalls& State:Idle Presence:not_set Watchers 0
----------------
 

Attachments

  • Capture of prog keys.JPG
    Capture of prog keys.JPG
    143.3 KB · Views: 11

jeremy finney

New Member
Joined
Apr 17, 2014
Messages
25
Reaction score
3
i got it fixed, it is a pjsip thing...

i changed the subscribing extension from type pjsip to sip.

and reconfigured the phone so that sip server = xxx.xxx.xxx.xxx:5061 (my ext and secret remained the same). (then reboot phone)

(I note that the switch from pjsip to sip didn't seem to take the first time, softphone was saying wrong user/password... so i switched it back to pjsip and then to sip a second time and it worked immediately)

then my blf mpks are lit up and working. yay.
 

chris_c_

Active Member
Joined
Aug 19, 2010
Messages
509
Reaction score
67
i got it fixed, it is a pjsip thing...

i changed the subscribing extension from type pjsip to sip.

and reconfigured the phone so that sip server = xxx.xxx.xxx.xxx:5061 (my ext and secret remained the same). (then reboot phone)

(I note that the switch from pjsip to sip didn't seem to take the first time, softphone was saying wrong user/password... so i switched it back to pjsip and then to sip a second time and it worked immediately)

then my blf mpks are lit up and working. yay.

Interesting. That digium forum post contains the patch for pjsip to make the BLF lights work.
I was going to refer you to this, he had the same issue as you: http://pbxinaflash.com/community/in...-wants-blf-to-have-3-states.14646/#post-94248

What did you want the BLF lights to do? Off, red, and flashing? For which presence states?
 

jeremy finney

New Member
Joined
Apr 17, 2014
Messages
25
Reaction score
3
yes, simple off red flashing blf is what i'm aiming for.

i'm still curious on the exact status of pjsip and blf.

the digium post refers to a asterisk feature request thread that makes it seem like pjsip lacks the functionality to support BLF, but other places it seems like pjsip/blf worked out of the box for people (or was workable after a config change).

does anyone have any insight on the status of pfsip and BLF?
 

Members online

No members online now.

Forum statistics

Threads
25,778
Messages
167,504
Members
19,198
Latest member
serhii
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top