Get my phone number

I have a company with 5 phones. And I wanted to know which phone received a call. Preferably get the phone number yourself.

There seems to be a lot of information missing here! For a start, you may need to tell us which channel technology you are using.

If this relates to SIP please provide a protocol trace. Details vary between chan_sip and chan_pjsip.

If the number appears in that trace, please indicate exactly where it appears. If not, I either haven’t correctly guessed what you want to achieve, or the information needed to achieve it does not exist.

Hello, im using .NET, and the NewExten Event. I would like to get wich phone number of my company received the call. Thank you!