Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Unable to Parse Twilio strange number #27

Open
sarathprasath-krishnaswamy opened this issue Feb 12, 2015 · 0 comments
Open

Unable to Parse Twilio strange number #27

sarathprasath-krishnaswamy opened this issue Feb 12, 2015 · 0 comments

Comments

@sarathprasath-krishnaswamy

I have a twilio strange numbers in a hash and i need to check the incoming numbers against it.

TWILIO Strange Numbers

In that, i could parse and check for equality for the UNKNOWN,BLOCKED & RESTRICTED by using the below code,

GlobalPhone.parse(twilio_strange_num).international_format == GlobalPhone.parse(incoming_number).international_format

The above condition is not working for ANONYMOUS Number 266696687 alone.
EMPTY number im handling seperately.

Please help me out and Suggest any other better approach to do this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant