How to get country code from phone number

Feb 9, 2016 at 5:53 PM
In event "NewCall" I can get callerId, but, it's will be (0971234567).
I need to get country code from its number, like +3 (+380971234567), for example.

How can i do this?
Feb 23, 2016 at 1:12 PM
That's up to the hardware to report this if it's available from the network.

If the hardware is not reporting the country code, then I would assume it's in the current country location. You can use the LocationManager property on the TapiManager to get the location info and look at the current location.

I hope that helps!