Time conditions not applying

Hello! I believe I set my time conditions correctly but the system does not route calls after hours for some reason. Any ideas? Thank you!



Get in to your console and get a call trace so that we can see what could happening. In theory as long as you are calling outside your office hours you should be reaching your AfterHours Announcements as the night mode seems to be toggled on, but again the call log will clearly show what is happening.

Hi,

check your time zone, also you can delete Sunday from the list since it doesn’t match the business hours. You can also try adding separate lines for each day:
08:00 Monday 17:00 Monday
08:00 Tuesday 17:00 Tuesday

I am not sure what version you are on but I can’t see the Time Zone field in your Time Conditions:


image

Time looks good and do I need to purchase something to make this work? I updated and added the times individually like you said with no change. Thank you!

2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@trk-1-in:1] NoOp(“PJSIP/support15741-00000008”, “Incoming call through: Telnyx”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@trk-1-in:2] Set(“PJSIP/support15741-00000008”, “__TRUNK_ID=1”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@trk-1-in:3] Set(“PJSIP/support15741-00000008”, “CDR(trunk)=1”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@trk-1-in:4] Set(“PJSIP/support15741-00000008”, “__DID_NUMBER=1803250XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@trk-1-in:5] Set(“PJSIP/support15741-00000008”, “CDR(did)=1803250XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@trk-1-in:6] Set(“PJSIP/support15741-00000008”, “DID=1803250XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@trk-1-in:7] Goto(“PJSIP/support15741-00000008”, “default-trunk,1803250XXXX,1”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx_builtins.c: Goto (default-trunk,1803250XXXX,1)
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@default-trunk:1] Gosub(“PJSIP/support15741-00000008”, “set-global-tenant-vars,s,1”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@set-global-tenant-vars:1] NoOp(“PJSIP/support15741-00000008”, “Setting Global Vars for vitalpbx Tenant”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@set-global-tenant-vars:2] Set(“PJSIP/support15741-00000008”, “__TENANT_PATH=eb06d20207fa0de8”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@set-global-tenant-vars:3] Set(“PJSIP/support15741-00000008”, “__TENANT_PREFIX=”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@set-global-tenant-vars:4] Set(“PJSIP/support15741-00000008”, “__QUEUE_AGENTS_CONTEXT=queue-call-to-agents”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@set-global-tenant-vars:5] Set(“PJSIP/support15741-00000008”, “__FOLLOWME_CONTEXT=ext-followme”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@set-global-tenant-vars:6] Set(“PJSIP/support15741-00000008”, “__HINTS_CONTEXT=extension-hints”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@set-global-tenant-vars:7] Set(“PJSIP/support15741-00000008”, “__DEFAULT_COS=cos-all”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@set-global-tenant-vars:8] Return(“PJSIP/support15741-00000008”, “”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@default-trunk:2] Gosub(“PJSIP/support15741-00000008”, “sub-check-blacklist,s,1(eb06d20207fa0de8,803873XXXX)”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-check-blacklist:1] NoOp(“PJSIP/support15741-00000008”, “Testing if 803873XXXX is in Black List”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-check-blacklist:2] GotoIf(“PJSIP/support15741-00000008”, “0?banned”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-check-blacklist:3] Return(“PJSIP/support15741-00000008”, “”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@default-trunk:3] Gosub(“PJSIP/support15741-00000008”, “sub-stir-shaken-verify,s,1(eb06d20207fa0de8,803873XXXX)”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-stir-shaken-verify:1] NoOp(“PJSIP/support15741-00000008”, “STIR Shaken Verify”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-stir-shaken-verify:2] Set(“PJSIP/support15741-00000008”, “STIR_SHAKEN_IDENTITIES=0”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-stir-shaken-verify:3] NoOp(“PJSIP/support15741-00000008”, “Number of STIR/SHAKEN identities: 0”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-stir-shaken-verify:4] GotoIf(“PJSIP/support15741-00000008”, “1?end”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx_builtins.c: Goto (sub-stir-shaken-verify,s,6)
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-stir-shaken-verify:6] Return(“PJSIP/support15741-00000008”, “”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@default-trunk:4] Gosub(“PJSIP/support15741-00000008”, “sub-setup-call-type,s,1(incoming)”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-call-type:1] NoOp(“PJSIP/support15741-00000008”, “Determinating Call Type”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-call-type:2] GotoIf(“PJSIP/support15741-00000008”, “0?return”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-call-type:3] Gosub(“PJSIP/support15741-00000008”, “s-incoming,1()”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-setup-call-type:1] NoOp(“PJSIP/support15741-00000008”, “Incoming Call”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-setup-call-type:2] Set(“PJSIP/support15741-00000008”, “__CALL_TYPE=2”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-setup-call-type:3] Set(“PJSIP/support15741-00000008”, “__CALL_TYPE_LABEL=IN”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-setup-call-type:4] Return(“PJSIP/support15741-00000008”, “”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-call-type:4] Set(“PJSIP/support15741-00000008”, “__CALL_TYPE_CONFIGURED=yes”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-call-type:5] Set(“PJSIP/support15741-00000008”, “CDR(calltype)=2”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-call-type:6] Return(“PJSIP/support15741-00000008”, “”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@default-trunk:5] Gosub(“PJSIP/support15741-00000008”, “dynamic-routing-in,s,1(803873XXXX)”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@dynamic-routing-in:1] NoOp(“PJSIP/support15741-00000008”, “Test if must to apply dynamic routing”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@dynamic-routing-in:2] Set(“PJSIP/support15741-00000008”, “EXTERNAL_CALLER=803873XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@dynamic-routing-in:3] Set(“PJSIP/support15741-00000008”, “DYNROUTING_DM=0”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@dynamic-routing-in:4] GotoIf(“PJSIP/support15741-00000008”, “1?gd”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx_builtins.c: Goto (dynamic-routing-in,s,6)
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@dynamic-routing-in:6] Set(“PJSIP/support15741-00000008”, “MATCHED_NUMBER=not_found”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@dynamic-routing-in:7] GotoIf(“PJSIP/support15741-00000008”, “1?rb”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx_builtins.c: Goto (dynamic-routing-in,s,12)
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@dynamic-routing-in:12] Return(“PJSIP/support15741-00000008”, “”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@default-trunk:6] ExecIf(“PJSIP/support15741-00000008”, “0?Set(__DID_NUMBER=1803250XXXX):”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@default-trunk:7] Goto(“PJSIP/support15741-00000008”, “incoming-calls,1803250XXXX,1”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx_builtins.c: Goto (incoming-calls,1803250XXXX,1)
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@incoming-calls:1] NoOp(“PJSIP/support15741-00000008”, “INBOUND_ROUTE: IN”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@incoming-calls:2] Set(“PJSIP/support15741-00000008”, “CHANNEL(language)=en”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@incoming-calls:3] Set(“PJSIP/support15741-00000008”, “__INBOUND_LANGUAGE=en”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@incoming-calls:4] Gosub(“PJSIP/support15741-00000008”, “sub-set-call-vars,s-incoming,1(803873XXXX,1803250XXXX,eb06d20207fa0de8)”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:1] NoOp(“PJSIP/support15741-00000008”, “Setting Incoming Call Vars”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:2] Set(“PJSIP/support15741-00000008”, “__CALLID=1737079764.10”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:3] Set(“PJSIP/support15741-00000008”, “__INCOMING_SOURCE=803873XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:4] Set(“PJSIP/support15741-00000008”, “__INCOMING_DESTINATION=1803250XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:5] Set(“PJSIP/support15741-00000008”, “__INCOMING_TENANT=eb06d20207fa0de8”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:6] Set(“PJSIP/support15741-00000008”, “__CALL_SOURCE=803873XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:7] Set(“PJSIP/support15741-00000008”, “__CS=803873XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:8] Set(“PJSIP/support15741-00000008”, “__CALL_DESTINATION=1803250XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:9] Set(“PJSIP/support15741-00000008”, “__TENANT=eb06d20207fa0de8”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:10] Set(“PJSIP/support15741-00000008”, “CDR(tenant)=vitalpbx”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:11] Set(“PJSIP/support15741-00000008”, “CDR(destination)=1803250XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:12] Set(“PJSIP/support15741-00000008”, “CDR(trunk)=1”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:13] Set(“PJSIP/support15741-00000008”, “CDR(did)=1803250XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:14] Set(“PJSIP/support15741-00000008”, “CDR(calltype)=2”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:15] ExecIf(“PJSIP/support15741-00000008”, “1?Set(__PJSIP_CALLID=88ff11d5-edc1-4fe7-a31b-9d7004e810ff)”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:16] Gosub(“PJSIP/support15741-00000008”, “app-incoming,1”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [app-incoming@sub-set-call-vars:1] NoOp(“PJSIP/support15741-00000008”, “Incoming Call App CDR”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [app-incoming@sub-set-call-vars:2] GotoIf(“PJSIP/support15741-00000008”, “1?:return”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [app-incoming@sub-set-call-vars:3] Set(“PJSIP/support15741-00000008”, “CDR(source)=803873XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [app-incoming@sub-set-call-vars:4] Set(“PJSIP/support15741-00000008”, “CDR(tenant)=vitalpbx”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [app-incoming@sub-set-call-vars:5] Set(“PJSIP/support15741-00000008”, “CDR(destination)=1803250XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [app-incoming@sub-set-call-vars:6] Return(“PJSIP/support15741-00000008”, “”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s-incoming@sub-set-call-vars:17] Return(“PJSIP/support15741-00000008”, “”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@incoming-calls:5] Set(“PJSIP/support15741-00000008”, “RECORD_UNBRIDGE_CHANNELS=yes”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@incoming-calls:6] Gosub(“PJSIP/support15741-00000008”, “sub-setup-callrec-name,s,1”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-callrec-name:1] NoOp(“PJSIP/support15741-00000008”, “Setting up call recording file name for eb06d20207fa0de8”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-callrec-name:2] GotoIf(“PJSIP/support15741-00000008”, “0?end”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-callrec-name:3] Set(“PJSIP/support15741-00000008”, “RECORDING_ID=1737079764.10”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-callrec-name:4] Set(“PJSIP/support15741-00000008”, “APP_TYPE=NONE”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-callrec-name:5] Set(“PJSIP/support15741-00000008”, “AUDIO_FILE=210924-IN-NONE-803873XXXX-1803250XXXX-1737079764.10”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-callrec-name:6] Set(“PJSIP/support15741-00000008”, “RECORDING_FORMAT=wav”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-callrec-name:7] Set(“PJSIP/support15741-00000008”, “__REC_FILENAME=/var/spool/asterisk/monitor/2025/01/16/210924-IN-NONE-803873XXXX-1803250XXXX-1737079764.10.wav”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-callrec-name:8] GotoIf(“PJSIP/support15741-00000008”, “0?:end”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx_builtins.c: Goto (sub-setup-callrec-name,s,11)
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-setup-callrec-name:11] Return(“PJSIP/support15741-00000008”, “”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@incoming-calls:7] Gosub(“PJSIP/support15741-00000008”, “sub-call-recording,s,1(eb06d20207fa0de8,803873XXXX,1803250XXXX,yes)”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-call-recording:1] NoOp(“PJSIP/support15741-00000008”, “Check if call will be recorded on tenant eb06d20207fa0de8”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-call-recording:2] NoOp(“PJSIP/support15741-00000008”, "Call Type: 2 ") in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-call-recording:3] Set(“PJSIP/support15741-00000008”, “TENANT=eb06d20207fa0de8”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-call-recording:4] Set(“PJSIP/support15741-00000008”, “CALLER=803873XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-call-recording:5] Set(“PJSIP/support15741-00000008”, “CALLEE=1803250XXXX”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-call-recording:6] Set(“PJSIP/support15741-00000008”, “APP_FORCE=yes”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-call-recording:7] GotoIf(“PJSIP/support15741-00000008”, “1?:rec_no_available”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-call-recording:8] GotoIf(“PJSIP/support15741-00000008”, “1?perform-recording”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx_builtins.c: Goto (sub-call-recording,s,18)
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-call-recording:18] Gosub(“PJSIP/support15741-00000008”, “sub-perform-recording,s,1”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-perform-recording:1] NoOp(“PJSIP/support15741-00000008”, “Perform Call Recording”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-perform-recording:2] GotoIf(“PJSIP/support15741-00000008”, “0?:record”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx_builtins.c: Goto (sub-perform-recording,s,5)
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-perform-recording:5] Set(“PJSIP/support15741-00000008”, “PLAY_BEEP_ON_START=”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-perform-recording:6] Set(“PJSIP/support15741-00000008”, “CDR(recfile)=/var/spool/asterisk/monitor/2025/01/16/210924-IN-NONE-803873XXXX-1803250XXXX-1737079764.10.wav”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-perform-recording:7] Set(“PJSIP/support15741-00000008”, “MIXMON_OPTS=P”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-perform-recording:8] Set(“PJSIP/support15741-00000008”, “MIXMON_OPTS=P”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-perform-recording:9] Set(“PJSIP/support15741-00000008”, “MIXMON_OPTS=P”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-perform-recording:10] MixMonitor(“PJSIP/support15741-00000008”, “/var/spool/asterisk/monitor/2025/01/16/210924-IN-NONE-803873XXXX-1803250XXXX-1737079764.10.wav,P,”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-perform-recording:11] Set(“PJSIP/support15741-00000008”, “__REC_STARTED=yes”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-perform-recording:12] Return(“PJSIP/support15741-00000008”, “”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-call-recording:19] Goto(“PJSIP/support15741-00000008”, “return”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx_builtins.c: Goto (sub-call-recording,s,21)
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@sub-call-recording:21] Return(“PJSIP/support15741-00000008”, “”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@incoming-calls:8] Set(“PJSIP/support15741-00000008”, “ICALL=yes”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [1803250XXXX@incoming-calls:9] Goto(“PJSIP/support15741-00000008”, “app-ivr,IVR-1,1”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx_builtins.c: Goto (app-ivr,IVR-1,1)
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [IVR-1@app-ivr:1] Goto(“PJSIP/support15741-00000008”, “IVR-1,s,1”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx_builtins.c: Goto (IVR-1,s,1)
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@IVR-1:1] NoOp(“PJSIP/support15741-00000008”, “IVR: IVR”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@IVR-1:2] Set(“PJSIP/support15741-00000008”, “INVALIDATTEMPTS=0”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@IVR-1:3] Set(“PJSIP/support15741-00000008”, “TIMEOUTATTEMPTS=0”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@IVR-1:4] Set(“PJSIP/support15741-00000008”, “TIMEOUT(digit)=2”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] func_timeout.c: Digit timeout set to 2.000
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@IVR-1:5] Set(“PJSIP/support15741-00000008”, “TIMEOUT(response)=10”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] func_timeout.c: Response timeout set to 10.000
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@IVR-1:6] Set(“PJSIP/support15741-00000008”, “__PBX_APP=QUEUE”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@IVR-1:7] Set(“PJSIP/support15741-00000008”, “__PBX_APP_DESC=IVR”) in new stack
[2025-01-16 21:09:24] VERBOSE[489290][C-00000006] pbx.c: Executing [s@IVR-1:8] Answer(“PJSIP/support15741-00000008”, “”) in new stack
[2025-01-16 21:09:24] VERBOSE[489299][C-00000006] app_mixmonitor.c: Begin MixMonitor Recording PJSIP/support15741-00000008
[2025-01-16 21:09:25] VERBOSE[489290][C-00000006] pbx.c: Executing [s@IVR-1:9] NoOp(“PJSIP/support15741-00000008”, “IVR Menu Begin”) in new stack
[2025-01-16 21:09:25] VERBOSE[489290][C-00000006] pbx.c: Executing [s@IVR-1:10] BackGround(“PJSIP/support15741-00000008”, “/var/lib/vitalpbx/static/eb06d20207fa0de8/recordings/c81e728d9d4c2f636f067f89cc14862c”) in new stack
[2025-01-16 21:09:25] VERBOSE[489290][C-00000006] file.c: <PJSIP/support15741-00000008> Playing ‘/var/lib/vitalpbx/static/eb06d20207fa0de8/recordings/c81e728d9d4c2f636f067f89cc14862c.slin’ (language ‘en’)
[2025-01-16 21:09:35] VERBOSE[489290][C-00000006] pbx.c: Spawn extension (IVR-1, s, 10) exited non-zero on ‘PJSIP/support15741-00000008’
[2025-01-16 21:09:35] VERBOSE[489290][C-00000006] pbx.c: Executing [h@IVR-1:1] NoOp(“PJSIP/support15741-00000008”, “IVR-1 call ended”) in new stack
[2025-01-16 21:09:35] VERBOSE[489290][C-00000006] pbx.c: Executing [h@IVR-1:2] Hangup(“PJSIP/support15741-00000008”, “”) in new stack
[2025-01-16 21:09:35] VERBOSE[489290][C-00000006] pbx.c: Spawn extension (IVR-1, h, 2) exited non-zero on ‘PJSIP/support15741-00000008’
[2025-01-16 21:09:35] VERBOSE[489299][C-00000006] file.c: <PJSIP/support15741-00000008> Playing ‘beep.ulaw’ (language ‘en’)
[2025-01-16 21:09:35] VERBOSE[489299][C-00000006] app_mixmonitor.c: MixMonitor close filestream (mixed)
[2025-01-16 21:09:35] VERBOSE[489299][C-00000006] app_mixmonitor.c: End MixMonitor Recording PJSIP/support15741-00000008

The inbound route is set to go to the IVR, noting is this call trace is set to use the Time Condition

1 Like

I see. So I need to change “Inbound Destination” to time condition correct?