[asterisk-users] Queue Load, Asterisk Disconnected

Atis Lezdins atis at iq-labs.net
Mon May 18 06:51:58 CDT 2009


2009/5/17 Torintino T <torintino1 at hotmail.com>:
>
>
> ________________________________
>
> I have Asterisk 1.2.29, Zaptel 1.2.24 , TE 121P Digium Card, and Freepbx
> Setup for a queue up to 15 agents through a PRI line, it was working fine
> for more than 1 year, suddenly, when there is a load on the queue, the
> asterisk service disconnects and the calls are dropped. And the service
> starts again after few seconds, and so on.
>
> I am not using fax.
>
> I checked PRI by zttool and there are no alarms.
>
> The cdr logs
>
> 2195,2","","Busy","","2009-05-13 10:06:53",,"2009-05-13 10:06:55",2,0,"NO
> ANSWER","DOCUMENTATION"
> "","0225167604","237","from-internal","""0225167604""
> <0225167604>","Local/237 at from-internal-a07f,2","","Busy","","2009-05-13
> 10:06:55",,"2009-05-13 10:06:57",2,0,"NO ANSWER","DOCUMENTATION"
> "","0225167604","229","from-internal","""0225167604""
> <0225167604>","Local/229 at from-internal-c662,2","","Busy","","2009-05-13
> 10:06:57",,"2009-05-13 10:06:59",2,0,"NO ANSWER","DOCUMENTATION"
> "","0225167604","224","from-internal","""0225167604""
> <0225167604>","Local/224 at from-internal-3a3a,2","","Busy","","2009-05-13
> 10:06:59",,"2009-05-13 10:07:00",1,0,"NO ANSWER","DOCUMENTATION"
> /usr/sbin/safe_asterisk: line 57: 14229 Segmentation fault (core dumped)
> ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY}
> Asterisk ended with exit status 139
> Asterisk exited on signal 11.
> cat: /var/run/asterisk.pid: No such file or directory
> Automatically restarting Asterisk.
>
>
>
>  Verbosity logs:
>
> -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
> recordingcheck|20090513-092729|1242196049.184: Inbound recording enabled.
> recordingcheck|20090513-092729|1242196049.184: CALLFILENAME=1242196049.184
> -- AGI Script recordingcheck completed, returning 0
> -- Executing Monitor("Local/211 at from-internal-b759,2",
> "wav49|1242196049.184| mb") in new stack
> -- Executing Macro("Local/211 at from-internal-b759,2", "dial|30|Ttr|211") in
> new stack
> -- Executing AGI("Local/211 at from-internal-b759,2", "dialparties.agi") in new
> stack
> -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
> dialparties.agi: Starting New Dialparties.agi
> -- dialparties.agi: priority is 1
> dialparties.agi: Caller ID name is '0227559600' number is '0227559600'
> dialparties.agi: Methodology of ring is 'none'
> -- dialparties.agi: Added extension 211 to extension map
> -- dialparties.agi: Extension 211 cf is disabled
> dialparties.agi: Extension 211 has do not disturb enabled
> -- AGI Script dialparties.agi completed, returning 0
> -- Executing NoOp("Local/211 at from-internal-b759,2", "Returned from
> dialparties with no extensions to call") in new stack
> -- Executing Set("Local/211 at from-internal-b759,2", "DIALSTATUS=BUSY") in new
> stack
> -- Executing GotoIf("Local/211 at from-internal-b759,2", "1?s-BUSY|1") in new
> stack
> -- Goto (macro-exten-vm,s-BUSY,1)
> -- Executing NoOp("Local/211 at from-internal-b759,2", "Extension is reporting
> BUSY and has no Voicemail") in new stack
> -- Executing Busy("Local/211 at from-internal-b759,2", "") in new stack
> -- Local/211 at from-internal-b759,1 is busy
> == Spawn extension (macro-exten-vm, s-BUSY, 2) exited non-zero on
> 'Local/211 at from-internal-b759,2' in macro 'exten-vm'
> == Spawn extension (macro-exten-vm, s-BUSY, 2) exited non-zero on
> 'Local/211 at from-internal-b759,2'
> == Spawn extension (macro-dial, s, 10) exited non-zero on
> 'Local/225 at from-internal-6cb4,2' in macro 'dial'
> == Spawn extension (macro-dial, s, 10) exited non-zero on
> 'Local/225 at from-internal-6cb4,2' in macro 'exten-vm'
> == Spawn extension (macro-dial, s, 10) exited non-zero on
> 'Local/225 at from-internal-6cb4,2'
> == Spawn extension (ext-queues, 100, 7) exited non-zero on 'Zap/25-1'
> -- Hungup 'Zap/25-1'
> -- Stopped music on hold on Zap/27-1
> -- Playing periodic announcement
> -- Playing 'custom/Busy' (language 'en')
> -- Called Local/221 at from-internal/n
> -- Executing Macro("Local/221 at from-internal-e5d7,2", "exten-vm|novm|221") in
> new stack
> -- Executing Macro("Local/221 at from-internal-e5d7,2", "user-callerid") in new
> stack
> -- Executing Set("Local/221 at from-internal-e5d7,2", "AMPUSER=") in new stack
> -- Executing GotoIf("Local/221 at from-internal-e5d7,2", "0?109") in new stack
> -- Executing Set("Local/221 at from-internal-e5d7,2", "EMERGENCYCID=") in new
> stack
> -- Executing Set("Local/221 at from-internal-e5d7,2", "AMPUSERCIDNAME=") in new
> stack
> -- Executing GotoIf("Local/221 at from-internal-e5d7,2", "1?7") in new stack
> -- Goto (macro-user-callerid,s,7)
> -- Executing NoOp("Local/221 at from-internal-e5d7,2", "Using CallerID
> "0227559600" <0227559600>") in new stack
> -- Executing Set("Local/221 at from-internal-e5d7,2", "FROMCONTEXT=exten-vm")
> in new stack
> -- Executing Macro("Local/221 at from-internal-e5d7,2", "record-enable|221|IN")
> in new stack
> -- Executing GotoIf("Local/221 at from-internal-e5d7,2", "0 > 0?2:4") in new
> stack
> -- Goto (macro-record-enable,s,4)
> -- Executing AGI("Local/221 at from-internal-e5d7,2",
> "recordingcheck|20090513-092731|1242196051.186") in new stack
> -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
> recordingcheck|20090513-092731|1242196051.186: Inbound recording enabled.
> recordingcheck|20090513-092731|1242196051.186: CALLFILENAME=1242196051.186
> -- AGI Script recordingcheck completed, returning 0
> -- Executing Monitor("Local/221 at from-internal-e5d7,2",
> "wav49|1242196051.186| mb") in new stack
> -- Executing Macro("Local/221 at from-internal-e5d7,2", "dial|30|Ttr|221") in
> new stack
> -- Executing AGI("Local/221 at from-internal-e5d7,2", "dialparties.agi") in new
> stack
> -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
> dialparties.agi: Starting New Dialparties.agi
> -- dialparties.agi: priority is 1
> dialparties.agi: Caller ID name is '0227559600' number is '0227559600'
> dialparties.agi: Methodology of ring is 'none'
> -- dialparties.agi: Added extension 221 to extension map
> -- dialparties.agi: Extension 221 cf is disabled
> -- dialparties.agi: Extension 221 do not disturb is disabled
> == Parsing '/etc/asterisk/manager.conf': Found
> == Parsing '/etc/asterisk/manager_additional.conf': Found
> == Parsing '/etc/asterisk/manager_custom.conf': Found
> == Manager 'admin' logged on from 127.0.0.1
> == Manager 'admin' logged off from 127.0.0.1
> -- dialparties.agi: Checking CW and CFB status for extension 221
> dialparties.agi: Extension 221 is not available to be called
> dialparties.agi: Extension 221 has call waiting disabled
> -- AGI Script dialparties.agi completed, returning 0
> -- Executing NoOp("Local/221 at from-internal-e5d7,2", "Returned from
> dialparties with no extensions to call") in new stack
> -- Executing Set("Local/221 at from-internal-e5d7,2", "DIALSTATUS=BUSY") in new
> stack
> -- Executing GotoIf("Local/221 at from-internal-e5d7,2", "1?s-BUSY|1") in new
> stack
> -- Goto (macro-exten-vm,s-BUSY,1)
> -- Executing NoOp("Local/221 at from-internal-e5d7,2", "Extension is reporting
> BUSY and has no Voicemail") in new stack
> -- Executing Busy("Local/221 at from-internal-e5d7,2", "") in new stack
> -- Local/221 at from-internal-e5d7,1 is busy
> -- Called Local/225 at from-internal/n
> == Spawn extension (macro-exten-vm, s-BUSY, 2) exited non-zero on
> 'Local/221 at from-internal-e5d7,2' in macro 'exten-vm'
> == Spawn extension (macro-exten-vm, s-BUSY, 2) exited non-zero on
> 'Local/221 at from-internal-e5d7,2'
> -- Executing Macro("Local/225 at from-internal-a118,2", "exten-vm|novm|225") in
> new stack
> -- Executing Macro("Local/225 at from-internal-a118,2", "user-callerid") in new
> stack
> -- Executing Set("Local/225 at from-internal-a118,2", "AMPUSER=") in new stack
> -- Executing GotoIf("Local/225 at from-internal-a118,2", "0?109") in new stack
> -- Executing Set("Local/225 at from-internal-a118,2", "EMERGENCYCID=") in new
> stack
> -- Executing Set("Local/225 at from-internal-a118,2", "AMPUSERCIDNAME=") in new
> stack
> -- Executing GotoIf("Local/225 at from-internal-a118,2", "1?7") in new stack
> -- Goto (macro-user-callerid,s,7)
> -- Executing NoOp("Local/225 at from-internal-a118,2", "Using CallerID
> "0227559600" <0227559600>") in new stack
> -- Executing Set("Local/225 at from-internal-a118,2", "FROMCONTEXT=exten-vm")
> in new stack
> -- Executing Macro("Local/225 at from-internal-a118,2", "record-enable|225|IN")
> in new stack
> -- Executing GotoIf("Local/225 at from-internal-a118,2", "0 > 0?2:4") in new
> stack
> -- Goto (macro-record-enable,s,4)
> -- Executing AGI("Local/225 at from-internal-a118,2",
> "recordingcheck|20090513-092731|1242196051.188") in new stack
> -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
> recordingcheck|20090513-092731|1242196051.188: Inbound recording enabled.
> recordingcheck|20090513-092731|1242196051.188: CALLFILENAME=1242196051.188
> -- AGI Script recordingcheck completed, returning 0
> -- Executing Monitor("Local/225 at from-internal-a118,2",
> "wav49|1242196051.188| mb") in new stack
> -- Executing Macro("Local/225 at from-internal-a118,2", "dial|30|Ttr|225") in
> new stack
> -- Executing AGI("Local/225 at from-internal-a118,2", "dialparties.agi") in new
> stack
> -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
> dialparties.agi: Starting New Dialparties.agi
> -- dialparties.agi: priority is 1
> dialparties.agi: Caller ID name is '0227559600' number is '0227559600'
> dialparties.agi: Methodology of ring is 'none'
> asterisk*CLI>
> Disconnected from Asterisk server
> Executing last minute cleanups
> [root at asterisk ~]#
>
> Any Help will be highly appreciated
>

Hello,

First, 1.2 branch is quite old, and bugs are not going to be fixed
anymore (except security releases).

So in this case You're on Your own - if you find problem in code, You
can fix it by Yourself, and keep the patch/share with others.. but it
won't be accepted anywhere.

Asterisk has had a lot of changes in Queue between 1.2 and 1.4, so You
should consider upgrade benefits.

If You want to debug - You should read on Asterisk Debugging -
http://www.voip-info.org/wiki/view/Asterisk+debugging - and compile
asterisk without optimizations, make it crash and then look into core
file with gdb.

Regards,
Atis




-- 
Atis Lezdins,
VoIP Project Manager / Developer,
IQ Labs Inc,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835



More information about the asterisk-users mailing list