BLF to monitor extension AND call flow toggle

Hi All,

I’d like to have one BLF button that monitors BOTH an extension and the state of a call flow toggle. I.E. If the monitored extension is busy or the call flow toggle (CFT) is activated, the monitoring button is red.

In asterisk, my hint for the CFT is:
Custom:DAYNIGHT75
which works fine if I’m only monitoring the CFT.

I’ve tried (via editing extensions_custom.conf) to simply add the text of the CFT hint to that of the hint for an existing extension (aka ext 701) such that the hint looks like this:
PJSIP/701&Custom:DND701,CustomPresence:701&Custom:DAYNIGHT75
However, with the BLF button set to monitor 701, toggling the CFT makes no difference.

Is it possible to acheive what I’m trying to do? And, if so, how?

Thanks!

This is in the wrong order. Tech/custom,presence is the order. So you need to move it around so it is after the DND custom hint but before the comma and custompresence

1 Like

Okay… so I got it to work and it was a matter of order. But, it was a little different than you had suggested. What eventually worked for me was to put the DAYNIGHT part of the hint at the very beginning, i.e.
Custom:DAYNIGHT75&PJSIP/701&Custom:DND701,CustomPresence:701
¯\_(ツ)_/¯

The order is device state[&device state],presence state how you order the device states is dealers choice.

Ahhhh… got it.

I was thrown off by another hint I had created that looked like this:
PJSIP/701&Custom:DND701,CustomPresence:701&PJSIP/702&Custom:DND702,CustomPresence:702

which still seemed to work as desired. So, if I understand it correctly now, that hint (correctly entered) should have actually looked something like this:
PJSIP/701&Custom:DND701&PJSIP/702&Custom:DND702,CustomPresence:701,CustomPresence:702

correct?

From it:

The full syntax for a hint is

exten = <extension>,hint,<device state id>[& <more dev state id],<presence state id>

Yeah… I’ve read that. If it wasn’t obvious, my questions stem primarily from me being so new to asterisk (and PBX’s generally) that I’m still getting my head around the basics.

Until I processed through this thread, I hadn’t realized that (although each hint can have multiple device states) they can only have one presence state.

At any rate, I’m gettin’ it… albeit slowly.

Thanks for the help!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.