Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

PhoneNumber Brasil with problems #82

Closed
apoca opened this issue Sep 11, 2017 · 6 comments
Closed

PhoneNumber Brasil with problems #82

apoca opened this issue Sep 11, 2017 · 6 comments
Labels
Milestone

Comments

@apoca
Copy link

apoca commented Sep 11, 2017

Doesn't work for some new number in Brasil, like:

+5551992493178

This number exists:

{
  "caller_name": null,
  "country_code": "BR",
  "phone_number": "+5551992493178",
  "national_format": "(51) 99249-3178",
  "carrier": {
    "mobile_country_code": "724",
    "mobile_network_code": "05",
    "name": "Claro",
    "type": "mobile",
    "error_code": null
  },
  "add_ons": null,
  "url": "https://lookups.twilio.com/v1/PhoneNumbers/+5551992493178?Type=carrier"
}
@malukenho
Copy link
Member

@apoca can you send us a unit test for this failure please?

@apoca
Copy link
Author

apoca commented Sep 21, 2017

As you can see an example with a really Brazilian number: +5551992529385 I think this happens always with the same carrier "Claro".

captura de ecra 2017-09-21 as 15 31 10

@malukenho
Copy link
Member

@apoca sorry for the late reply. It indeed is failing on php7, but seems to work on php5 versions.

@apoca
Copy link
Author

apoca commented Sep 29, 2017

I’ll try (test) with php5 but it’s impossible change my environment to this version in production.

@malukenho
Copy link
Member

@apoca could you provide the actual code that is causing the trouble?

@rwrz
Copy link
Contributor

rwrz commented Aug 30, 2018

#103 should fix that.. =)

@michalbundyra michalbundyra added this to the 2.9.1 milestone Sep 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants