Solved

How can I tell for sure which party hung up a call in Asterisk?

Posted on 2010-09-10
3
548 Views
Last Modified: 2012-08-13
I need to be able to tell which party hung up a call in Asterisk - is there something in the logs that will tell me that, or is there something I can add to the dialplan?  I also need to be able to tell the difference between a call that was hung up normally and a call that was ended as a result of network issues; I assume that will be something I need to add dialplan stuff for...Im using Elastix as the PBX, and ideally I'd like to add this data into CDR data, so it's searchable and we can view it within the various call data pages.
0
Comment
Question by:lorsungcu
3 Comments
 
LVL 9

Expert Comment

by:Alex Bahar
ID: 33651945
Disconnect code/clause should be in the CDRs. So you can seperate the normal call clearing from abnormal disconnects (if Asterisk is aware of it of course).
 
Caller party/Called Party clearing are both considered normal disconnect. The only way to understand whic party hung up first is to look at the call traces. But you cannto leave the traces enabled all the time as it will affect the performance if you have large call volume.
0
 
LVL 2

Author Comment

by:lorsungcu
ID: 33651962
What in the call trace will show who hung up?  I can set a separate server up to handle this, if I need.
0
 
LVL 2

Accepted Solution

by:
col_forbin13 earned 250 total points
ID: 33674130
You should be able to see in the call trace which endpoint sends the CANCEL request first, this is who hung up first.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Downgrading shoretel phones 3 53
Free PBX 3 63
dialer.exe 4 51
VOIP: SIP vs. proprietary Broadview Networks Silnet ?? 12 47
Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
I'm Dumb-phoned(ed) Last week, I noticed this message when adding events to my Google Calendar: On June 27th (2015), Google is removing SMS as a notification option for Google Calendar events.  Their assumption is that enough people have smart p…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now