{{ entry.phone.getCountryCode() }} - The alphabetical country code
{{ entry.phone.getRegionCode() }} - The numerical region code
Actual (php code):
->getRegionCode() returns the alphabetical country code (ES when using Spanish phone nr.)
->getCountryCode() returns the numerical region code (34 when using Spanish phone nr.)
According to docs:
Actual (php code):
->getRegionCode()
returns the alphabetical country code (ES when using Spanish phone nr.)->getCountryCode()
returns the numerical region code (34 when using Spanish phone nr.)This also matches the libphonenumber-for-php docs