Call Flow Toggle Control & BLF


(Biz365) #1

Hi All,
I’m having an issue with the Call Flow Toggle Control via BLF key assignment on a Yealink T46s phone. The FreePBX version is 14.0.13.4 with all updates current.

The current config sets the inbound route to Call Flow Control “(99) After Hours OnCall”. The Call Flow toggle is designated to 99 and I have assigned the feature code *2899 as a BLF to a line key on the Yealink T46S.

The Call Flow control switches between a ring group and an external number.

The scenario is at the end of the day the receptionist presses the Line Key on the Yealink and the BFL goes from green to red and all incoming calls divert to the after hours number. When the receptionist she comes in the next morning and presses the line key on the Yealink the response is normal - BFL goes green, announcement “feature code deactivated”, but calls are still diverting to the afterhours number. To resolve the issue I goes to the Freebpx Administration portal toggle to flow control to night and then back to day and inbound calls router to the ring group.

Looking at the logs I can see that they are pressing the line feed button and the only WARNING is [2019-09-12 08:07:23] WARNING[8535][C-00000161] app_playback.c: Playback failed on PJSIP/101-000004d6 for beep&silence/1&featurecode&digits/99&de-activated, but I am unsure what this means.

Any help is appreciated and the log is below.

[2019-09-12 08:07:19] VERBOSE[8540] pbx_variables.c: Setting global variable 'SIPDOMAIN' to '192.168.10.17'
[2019-09-12 08:07:19] VERBOSE[8540] netsock2.c: Using SIP RTP Audio TOS bits 184
[2019-09-12 08:07:19] VERBOSE[8540] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2019-09-12 08:07:19] VERBOSE[8540] netsock2.c: Using SIP RTP Audio CoS mark 5
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [*2899@from-internal:1] Macro("PJSIP/101-000004d6", "user-callerid,") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:1] Set("PJSIP/101-000004d6", "TOUCH_MONITOR=1568246839.1301") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:2] Set("PJSIP/101-000004d6", "AMPUSER=101") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("PJSIP/101-000004d6", "0?report") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("PJSIP/101-000004d6", "1?Set(REALCALLERIDNUM=101)") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:5] Set("PJSIP/101-000004d6", "AMPUSER=101") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("PJSIP/101-000004d6", "0?limit") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:7] Set("PJSIP/101-000004d6", "AMPUSERCIDNAME=Reception") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:8] ExecIf("PJSIP/101-000004d6", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:9] GotoIf("PJSIP/101-000004d6", "0?report") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:10] Set("PJSIP/101-000004d6", "AMPUSERCID=101") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:11] Set("PJSIP/101-000004d6", "__DIAL_OPTIONS=HhTtr") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:12] Set("PJSIP/101-000004d6", "CALLERID(all)="Reception" <101>") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:13] ExecIf("PJSIP/101-000004d6", "0?Set(CALLERID(all)=)") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:14] GotoIf("PJSIP/101-000004d6", "0?limit") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:15] ExecIf("PJSIP/101-000004d6", "0?Set(GROUP(concurrency_limit)=101)") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:16] ExecIf("PJSIP/101-000004d6", "0?Set(CHANNEL(language)=)") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:17] NoOp("PJSIP/101-000004d6", "Macro Depth is 1") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:18] GotoIf("PJSIP/101-000004d6", "1?report2:macroerror") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx_builtins.c: Goto (macro-user-callerid,s,19)
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:19] GotoIf("PJSIP/101-000004d6", "0?continue") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:20] ExecIf("PJSIP/101-000004d6", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:21] Set("PJSIP/101-000004d6", "__TTL=64") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:22] GotoIf("PJSIP/101-000004d6", "1?continue") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx_builtins.c: Goto (macro-user-callerid,s,38)
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:38] Set("PJSIP/101-000004d6", "CALLERID(number)=101") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:39] Set("PJSIP/101-000004d6", "CALLERID(name)=Reception") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:40] GotoIf("PJSIP/101-000004d6", "0?cnum") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:41] Set("PJSIP/101-000004d6", "CDR(cnam)=Reception") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:42] Set("PJSIP/101-000004d6", "CDR(cnum)=101") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [s@macro-user-callerid:43] Set("PJSIP/101-000004d6", "CHANNEL(language)=en") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [*2899@from-internal:2] Answer("PJSIP/101-000004d6", "") in new stack
[2019-09-12 08:07:19] VERBOSE[8535][C-00000161] pbx.c: Executing [*2899@from-internal:3] Wait("PJSIP/101-000004d6", "1") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [*2899@from-internal:4] Set("PJSIP/101-000004d6", "INDEXES=99") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [*2899@from-internal:5] Set("PJSIP/101-000004d6", "DAYREC=beep&silence/1&featurecode&digits/99&de-activated") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [*2899@from-internal:6] Set("PJSIP/101-000004d6", "NIGHTREC=beep&silence/1&featurecode&digits/99&activated") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [*2899@from-internal:7] Goto("PJSIP/101-000004d6", "app-daynight-toggle,s,1") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx_builtins.c: Goto (app-daynight-toggle,s,1)
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:1] Set("PJSIP/101-000004d6", "LOOPCNT=1") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:2] Set("PJSIP/101-000004d6", "ITER=1") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:3] Set("PJSIP/101-000004d6", "INDEX=99") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:4] Set("PJSIP/101-000004d6", "MODE=NIGHT") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:5] GotoIf("PJSIP/101-000004d6", "0?end1") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:6] Set("PJSIP/101-000004d6", "DAYNIGHTMODE=NIGHT") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:7] Set("PJSIP/101-000004d6", "ITER=2") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:8] GotoIf("PJSIP/101-000004d6", "0?begin1") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:9] Set("PJSIP/101-000004d6", "LOOPCNT=1") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:10] Set("PJSIP/101-000004d6", "ITER=1") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:11] Set("PJSIP/101-000004d6", "INDEX=99") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:12] GotoIf("PJSIP/101-000004d6", "1?day:night") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx_builtins.c: Goto (app-daynight-toggle,s,13)
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:13] Set("PJSIP/101-000004d6", "DB(DAYNIGHT/C99)=DAY") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:14] Set("PJSIP/101-000004d6", "DEVICE_STATE(Custom:DAYNIGHT99)=NOT_INUSE") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:15] Goto("PJSIP/101-000004d6", "end2") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx_builtins.c: Goto (app-daynight-toggle,s,19)
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:19] Set("PJSIP/101-000004d6", "ITER=2") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:20] GotoIf("PJSIP/101-000004d6", "0?begin2") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:21] ExecIf("PJSIP/101-000004d6", "1?Playback(beep&silence/1&featurecode&digits/99&de-activated):Playback(beep&silence/1&featurecode&digits/99&activated)") in new stack
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] file.c: <PJSIP/101-000004d6> Playing 'beep.ulaw' (language 'en')
[2019-09-12 08:07:20] VERBOSE[8535][C-00000161] file.c: <PJSIP/101-000004d6> Playing 'silence/1.ulaw' (language 'en')
[2019-09-12 08:07:21] VERBOSE[8535][C-00000161] file.c: <PJSIP/101-000004d6> Playing 'featurecode.slin' (language 'en')
[2019-09-12 08:07:23] WARNING[8535][C-00000161] file.c: File digits/99 does not exist in any format
[2019-09-12 08:07:23] WARNING[8535][C-00000161] file.c: Unable to open digits/99 (format (ulaw)): No such file or directory
[2019-09-12 08:07:23] WARNING[8535][C-00000161] app_playback.c: Playback failed on PJSIP/101-000004d6 for beep&silence/1&featurecode&digits/99&de-activated
[2019-09-12 08:07:23] VERBOSE[8535][C-00000161] file.c: <PJSIP/101-000004d6> Playing 'de-activated.ulaw' (language 'en')
[2019-09-12 08:07:24] VERBOSE[8535][C-00000161] pbx.c: Executing [s@app-daynight-toggle:22] Hangup("PJSIP/101-000004d6", "") in new stack
[2019-09-12 08:07:24] VERBOSE[8535][C-00000161] pbx.c: Spawn extension (app-daynight-toggle, s, 22) exited non-zero on 'PJSIP/101-000004d6'

(Itzik) #2

Can you post a screenshot of the CFC?


(Biz365) #3


(Biz365) #4

Anyone got any ideas on this issue?