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 Is Layzie Bone Married To

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 Suffered The Most In The Bible

There’s no doubt in anyone’s mind we’re living in uncertain times. Seniors and their families are facing the effects of the coronavirus outbreak in assisted living communities…

Who Is Brooke Williamson Married To

Born and raised in Los Angeles, California, Brooke Williamson has carved out an impressive résumé full of leading roles and professional achievement, such as being the youngest…

Who Wraps Vehicles Near Me

Who Wraps Vehicles Near Me

Do you want to personalize the appearance of your car but are worried about paying for a custom paint job that will get dinged and scratched with…

Who Did Adam Blame For His Sin

The “Problem” The Genesis account of the Fall indicates that Eve ate the fruit first. This has led many people throughout history and even in our modern…

Who Is In The Mac Championship Game

Who Is In The Mac Championship Game

2004 was a very important year for the Mid-American Conference. You may be interested Who Is Nicky Nightmares Parents Who Won The Masters In 2008 Who Was…

Who Buys Playboy Near Me

Like New: This is how you would see it sitting on a newsstand. The first thought is that it would be in perfect condition. While most are,…