Asterisk-11 Loop Behaviour

Home » Asterisk Users » Asterisk-11 Loop Behaviour
Asterisk Users 3 Comments

Arch = x86_64
OS = CentOS-6.4 (freepbx)
Asterisk = 11.4.0
FreePBX = 2.11.0.2

Snom870 Handsets

We are in the process of moving to an Asterisk based PBX. At the moment most things work as we wish. However, I have just notices that when I force a reload using ‘amportal a reload’ I see this loop start in ‘asterisk -rvvvvvvvvvv’:

> Channel Local/s@tc-maint-000002a4;1 was answered.
> Launching NoCDR() on Local/s@tc-maint-000002a4;1
[2013-06-24 15:22:32] NOTICE[32678]: pbx_spool.c:402 attempt_thread:
Call completed to Local/s@tc-maint
[2013-06-24 15:22:32] NOTICE[32678]: pbx_spool.c:402 attempt_thread:
Call completed to Local/s@tc-maint
== Spawn extension (tc-maint, s, 5) exited non-zero on
‘Local/s@tc-maint-000002a4;2’
— Attempting call on Local/s@tc-maint for application NoCDR()
(Retry 1)
— Executing [s@tc-maint:1] NoCDR(“Local/s@tc-maint-000002a6;2”,
“”) in new stack
— Executing [s@tc-maint:2] Set(“Local/s@tc-maint-000002a6;2”,
“TCMAINT=RETURN”) in new stack
— Executing [s@tc-maint:3] Gosub(“Local/s@tc-maint-000002a6;2”,
“timeconditions,1,1()”) in new stack
— Executing [1@timeconditions:1]
GotoIfTime(“Local/s@tc-maint-000002a6;2”,
“08:00-17:00,mon-fri,*,*?truestate”) in new stack
— Goto (timeconditions,1,9)
— Executing [1@timeconditions:9]
GotoIf(“Local/s@tc-maint-000002a6;2”, “0?falsegoto”) in new stack
— Executing [1@timeconditions:10]
ExecIf(“Local/s@tc-maint-000002a6;2”, “0?Set(DB(TC/1)=)”) in new stack
— Executing [1@timeconditions:11]
Set(“Local/s@tc-maint-000002a6;2”,
“DEVICE_STATE(Custom:TC1)=NOT_INUSE”) in new stack
— Executing [1@timeconditions:12]
ExecIf(“Local/s@tc-maint-000002a6;2”,
“0?Set(DEVICE_STATE(Custom:TCSTICKY)=INUSE)”) in new stack
— Executing [1@timeconditions:13]
GotoIf(“Local/s@tc-maint-000002a6;2”, “0?ext-group,417,1”) in new stack
— Executing [1@timeconditions:14]
Set(“Local/s@tc-maint-000002a6;2”, “TCSTATE=true”) in new stack
— Executing [1@timeconditions:15]
Return(“Local/s@tc-maint-000002a6;2”, “”) in new stack
— Executing [s@tc-maint:4] System(“Local/s@tc-maint-000002a6;2”,
“/var/lib/asterisk/bin/schedtc.php 60 /var/spool/asterisk/outgoing
1”) in new stack
— Executing [s@tc-maint:5] Answer(“Local/s@tc-maint-000002a5;2”,
“”) in new stack
> Channel Local/s@tc-maint-000002a5;1 was answered.
> Launching NoCDR() on Local/s@tc-maint-000002a5;1
[2013-06-24 15:22:32] NOTICE[32681]: pbx_spool.c:402 attempt_thread:
Call completed to Local/s@tc-maint
[2013-06-24 15:22:32] NOTICE[32681]: pbx_spool.c:402 attempt_thread:
Call completed to Local/s@tc-maint

It is not an infinite loop but it does go on for an inordinately long time. Does anyone here recognize what is happening and can provide me with an explanation?

3 thoughts on - Asterisk-11 Loop Behaviour