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
Solved

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

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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using an ASA5505 as a multicast router 2 71
Speeding up a 3G access for it to act as shared Wifi hotspot 14 68
VOIP System 9 99
VOIP - COST? Options? Implementation? 2 17
Every year the snow affects people and businesses. According to the Federation of Small Businesses (FSB), in 2009, UK businesses lost an estimated £1.2bn (http://news.bbc.co.uk/1/hi/business/7864804.stm) because of bad weather. This article was c…
This is a step by step guide on creating single number reach (mobility) for Cisco Call Manager.  After configuring this when someone calls your deskphone after 3-4 rings your cell phone will start to ring.  If you do not answer the call will go to y…
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…
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…

839 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