Strange log and calls

Hi all,
I downloaded and configured the FreePBX distro

Everything is OK, but looking at the log I can see a call every monute, speaking of “tc-maint-…”

here is a piece of my log, with 2 complete series of these calls

I configured an inbound route for a specific number (14000) going to a timecondition.

[2014-06-12 16:44:00] VERBOSE[2389][C-00000002] pbx.c: == Spawn extension (tc-maint, s, 5) exited non-zero on ‘Local/s@tc-maint-00000002;2’
[2014-06-12 16:45:00] VERBOSE[2392] pbx_spool.c: – Attempting call on Local/s@tc-maint for application NoCDR() (Retry 1)
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [s@tc-maint:1] NoCDR(“Local/s@tc-maint-00000003;2”, “”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [s@tc-maint:2] Set(“Local/s@tc-maint-00000003;2”, “TCMAINT=RETURN”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [s@tc-maint:3] Gosub(“Local/s@tc-maint-00000003;2”, “timeconditions,1,1()”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [1@timeconditions:1] GotoIfTime(“Local/s@tc-maint-00000003;2”, “08:00-12:00,mon-fri,1-31,jan-dec?truestate”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [1@timeconditions:2] GotoIfTime(“Local/s@tc-maint-00000003;2”, “14:15-18:20,mon-fri,1-31,jan-dec?truestate”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Goto (timeconditions,1,10)
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [1@timeconditions:10] GotoIf(“Local/s@tc-maint-00000003;2”, “0?falsegoto”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [1@timeconditions:11] ExecIf(“Local/s@tc-maint-00000003;2”, “0?Set(DB(TC/1)=)”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [1@timeconditions:12] Set(“Local/s@tc-maint-00000003;2”, “DEVICE_STATE(Custom:TC1)=NOT_INUSE”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [1@timeconditions:13] ExecIf(“Local/s@tc-maint-00000003;2”, “0?Set(DEVICE_STATE(Custom:TCSTICKY)=INUSE)”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [1@timeconditions:14] GotoIf(“Local/s@tc-maint-00000003;2”, “0?ext-group,14001,1”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [1@timeconditions:15] Set(“Local/s@tc-maint-00000003;2”, “TCSTATE=true”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [1@timeconditions:16] Return(“Local/s@tc-maint-00000003;2”, “”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [s@tc-maint:4] System(“Local/s@tc-maint-00000003;2”, “/var/lib/asterisk/bin/schedtc.php 60 /var/spool/asterisk/outgoing 0”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [s@tc-maint:5] Answer(“Local/s@tc-maint-00000003;2”, “”) in new stack
[2014-06-12 16:45:00] NOTICE[2392] pbx_spool.c: Call completed to Local/s@tc-maint
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: == Spawn extension (tc-maint, s, 5) exited non-zero on ‘Local/s@tc-maint-00000003;2’
[2014-06-12 16:46:00] VERBOSE[2422] pbx_spool.c: – Attempting call on Local/s@tc-maint for application NoCDR() (Retry 1)
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [s@tc-maint:1] NoCDR(“Local/s@tc-maint-00000004;2”, “”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [s@tc-maint:2] Set(“Local/s@tc-maint-00000004;2”, “TCMAINT=RETURN”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [s@tc-maint:3] Gosub(“Local/s@tc-maint-00000004;2”, “timeconditions,1,1()”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [1@timeconditions:1] GotoIfTime(“Local/s@tc-maint-00000004;2”, “08:00-12:00,mon-fri,1-31,jan-dec?truestate”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [1@timeconditions:2] GotoIfTime(“Local/s@tc-maint-00000004;2”, “14:15-18:20,mon-fri,1-31,jan-dec?truestate”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Goto (timeconditions,1,10)
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [1@timeconditions:10] GotoIf(“Local/s@tc-maint-00000004;2”, “0?falsegoto”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [1@timeconditions:11] ExecIf(“Local/s@tc-maint-00000004;2”, “0?Set(DB(TC/1)=)”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [1@timeconditions:12] Set(“Local/s@tc-maint-00000004;2”, “DEVICE_STATE(Custom:TC1)=NOT_INUSE”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [1@timeconditions:13] ExecIf(“Local/s@tc-maint-00000004;2”, “0?Set(DEVICE_STATE(Custom:TCSTICKY)=INUSE)”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [1@timeconditions:14] GotoIf(“Local/s@tc-maint-00000004;2”, “0?ext-group,14001,1”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [1@timeconditions:15] Set(“Local/s@tc-maint-00000004;2”, “TCSTATE=true”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [1@timeconditions:16] Return(“Local/s@tc-maint-00000004;2”, “”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [s@tc-maint:4] System(“Local/s@tc-maint-00000004;2”, “/var/lib/asterisk/bin/schedtc.php 60 /var/spool/asterisk/outgoing 1”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [s@tc-maint:5] Answer(“Local/s@tc-maint-00000004;2”, “”) in new stack
[2014-06-12 16:46:00] NOTICE[2422] pbx_spool.c: Call completed to Local/s@tc-maint
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: == Spawn extension (tc-maint, s, 5) exited non-zero on ‘Local/s@tc-maint-00000004;2’

Thanks in advance,
Andrea

1 Like

Hi, its nothing strange if you have time conditions …

Here’s some older post.

1 Like

This is all normal. Its the polling for the BLF light for any Time Conditions. You can adjust how often it polls from the advanced settings module.

1 Like