Re: [asterisk-users] Phone Number Validation

2016-03-29 Thread A J Stiles
On Tuesday 29 Mar 2016, Rizwan H Qureshi wrote:
> Hi Everyone,
> I need to develop a service which tells me whether a given phone number is
> in service and is valid or not. It can be international number. This is
> basically to clean the list of leads we have. Is there any service which
> can give me the required information?
> 
> I currently have an international numbering plan database which only tells
> me if the given phone number is in valid format up to a certain area code.
> But I need to know whether it will ring or not. Any help will be
> appreciated.

There is exactly one way to find out whether or not a given telephone number 
will answer:  Dial it.

-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Phone Number Validation

2016-03-29 Thread D'Arcy J.M. Cain
On Tue, 29 Mar 2016 09:53:15 +0100
Rizwan H Qureshi  wrote:
> I need to develop a service which tells me whether a given phone
> number is in service and is valid or not. It can be international
> number. This is basically to clean the list of leads we have. Is
> there any service which can give me the required information?

Sounds like a service that spammers have been searching for since Alex
called Tommy and asked him to "Come here."

Such a service is impossible.  There is no way to tell if a number will
be answered without actually calling it.  Even then you don't know
whether an out of service is temporary or permanent.

-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:da...@vex.net
VoIP: sip:da...@vex.net

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Phone Number Validation

2016-03-29 Thread Lefteris Zafiris
On Tue, 29 Mar 2016 09:53:15 +0100
Rizwan H Qureshi  wrote:

> Hi Everyone,
> I need to develop a service which tells me whether a given phone number is
> in service and is valid or not. It can be international number. This is
> basically to clean the list of leads we have. Is there any service which
> can give me the required information?
> 
> I currently have an international numbering plan database which only tells
> me if the given phone number is in valid format up to a certain area code.
> But I need to know whether it will ring or not. Any help will be
> appreciated.
> 
> Thanks
> 
> Best Ragards
> Rizwan H Qureshi
> 
> V: +44 (0) 7544180726
> linkedin.com/in/rhqureshi

This might come handy: https://github.com/googlei18n/libphonenumber

Regards,

Lefteris

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Phone Number Validation

2016-03-29 Thread jg



Hi Everyone,
I need to develop a service which tells me whether a given phone number is in service and is 
valid or not. It can be international number. This is basically to clean the list of leads we 
have. Is there any service which can give me the required information?


I currently have an international numbering plan database which only tells me if the given 
phone number is in valid format up to a certain area code. But I need to know whether it will 
ring or not. Any help will be appreciated.




Hi!

I am doing something similar. Country codes are available from ITU-T. Country codes are 
available for every country, except for the North American Numbering Plan, which covers 
essentially North America. NANP numbers have a simple structure (with little oddities), which is 
not generally valid outside their domain, so it is difficult to check the validity of numbers 
(unless you are willing to work through the regulations of every country you want to cover).


For example, a complete German phone number, including the equivalent of NPA and NXX, can be 
between 5 and 15 digits. The system is (almost) strictly hierarchical, but requires detailed 
knowledge, i.e. you do need an algorithm that figures out the area code. There are also separate 
number ranges for mobile phone numbers.


In practice there can be more than 15 numbers, depending on the country, and whether the 
regulators are not particularly strict in enforcing a specific length of phone numbers (for ISDN 
lines).


Generally, you cannot know whether dialing a number will ring the other end, or not. If all 
channels are already occupied for a T1 or E1 connection, the last exchange station will already 
signal unavailability, i.e. "user busy" may be signaled by the user or the network.


jg
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Phone Number Validation

2016-03-29 Thread Rizwan H Qureshi
Hi Everyone,
I need to develop a service which tells me whether a given phone number is
in service and is valid or not. It can be international number. This is
basically to clean the list of leads we have. Is there any service which
can give me the required information?

I currently have an international numbering plan database which only tells
me if the given phone number is in valid format up to a certain area code.
But I need to know whether it will ring or not. Any help will be
appreciated.

Thanks

Best Ragards
Rizwan H Qureshi

V: +44 (0) 7544180726
linkedin.com/in/rhqureshi
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users