I’m on Asterisk 13.12.1 and still can’t get the pause state to display on the BLF button.
Is the correct syntax *46*{extension}*{queue}
?
when i try that the light doesn’t change and the every time it’s pressed it always plays back “pause activated” never deactivated.
-- Executing [*46*529*600@from-internal:1] Gosub("SIP/529-0000151a", "app-queue-pause-toggle,s,1(600,600)") in new stack
-- Executing [s@app-queue-pause-toggle:1] Answer("SIP/529-0000151a", "") in new stack
> 0x7f1e5c32c1d0 -- Probation passed - setting RTP source address to 10.255.100.87:16604
-- Executing [s@app-queue-pause-toggle:2] Wait("SIP/529-0000151a", "1") in new stack
-- Executing [s@app-queue-pause-toggle:3] Macro("SIP/529-0000151a", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/529-0000151a", "TOUCH_MONITOR=1484933212.12168") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/529-0000151a", "AMPUSER=529") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/529-0000151a", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/529-0000151a", "1?Set(REALCALLERIDNUM=529)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/529-0000151a", "AMPUSER=529") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/529-0000151a", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/529-0000151a", "AMPUSERCIDNAME=John Test") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/529-0000151a", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/529-0000151a", "AMPUSERCID=529") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/529-0000151a", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/529-0000151a", "CALLERID(all)="John Test" <529>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/529-0000151a", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/529-0000151a", "0?Set(GROUP(concurrency_limit)=529)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/529-0000151a", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/529-0000151a", "0?continue") in new stack
-- Executing [s@macro-user-callerid:16] ExecIf("SIP/529-0000151a", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [s@macro-user-callerid:17] Set("SIP/529-0000151a", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:18] GotoIf("SIP/529-0000151a", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("SIP/529-0000151a", "CALLERID(number)=529") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/529-0000151a", "CALLERID(name)=John Test") in new stack
-- Executing [s@macro-user-callerid:31] GotoIf("SIP/529-0000151a", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/529-0000151a", "CDR(cnam)=John Test") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/529-0000151a", "CDR(cnum)=529") in new stack
-- Executing [s@macro-user-callerid:34] Set("SIP/529-0000151a", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-user-callerid:35] ExecIf("SIP/529-0000151a", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-user-callerid:36] GosubIf("SIP/529-0000151a", "0?app-check-classofservce,s,1()") in new stack
-- Executing [s@app-queue-pause-toggle:4] Set("SIP/529-0000151a", "QUEUEUSER=600") in new stack
-- Executing [s@app-queue-pause-toggle:5] Set("SIP/529-0000151a", "MEMBR=Local/600@from-queue/n") in new stack
**[2017-01-20 11:26:53] ERROR[28021][C-000019cf]: app_queue.c:8382 get_interface_helper: Queue member interface 'Local/600@from-queue/n' not in queue '600'.**
-- Executing [s@app-queue-pause-toggle:6] Set("SIP/529-0000151a", "PAUSE_STATE=0") in new stack
-- Executing [s@app-queue-pause-toggle:7] Set("SIP/529-0000151a", "QUEUE_MEMBER(600,paused,Local/600@from-queue/n)=1") in new stack
**[2017-01-20 11:26:53] ERROR[28021][C-000019cf]: app_queue.c:8537 queue_function_mem_write: Invalid interface or queue**
-- Executing [s@app-queue-pause-toggle:8] Playback("SIP/529-0000151a", "dictate/pause&activated") in new stack
-- <SIP/529-0000151a> Playing 'dictate/pause.ulaw' (language 'en')
-- <SIP/529-0000151a> Playing 'activated.ulaw' (language 'en')
-- Executing [s@app-queue-pause-toggle:9] ExecIf("SIP/529-0000151a", "600?Return()") in new stack
-- Auto fallthrough, channel 'SIP/529-0000151a' status is 'UNKNOWN'
-- Executing [h@from-internal:1] Macro("SIP/529-0000151a", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/529-0000151a", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/529-0000151a", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/529-0000151a", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/529-0000151a' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/529-0000151a'