Solved

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

Posted on 2010-09-10
3
554 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
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, f…

696 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