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/[email protected];2’
[2014-06-12 16:45:00] VERBOSE[2392] pbx_spool.c: – Attempting call on Local/[email protected] for application NoCDR() (Retry 1)
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [[email protected]:1] NoCDR(“Local/[email protected];2”, “”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [[email protected]:2] Set(“Local/[email protected];2”, “TCMAINT=RETURN”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [[email protected]:3] Gosub(“Local/[email protected];2”, “timeconditions,1,1()”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [[email protected]:1] GotoIfTime(“Local/[email protected];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 [[email protected]:2] GotoIfTime(“Local/[email protected];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 [[email protected]:10] GotoIf(“Local/[email protected];2”, “0?falsegoto”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [[email protected]:11] ExecIf(“Local/[email protected];2”, “0?Set(DB(TC/1)=)”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [[email protected]:12] Set(“Local/[email protected];2”, “DEVICE_STATE(Custom:TC1)=NOT_INUSE”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [[email protected]:13] ExecIf(“Local/[email protected];2”, “0?Set(DEVICE_STATE(Custom:TCSTICKY)=INUSE)”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [[email protected]:14] GotoIf(“Local/[email protected];2”, “0?ext-group,14001,1”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [[email protected]:15] Set(“Local/[email protected];2”, “TCSTATE=true”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [[email protected]:16] Return(“Local/[email protected];2”, “”) in new stack
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: – Executing [[email protected]:4] System(“Local/[email protected];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 [[email protected]:5] Answer(“Local/[email protected];2”, “”) in new stack
[2014-06-12 16:45:00] NOTICE[2392] pbx_spool.c: Call completed to Local/[email protected]
[2014-06-12 16:45:00] VERBOSE[2393][C-00000003] pbx.c: == Spawn extension (tc-maint, s, 5) exited non-zero on ‘Local/[email protected];2’
[2014-06-12 16:46:00] VERBOSE[2422] pbx_spool.c: – Attempting call on Local/[email protected] for application NoCDR() (Retry 1)
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [[email protected]:1] NoCDR(“Local/[email protected];2”, “”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [[email protected]:2] Set(“Local/[email protected];2”, “TCMAINT=RETURN”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [[email protected]:3] Gosub(“Local/[email protected];2”, “timeconditions,1,1()”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [[email protected]:1] GotoIfTime(“Local/[email protected];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 [[email protected]:2] GotoIfTime(“Local/[email protected];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 [[email protected]:10] GotoIf(“Local/[email protected];2”, “0?falsegoto”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [[email protected]:11] ExecIf(“Local/[email protected];2”, “0?Set(DB(TC/1)=)”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [[email protected]:12] Set(“Local/[email protected];2”, “DEVICE_STATE(Custom:TC1)=NOT_INUSE”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [[email protected]:13] ExecIf(“Local/[email protected];2”, “0?Set(DEVICE_STATE(Custom:TCSTICKY)=INUSE)”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [[email protected]:14] GotoIf(“Local/[email protected];2”, “0?ext-group,14001,1”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [[email protected]:15] Set(“Local/[email protected];2”, “TCSTATE=true”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [[email protected]:16] Return(“Local/[email protected]t-00000004;2”, “”) in new stack
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: – Executing [[email protected]:4] System(“Local/[email protected];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 [[email protected]:5] Answer(“Local/[email protected];2”, “”) in new stack
[2014-06-12 16:46:00] NOTICE[2422] pbx_spool.c: Call completed to Local/[email protected]
[2014-06-12 16:46:00] VERBOSE[2423][C-00000004] pbx.c: == Spawn extension (tc-maint, s, 5) exited non-zero on ‘Local/[email protected];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