Queues and BLF Hints Not Acting Right

I am working on a pre-live system getting things set up according to what managers and users want to see. working on the queues trying to get the BLF’s working, i upgraded the queue module to the edge and the pause works but the login and out doesn’t . looking at the hints it is not set but it looks like it gets set from viewing the output on the console. anybody have an idea what I am doing wrong.
Robert

-- Executing [s@app-all-queue-toggle:5] GotoIf("SIP/5700-0000001d", "0?skip") in new stack
-- Executing [s@app-all-queue-toggle:6] Set("SIP/5700-0000001d", "TOGGLE_MACRO=toggle-add-agent") in new stack
-- Executing [s@app-all-queue-toggle:7] Set("SIP/5700-0000001d", "STATE=INUSE") in new stack
-- Executing [s@app-all-queue-toggle:8] Set("SIP/5700-0000001d", "LOOPCNTALL=1") in new stack
-- Executing [s@app-all-queue-toggle:9] Set("SIP/5700-0000001d", "ITERALL=1") in new stack
-- Executing [s@app-all-queue-toggle:10] Set("SIP/5700-0000001d", "QUEUENO=114") in new stack
-- Executing [s@app-all-queue-toggle:11] Set("SIP/5700-0000001d", "ITERALL=2") in new stack
-- Executing [s@app-all-queue-toggle:12] Macro("SIP/5700-0000001d", "toggle-add-agent,") in new stack
-- Executing [s@macro-toggle-add-agent:1] Macro("SIP/5700-0000001d", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/5700-0000001d", "TOUCH_MONITOR=1492629813.37") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/5700-0000001d", "AMPUSER=5700") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/5700-0000001d", "8?report") in new stack
-- Goto (macro-user-callerid,s,15)
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/5700-0000001d", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("SIP/5700-0000001d", "CALLERID(number)=5700") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/5700-0000001d", "CALLERID(name)=Operator") in new stack
-- Executing [s@macro-user-callerid:31] GotoIf("SIP/5700-0000001d", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/5700-0000001d", "CDR(cnam)=Operator") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/5700-0000001d", "CDR(cnum)=5700") in new stack
-- Executing [s@macro-user-callerid:34] Set("SIP/5700-0000001d", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-toggle-add-agent:2] Set("SIP/5700-0000001d", "QUEUEUSER=5700") in new stack
-- Executing [s@macro-toggle-add-agent:3] Set("SIP/5700-0000001d", "QUEUEUSERCIDNAME=Operator") in new stack
-- Executing [s@macro-toggle-add-agent:4] GotoIf("SIP/5700-0000001d", "0?invalid") in new stack
-- Executing [s@macro-toggle-add-agent:5] ExecIf("SIP/5700-0000001d", "1?AddQueueMember(114,Local/5700@from-queue/n,0,,Operator,hint:5700@ext-local)") in new stack
[2017-04-19 15:23:35] NOTICE[4940][C-0000001b]: app_queue.c:7869 aqm_exec: Added interface 'Local/5700@from-queue/n' to queue '114'
-- Executing [s@macro-toggle-add-agent:6] ExecIf("SIP/5700-0000001d", "0?AddQueueMember(114,Local/5700@from-queue/n,0,,Operator)") in new stack
-- Executing [s@macro-toggle-add-agent:7] UserEvent("SIP/5700-0000001d", "AgentLogin,Agent: 5700") in new stack
-- Executing [s@macro-toggle-add-agent:8] QueueLog("SIP/5700-0000001d", "114,MANAGER,Operator,ADDMEMBER,") in new stack
-- Executing [s@macro-toggle-add-agent:9] MacroExit("SIP/5700-0000001d", "") in new stack
-- Executing [s@app-all-queue-toggle:13] Gosub("SIP/5700-0000001d", "app-queue-toggle,sstate,1()") in new stack
-- Executing [sstate@app-queue-toggle:1] Set("SIP/5700-0000001d", "DEVICES=5700") in new stack
-- Executing [sstate@app-queue-toggle:2] GotoIf("SIP/5700-0000001d", "0?return") in new stack
-- Executing [sstate@app-queue-toggle:3] Set("SIP/5700-0000001d", "LOOPCNT=1") in new stack
-- Executing [sstate@app-queue-toggle:4] Set("SIP/5700-0000001d", "ITER=1") in new stack
-- Executing [sstate@app-queue-toggle:5] Set("SIP/5700-0000001d", "DEVICE_STATE(Custom:QUEUE5700*114)=INUSE") in new stack
-- Executing [sstate@app-queue-toggle:6] Set("SIP/5700-0000001d", "ITER=2") in new stack
-- Executing [sstate@app-queue-toggle:7] GotoIf("SIP/5700-0000001d", "0?begin") in new stack
-- Executing [sstate@app-queue-toggle:8] Return("SIP/5700-0000001d", "") in new stack
-- Executing [s@app-all-queue-toggle:14] GotoIf("SIP/5700-0000001d", "0?begin") in new stack
-- Executing [s@app-all-queue-toggle:15] ExecIf("SIP/5700-0000001d", "0?Playback(agent-loggedoff)") in new stack
-- Executing [s@app-all-queue-toggle:16] ExecIf("SIP/5700-0000001d", "1?Playback(agent-loginok)") in new stack
-- <SIP/5700-0000001d> Playing 'agent-loginok.ulaw' (language 'en')
-- Executing [s@app-all-queue-toggle:17] ExecIf("SIP/5700-0000001d", "1?SayDigits(5700)") in new stack
-- <SIP/5700-0000001d> Playing 'digits/5.ulaw' (language 'en')
-- <SIP/5700-0000001d> Playing 'digits/7.ulaw' (language 'en')
-- <SIP/5700-0000001d> Playing 'digits/0.ulaw' (language 'en')
-- <SIP/5700-0000001d> Playing 'digits/0.ulaw' (language 'en')
-- Executing [s@app-all-queue-toggle:18] Macro("SIP/5700-0000001d", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/5700-0000001d", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/5700-0000001d", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/5700-0000001d", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/5700-0000001d' in macro 'hangupcall'
  == Spawn extension (app-all-queue-toggle, s, 18) exited non-zero on 'SIP/5700-0000001d'




45867@ext-meetme    : confbridge:45867      State:Unavailable     Presence:not_set         Watchers  0
5841@ext-local      : sip/5841&SIP/905841&  State:Unavailable     Presence:available       Watchers  0
*45*5700*114@ext-que:                       State:Unavailable     Presence:not_set         Watchers  1
5842@ext-local      : sip/5842&Custom:DND5  State:Unavailable     Presence:not_set         Watchers  0
45865@ext-meetme    : confbridge:45865      State:Unavailable     Presence:not_set         Watchers  0

Just tested again using Queues 13.0.32.9 and Login/Logoff hints are working just fine for me. I have BLFs programmed as both:

*CLI> core show hint *45
*452014*702@ext-queu: Custom:QUEUE2014*702  State:Idle            Presence:not_set         Watchers  1
*45*2014@ext-queues : Custom:QUEUE2014*700  State:InUse           Presence:not_set         Watchers  1

Note that BLFs can be programmed as either *45<ext#>*<queue#> or *45*<ext#>, note the inconsistency with the *. Also note that BLF behavior for *45*<ext#> will be inconsistent if the extension is a static member of any queues (as you would expect).

yes in deed i have 8 queues and some are static and some are dynamic, since this isn’t a live system yet I will change them all to dynamic and see what happens.

still no love, I grabbed another extension that wasn’t in any queues and set it up on my support queue then did a restart on freepbx and a reboot on the phone (grandstream) set up a blf for *45*5873*110 an get the same result. I also have a Fanvil X4 and it does the same thing. if you have it working then it has to be something i am not doing right.
I see it login to the queue and it looks like it sets the state, but I could be wrong, this is my first live system i have build. but i have played with freepbx for over a year.

[2017-04-20 10:43:55] NOTICE[414][C-00000010]: app_queue.c:7869 aqm_exec: Added interface 'Local/5873@from-queue/n' to queue '110'

  -- Executing [sstate@app-queue-toggle:5] Set("SIP/5873-00000013", "DEVICE_STATE(Custom:QUEUE905873*110)=INUSE") in new stack

*45*5873*110@ext-que:                       State:Unavailable     Presence:not_set         Watchers  2
*45*5897*114@ext-que:                       State:Unavailable     Presence:not_set         Watchers  1
*45*5700*114@ext-que:                       State:Unavailable     Presence:not_set         Watchers  1

Never mind, I guess i just could’t read your reply right. on the 45 hind i replaced it with *455873*110 and it works. I may be old and slow but I do get there in the end. Thanks for pointing me in the right direction.
Robert

1 Like

One nice thing about being the tortoise, we get to live to be 100…

At least freepbx has plenty of help for it, my current system is a NEC with DT700 phones which of course are not standard SIP, can’t find firmware to convert them either. A bad day with freepbx is a 100x better than a good day with NEC.

Got another question on the BLF for the queues. any way to invert the color so that it shows red when logged out and green when logged in. like there is in call flow.
Robert