Solved

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

Posted on 2010-09-10
3
551 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
Messaging apps are amazing tools with the power to do a lot of good, but the truth is the process of collaborating with coworkers requires relationships established through meaningful communication - the kind of communication that only happens face-…
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…
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, f…

786 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