I’ve gone through quite a few attempts on tackling this issue, perhaps someone here can share some insights:
Is there any built-in way in Asterisk (or FreePBX, or SIP in general) to distinguish between local/inner-county and international calls?
I want to fix up the caller ID so my users can simply hit redial on a missed call, but this requires me to add 00 for local calls and 000 for international calls - something that I just can’t figure out how to do.
Inner-country calls come in like 6641234567 (Austrian mobile), international calls come in like 49123451234567 (German landline). There’s nothing to really distinguish them, e.g. both calls from Vienna and the USA start with a prefix of “1”.
I’ve contacted our SIP provider Tele2 to see if they could probably transmit the caller ID in full international format, but they claim that this is a global setting and they can’t change this for just one small customer.
Most solutions I found are built for the US market with their fixed area and number lengths, but in most EU countries the phone number length can vary greatly.
Has anyone managed to solve this before and could share their insights?