Time Conditions - Override Declined

Hi there,

I have time conditions set on my PBX. I am trying to use the feature code (*27) to toggle them from my Cisco SPA303s. On the handset I get “declined”, and in the Asterisk log “timeconditions-toggles exited non-zero” I have:

Time conditions 13.0.32.3
Asterisk Version: 11.19.0
FreePBX 13.0.190.2

from freepbx downloads

here is the full log entry:

[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [*27@from-internal:1] Macro(“SIP/101-000004d5”, “user-callerid,”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:1] Set(“SIP/101-000004d5”, “TOUCH_MONITOR=1478789733.1245”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:2] Set(“SIP/101-000004d5”, “AMPUSER=101”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:3] GotoIf(“SIP/101-000004d5”, “0?report”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:4] ExecIf(“SIP/101-000004d5”, “1?Set(REALCALLERIDNUM=101)”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:5] Set(“SIP/101-000004d5”, “AMPUSER=101”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:6] GotoIf(“SIP/101-000004d5”, “0?limit”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:7] Set(“SIP/101-000004d5”, “AMPUSERCIDNAME=MYNAMEHERE”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:8] GotoIf(“SIP/101-000004d5”, “0?report”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:9] Set(“SIP/101-000004d5”, “AMPUSERCID=101”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:10] Set(“SIP/101-000004d5”, “__DIAL_OPTIONS=Ttr”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:11] Set(“SIP/101-000004d5”, “CALLERID(all)=“MYNAMEHERE” <101>”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:12] GotoIf(“SIP/101-000004d5”, “0?limit”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:13] ExecIf(“SIP/101-000004d5”, “0?Set(GROUP(concurrency_limit)=101)”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:14] ExecIf(“SIP/101-000004d5”, “0?Set(CHANNEL(language)=)”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:15] GotoIf(“SIP/101-000004d5”, “0?continue”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:16] ExecIf(“SIP/101-000004d5”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:17] Set(“SIP/101-000004d5”, “__TTL=64”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:18] GotoIf(“SIP/101-000004d5”, “1?continue”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Goto (macro-user-callerid,s,29)
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:29] Set(“SIP/101-000004d5”, “CALLERID(number)=101”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:30] Set(“SIP/101-000004d5”, “CALLERID(name)=MYNAMEHERE”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:31] GotoIf(“SIP/101-000004d5”, “0?cnum”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:32] Set(“SIP/101-000004d5”, “CDR(cnam)=MYNAMEHERE”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:33] Set(“SIP/101-000004d5”, “CDR(cnum)=101”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [s@macro-user-callerid:34] Set(“SIP/101-000004d5”, “CHANNEL(language)=en”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [*27@from-internal:2] Goto(“SIP/101-000004d5”, “timeconditions-toggles,27101,1”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Goto (timeconditions-toggles,27101,1)
[2016-11-10 14:55:33] WARNING[53061][C-000001cc] pbx.c: Channel ‘SIP/101-000004d5’ sent to invalid extension but no invalid handler: context,exten,priority=timeconditions-toggles,27101,1
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: – Executing [h@timeconditions-toggles:1] Hangup(“SIP/101-000004d5”, “”) in new stack
[2016-11-10 14:55:33] VERBOSE[53061][C-000001cc] pbx.c: == Spawn extension (timeconditions-toggles, h, 1) exited non-zero on ‘SIP/101-000004d5’

Please can anyone help?