[Home]

Summary:ASTERISK-10402: Call parking crash
Reporter:Phillip Smith (phillip)Labels:
Date Opened:2007-09-28 03:42:02Date Closed:2011-06-07 14:03:20
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Just pasting below is some CLI output

Connected to Asterisk 1.4.11 currently running on iquad (pid = 11238)
Verbosity is at least 3
 == Parsing '/etc/asterisk/manager.conf': Found
iquad*CLI> sip show channels
Peer             User/ANR    Call ID      Seq (Tx/Rx)  Form  Hold     Last Message
10.100.10.62     8801        146158c60a2  00102/00000  alaw  No       Init: INVITE
10.100.10.69     8456        02ec42f2674  00102/00000  unkn  No       Init: INVITE
10.100.10.63     8804        248d535378f  00102/00000  unkn  No       Init: INVITE
10.100.10.72     8700        656beb3b6bf  00102/00000  unkn  No       Init: INVITE
10.100.10.73     8443        6cbb1c97078  00102/00000  unkn  No       Init: INVITE
10.100.10.72     8700        3f0c3e34262  00102/00000  unkn  No       Init: INVITE
10.100.10.72     8700        34360ea71a6  00102/00000  unkn  No       Init: INVITE
10.100.10.75     8430        63292d83362  00102/00002  alaw  Yes      Rx: REFER       Done
10.100.10.59     (None)      3c26700dad5  00101/02998  unkn  No       Rx: REGISTER
9 active SIP channels


iquad*CLI> show channels
Channel              Location             State   Application(Data)
Zap/41-1             8686@all-default-def Rsrvd   (None)
Zap/32-1             (None)               Up      Bridged Call(Zap/2-1)
Zap/2-1              s@macro-default-dial Up      Dial(Zap/g2/8400|60)
Zap/19-1             s@default-applicatio Up      Queue(default-iquad|tr|||900)
SIPPeer/SIP/8430-09c s@default-iquad:1    Down    (None)
Parking/Local/8430@d 8430@default-local-d Down    (None)

Now what happend with this box this morning, no calls could be made out or in. What happend yesterday with this box is that it blocked up the entire 4 channels specified in sip.conf for each extension and no calls could be taken. now I I had a hundreds of lines where state was set to Unknown, this has not happend today. Also during the day, I got a complete crash where it killed the asterisk process while a call was on park, this was the last thing I got the CLI before the crash, I never had a core file set, [Sep 28 09:14:59] VERBOSE[32050] logger.c:     -- Added extension '' priority 1 to parkedcalls

The way the system is setup is, is every extension is added to a queue that queue is used for an incoming line, then parking is used once the call is answered to be able to get picked up from another extension.

Thank you
Comments:By: Joel Vandal (jvandal) 2007-09-28 08:13:47

Related to bug # 9724.

By: Tilghman Lesher (tilghman) 2007-09-28 08:32:11

Please use 'make menuselect' to turn on in the Compiler Flags 'DONT_OPTIMIZE' and 'DEBUG_THREADS'.  When you get a crash, you'll need to generate a stack backtrace, as documented in doc/backtrace.txt.  When you get a deadlock, you'll need to run the command 'core show locks'.  In either case, open a new bug and post the output there.

DO NOT POST BOTH CASES TO THE SAME BUG.

By: Tilghman Lesher (tilghman) 2007-09-28 08:34:16

I am suspending this bug for now, because there is no debugging information provided.  When you have either of the debugging information available, you may reopen this bug and post ONE of the cases.