How To Check Who Hung Up A Call

but that’s just because of the way we process SIP and the way the protocol works.

Just for the record, don’t confuse how a B2BUA like Asterisk does things compared to the rest. With many softswitches/SBCs/Proxies that have call accounting they can tell you exactly who hung up the call. That’s because BYE and CANCEL are out-of-dialog transactions that are related to the current SIP transaction.

Not only can you see the source of the request but the From and To headers are also updated because if I was the one called (To user) and then I sent the BYE it shows the From user as me and then to To user as the caller.

This is part of why I don’t use Asterisk for CDRs (along with they only do completed calls) or certain functions like Call Forwarding. When a use has CF set up (which can support multiple numbers in my case) the proxies/switches deal with it so to Asterisk it’s just one call while the other systems can call the CF numbers in order (or at once) and it will track each call and create CDRs for each attempt and tag the connected one as the call.

Refer to more articles:  Who Was Shot On General Hospital

So PSTN Caller to User A, User A CF always to User B, User B rings for 30 seconds with no Answer and User B has a CFU that is a mobile number to it calls the PSTN. Now I have a CDR/accounting record of PSTN Caller to User A then User A to User B and User B to PSTN however now I have all three CDRs for a single call

There are multiple benefits for this. 1) Asterisk still thinks this is a single call. It’s not hanging up channels and creating new channels for each leg of this call. Which reduces the load on Asterisk. 2) I can bill User A for the origination of the call. 3) I can bill User B for termination of the call. 4) I can bill User A for calling User B however I have free On-Net calling so since they are both users on the network the call between them is free. 5) As I said I have three CDRs for this call not the 10-15 Asterisk is going to generate for each exten/context the call lands on.

Related Posts

Who To Call For Water Stain On Ceiling

Who To Call For Water Stain On Ceiling

Q: I just noticed water stains on the ceiling of my home. Part of me just wants to paint over them, but then I realized there might…

Who Is Cynthia Woods

The enduring legacy of Cynthia Woods Mitchell The Cynthia and George Mitchell Foundation celebrates the 100th anniversary of the birth of Cynthia Woods Mitchell on September 24,…

Who Pays For Title Insurance In Illinois

Who Pays For Title Insurance In Illinois

Purchasing a home represents one of the biggest financial investments most people will ever make in their lifetimes. To protect this major investment, buyers in Illinois commonly…

Who Is Sade Married To

February 2010: Soldier of Love is released, the sixth studio album the band Sade have released during their 25 year career, and the first since Lovers Rock…

Who Killed Dj Nando In Atlanta

Who Killed Dj Nando In Atlanta

If you were an Atlanta musician hoping for the coveted big break in the entertainment industry, you wanted to know DJ Nando. He was famously known as…

Who Is Responsible If A Baseball Hits A Car

Who Is Responsible If A Baseball Hits A Car

Smashed windshields and dents are a common occurrence at ballparks. The windshield of a spectator who parked outside of your baseball field was smashed by a foul…