<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Ok<br><br>Thanks a lot for your reply.<br><br>> Date: Mon, 18 May 2009 14:51:58 +0300<br>> From: atis@iq-labs.net<br>> To: asterisk-users@lists.digium.com<br>> Subject: Re: [asterisk-users] Queue Load, Asterisk Disconnected<br>> <br>> 2009/5/17 Torintino T <torintino1@hotmail.com>:<br>> ><br>> ><br>> > ________________________________<br>> ><br>> > I have Asterisk 1.2.29, Zaptel 1.2.24 , TE 121P Digium Card, and Freepbx<br>> > Setup for a queue up to 15 agents through a PRI line, it was working fine<br>> > for more than 1 year, suddenly, when there is a load on the queue, the<br>> > asterisk service disconnects and the calls are dropped. And the service<br>> > starts again after few seconds, and so on.<br>> ><br>> > I am not using fax.<br>> ><br>> > I checked PRI by zttool and there are no alarms.<br>> ><br>> > The cdr logs<br>> ><br>> > 2195,2","","Busy","","2009-05-13 10:06:53",,"2009-05-13 10:06:55",2,0,"NO<br>> > ANSWER","DOCUMENTATION"<br>> > "","0225167604","237","from-internal","""0225167604""<br>> > <0225167604>","Local/237@from-internal-a07f,2","","Busy","","2009-05-13<br>> > 10:06:55",,"2009-05-13 10:06:57",2,0,"NO ANSWER","DOCUMENTATION"<br>> > "","0225167604","229","from-internal","""0225167604""<br>> > <0225167604>","Local/229@from-internal-c662,2","","Busy","","2009-05-13<br>> > 10:06:57",,"2009-05-13 10:06:59",2,0,"NO ANSWER","DOCUMENTATION"<br>> > "","0225167604","224","from-internal","""0225167604""<br>> > <0225167604>","Local/224@from-internal-3a3a,2","","Busy","","2009-05-13<br>> > 10:06:59",,"2009-05-13 10:07:00",1,0,"NO ANSWER","DOCUMENTATION"<br>> > /usr/sbin/safe_asterisk: line 57: 14229 Segmentation fault (core dumped)<br>> > ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY}<br>> > Asterisk ended with exit status 139<br>> > Asterisk exited on signal 11.<br>> > cat: /var/run/asterisk.pid: No such file or directory<br>> > Automatically restarting Asterisk.<br>> ><br>> ><br>> ><br>> > Verbosity logs:<br>> ><br>> > -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br>> > recordingcheck|20090513-092729|1242196049.184: Inbound recording enabled.<br>> > recordingcheck|20090513-092729|1242196049.184: CALLFILENAME=1242196049.184<br>> > -- AGI Script recordingcheck completed, returning 0<br>> > -- Executing Monitor("Local/211@from-internal-b759,2",<br>> > "wav49|1242196049.184| mb") in new stack<br>> > -- Executing Macro("Local/211@from-internal-b759,2", "dial|30|Ttr|211") in<br>> > new stack<br>> > -- Executing AGI("Local/211@from-internal-b759,2", "dialparties.agi") in new<br>> > stack<br>> > -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi<br>> > dialparties.agi: Starting New Dialparties.agi<br>> > -- dialparties.agi: priority is 1<br>> > dialparties.agi: Caller ID name is '0227559600' number is '0227559600'<br>> > dialparties.agi: Methodology of ring is 'none'<br>> > -- dialparties.agi: Added extension 211 to extension map<br>> > -- dialparties.agi: Extension 211 cf is disabled<br>> > dialparties.agi: Extension 211 has do not disturb enabled<br>> > -- AGI Script dialparties.agi completed, returning 0<br>> > -- Executing NoOp("Local/211@from-internal-b759,2", "Returned from<br>> > dialparties with no extensions to call") in new stack<br>> > -- Executing Set("Local/211@from-internal-b759,2", "DIALSTATUS=BUSY") in new<br>> > stack<br>> > -- Executing GotoIf("Local/211@from-internal-b759,2", "1?s-BUSY|1") in new<br>> > stack<br>> > -- Goto (macro-exten-vm,s-BUSY,1)<br>> > -- Executing NoOp("Local/211@from-internal-b759,2", "Extension is reporting<br>> > BUSY and has no Voicemail") in new stack<br>> > -- Executing Busy("Local/211@from-internal-b759,2", "") in new stack<br>> > -- Local/211@from-internal-b759,1 is busy<br>> > == Spawn extension (macro-exten-vm, s-BUSY, 2) exited non-zero on<br>> > 'Local/211@from-internal-b759,2' in macro 'exten-vm'<br>> > == Spawn extension (macro-exten-vm, s-BUSY, 2) exited non-zero on<br>> > 'Local/211@from-internal-b759,2'<br>> > == Spawn extension (macro-dial, s, 10) exited non-zero on<br>> > 'Local/225@from-internal-6cb4,2' in macro 'dial'<br>> > == Spawn extension (macro-dial, s, 10) exited non-zero on<br>> > 'Local/225@from-internal-6cb4,2' in macro 'exten-vm'<br>> > == Spawn extension (macro-dial, s, 10) exited non-zero on<br>> > 'Local/225@from-internal-6cb4,2'<br>> > == Spawn extension (ext-queues, 100, 7) exited non-zero on 'Zap/25-1'<br>> > -- Hungup 'Zap/25-1'<br>> > -- Stopped music on hold on Zap/27-1<br>> > -- Playing periodic announcement<br>> > -- Playing 'custom/Busy' (language 'en')<br>> > -- Called Local/221@from-internal/n<br>> > -- Executing Macro("Local/221@from-internal-e5d7,2", "exten-vm|novm|221") in<br>> > new stack<br>> > -- Executing Macro("Local/221@from-internal-e5d7,2", "user-callerid") in new<br>> > stack<br>> > -- Executing Set("Local/221@from-internal-e5d7,2", "AMPUSER=") in new stack<br>> > -- Executing GotoIf("Local/221@from-internal-e5d7,2", "0?109") in new stack<br>> > -- Executing Set("Local/221@from-internal-e5d7,2", "EMERGENCYCID=") in new<br>> > stack<br>> > -- Executing Set("Local/221@from-internal-e5d7,2", "AMPUSERCIDNAME=") in new<br>> > stack<br>> > -- Executing GotoIf("Local/221@from-internal-e5d7,2", "1?7") in new stack<br>> > -- Goto (macro-user-callerid,s,7)<br>> > -- Executing NoOp("Local/221@from-internal-e5d7,2", "Using CallerID<br>> > "0227559600" <0227559600>") in new stack<br>> > -- Executing Set("Local/221@from-internal-e5d7,2", "FROMCONTEXT=exten-vm")<br>> > in new stack<br>> > -- Executing Macro("Local/221@from-internal-e5d7,2", "record-enable|221|IN")<br>> > in new stack<br>> > -- Executing GotoIf("Local/221@from-internal-e5d7,2", "0 > 0?2:4") in new<br>> > stack<br>> > -- Goto (macro-record-enable,s,4)<br>> > -- Executing AGI("Local/221@from-internal-e5d7,2",<br>> > "recordingcheck|20090513-092731|1242196051.186") in new stack<br>> > -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br>> > recordingcheck|20090513-092731|1242196051.186: Inbound recording enabled.<br>> > recordingcheck|20090513-092731|1242196051.186: CALLFILENAME=1242196051.186<br>> > -- AGI Script recordingcheck completed, returning 0<br>> > -- Executing Monitor("Local/221@from-internal-e5d7,2",<br>> > "wav49|1242196051.186| mb") in new stack<br>> > -- Executing Macro("Local/221@from-internal-e5d7,2", "dial|30|Ttr|221") in<br>> > new stack<br>> > -- Executing AGI("Local/221@from-internal-e5d7,2", "dialparties.agi") in new<br>> > stack<br>> > -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi<br>> > dialparties.agi: Starting New Dialparties.agi<br>> > -- dialparties.agi: priority is 1<br>> > dialparties.agi: Caller ID name is '0227559600' number is '0227559600'<br>> > dialparties.agi: Methodology of ring is 'none'<br>> > -- dialparties.agi: Added extension 221 to extension map<br>> > -- dialparties.agi: Extension 221 cf is disabled<br>> > -- dialparties.agi: Extension 221 do not disturb is disabled<br>> > == Parsing '/etc/asterisk/manager.conf': Found<br>> > == Parsing '/etc/asterisk/manager_additional.conf': Found<br>> > == Parsing '/etc/asterisk/manager_custom.conf': Found<br>> > == Manager 'admin' logged on from 127.0.0.1<br>> > == Manager 'admin' logged off from 127.0.0.1<br>> > -- dialparties.agi: Checking CW and CFB status for extension 221<br>> > dialparties.agi: Extension 221 is not available to be called<br>> > dialparties.agi: Extension 221 has call waiting disabled<br>> > -- AGI Script dialparties.agi completed, returning 0<br>> > -- Executing NoOp("Local/221@from-internal-e5d7,2", "Returned from<br>> > dialparties with no extensions to call") in new stack<br>> > -- Executing Set("Local/221@from-internal-e5d7,2", "DIALSTATUS=BUSY") in new<br>> > stack<br>> > -- Executing GotoIf("Local/221@from-internal-e5d7,2", "1?s-BUSY|1") in new<br>> > stack<br>> > -- Goto (macro-exten-vm,s-BUSY,1)<br>> > -- Executing NoOp("Local/221@from-internal-e5d7,2", "Extension is reporting<br>> > BUSY and has no Voicemail") in new stack<br>> > -- Executing Busy("Local/221@from-internal-e5d7,2", "") in new stack<br>> > -- Local/221@from-internal-e5d7,1 is busy<br>> > -- Called Local/225@from-internal/n<br>> > == Spawn extension (macro-exten-vm, s-BUSY, 2) exited non-zero on<br>> > 'Local/221@from-internal-e5d7,2' in macro 'exten-vm'<br>> > == Spawn extension (macro-exten-vm, s-BUSY, 2) exited non-zero on<br>> > 'Local/221@from-internal-e5d7,2'<br>> > -- Executing Macro("Local/225@from-internal-a118,2", "exten-vm|novm|225") in<br>> > new stack<br>> > -- Executing Macro("Local/225@from-internal-a118,2", "user-callerid") in new<br>> > stack<br>> > -- Executing Set("Local/225@from-internal-a118,2", "AMPUSER=") in new stack<br>> > -- Executing GotoIf("Local/225@from-internal-a118,2", "0?109") in new stack<br>> > -- Executing Set("Local/225@from-internal-a118,2", "EMERGENCYCID=") in new<br>> > stack<br>> > -- Executing Set("Local/225@from-internal-a118,2", "AMPUSERCIDNAME=") in new<br>> > stack<br>> > -- Executing GotoIf("Local/225@from-internal-a118,2", "1?7") in new stack<br>> > -- Goto (macro-user-callerid,s,7)<br>> > -- Executing NoOp("Local/225@from-internal-a118,2", "Using CallerID<br>> > "0227559600" <0227559600>") in new stack<br>> > -- Executing Set("Local/225@from-internal-a118,2", "FROMCONTEXT=exten-vm")<br>> > in new stack<br>> > -- Executing Macro("Local/225@from-internal-a118,2", "record-enable|225|IN")<br>> > in new stack<br>> > -- Executing GotoIf("Local/225@from-internal-a118,2", "0 > 0?2:4") in new<br>> > stack<br>> > -- Goto (macro-record-enable,s,4)<br>> > -- Executing AGI("Local/225@from-internal-a118,2",<br>> > "recordingcheck|20090513-092731|1242196051.188") in new stack<br>> > -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br>> > recordingcheck|20090513-092731|1242196051.188: Inbound recording enabled.<br>> > recordingcheck|20090513-092731|1242196051.188: CALLFILENAME=1242196051.188<br>> > -- AGI Script recordingcheck completed, returning 0<br>> > -- Executing Monitor("Local/225@from-internal-a118,2",<br>> > "wav49|1242196051.188| mb") in new stack<br>> > -- Executing Macro("Local/225@from-internal-a118,2", "dial|30|Ttr|225") in<br>> > new stack<br>> > -- Executing AGI("Local/225@from-internal-a118,2", "dialparties.agi") in new<br>> > stack<br>> > -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi<br>> > dialparties.agi: Starting New Dialparties.agi<br>> > -- dialparties.agi: priority is 1<br>> > dialparties.agi: Caller ID name is '0227559600' number is '0227559600'<br>> > dialparties.agi: Methodology of ring is 'none'<br>> > asterisk*CLI><br>> > Disconnected from Asterisk server<br>> > Executing last minute cleanups<br>> > [root@asterisk ~]#<br>> ><br>> > Any Help will be highly appreciated<br>> ><br>> <br>> Hello,<br>> <br>> First, 1.2 branch is quite old, and bugs are not going to be fixed<br>> anymore (except security releases).<br>> <br>> So in this case You're on Your own - if you find problem in code, You<br>> can fix it by Yourself, and keep the patch/share with others.. but it<br>> won't be accepted anywhere.<br>> <br>> Asterisk has had a lot of changes in Queue between 1.2 and 1.4, so You<br>> should consider upgrade benefits.<br>> <br>> If You want to debug - You should read on Asterisk Debugging -<br>> http://www.voip-info.org/wiki/view/Asterisk+debugging - and compile<br>> asterisk without optimizations, make it crash and then look into core<br>> file with gdb.<br>> <br>> Regards,<br>> Atis<br>> <br>> <br>> <br>> <br>> -- <br>> Atis Lezdins,<br>> VoIP Project Manager / Developer,<br>> IQ Labs Inc,<br>> atis@iq-labs.net<br>> Skype: atis.lezdins<br>> Cell Phone: +371 28806004<br>> Cell Phone: +1 800 7300689<br>> Work phone: +1 800 7502835<br>> <br>> _______________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br><br /><hr />See all the ways you can stay connected <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>to friends and family</a></body>
</html>