Regular crashes


#1

I have just setup asterisk on a debian sarge box. I am running Asterisk 1.21 with AMP and chan_capi_cm 0.6.1 using a BT Speedway (AVM Fritz) ISDN card, connected to a BT ISDN2e line. Currently we have 6 extensions configured all using CounterPath(Xten) eyebeam softphone.

After many hours of Googling I have finally got it all setup and working. We can transfer calls internally and make and receive external calls. Its all great except for stability issues!!

Essentially every now and again (6/5 times a day!), in the middle of a call (so far usually but not exclusivly on external CAPI calls) asterisk simply dies. No warning, no error, just my console session outputs a disconnected from console message.

The server is a brand new AMD 3400+ with 512Mb RAM.

The other issue experienced is occasional break up on inbound sound quality.

Below is the output from console prior to crash. Verbosity 5 and capi debug enabled

This is very fustrating.

All suggestions welcome

== Spawn extension (macro-dialout-trunk, s, 21) exited non-zero on ‘SIP/113-a753’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 907950846621, 1) exited non-zero on ‘SIP/113-a753’
– Executing Macro(“SIP/113-a753”, “hangupcall”) in new stack
– Executing ResetCDR(“SIP/113-a753”, “w”) in new stack INFO_IND ID=001 #0x3473 LEN=0017
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x8
InfoElement = <80 90>

INFO_RESP ID=001 #0x3473 LEN=0012
Controller/PLCI/NCCI = 0x101

-- ISDN1: info element CAUSE 80 90

DISCONNECT_B3_CONF ID=001 #0x2927 LEN=0014
Controller/PLCI/NCCI = 0x10101
Info = 0x0

DISCONNECT_B3_IND ID=001 #0x3474 LEN=0015
Controller/PLCI/NCCI = 0x10101
Reason_B3 = 0x3301
NCPI = default

DISCONNECT_B3_RESP ID=001 #0x3474 LEN=0012
Controller/PLCI/NCCI = 0x10101

DISCONNECT_REQ ID=001 #0x2928 LEN=0017
Controller/PLCI/NCCI = 0x101
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default

DISCONNECT_CONF ID=001 #0x2928 LEN=0014
Controller/PLCI/NCCI = 0x101
Info = 0x0

-- Executing NoCDR("SIP/113-a753", "") in new stack
-- Executing Wait("SIP/113-a753", "5") in new stack DISCONNECT_IND ID=001 #0x3475 LEN=0014

Controller/PLCI/NCCI = 0x101
Reason = 0x3490

DISCONNECT_RESP ID=001 #0x3475 LEN=0012
Controller/PLCI/NCCI = 0x101

   > CAPI INFO 0x3490: Normal call clearing

== ISDN1: Interface cleanup PLCI=0x101
– Executing Hangup(“SIP/113-a753”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/113-a753’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/113-a753’
rapid*CLI>
Disconnected from Asterisk server


#2

It may be worth starting Asterisk with something like

strace asterisk >strace.log 2>&1 &

This will produce a massive amount of output in the log file, but it should allow you to find out where it’s crashing.