Inconsistent behaviour of NANP toll free numbers
When parsing the number +18665551234:
- Without a default country code: US
- With a default country code of US: US
- With a default country code of CA: CA
- With a default country code of AG (or any other NANP country): US
I guess US is being used as the default country for numbers shared by all NANP countries, which makes sense, but is it intended that CA is a special case in which setting it as the default country affects the output country?
I was not able to replicate this behaviour using libphonenumber - it returns US regardless of the default country, even if the default country is CA.
Edited by Duncan de Wet