Hi List, I have sprint pcs cellular service and I discoverd that I am able to send a text message to a landline. If I do I get an SMS from the saying I sent a text message to a landline. Then the landline that I sent a text message to gets a call with my message (text to speach). I was wondering if there was any way for me to detect if a number is a mobile phone or a landline. Is this something that only cellular providers can do or can I have asterisk do it (I asume I would need to create a patch). Thanks a lot. Dovid -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060829/544a1cb3/attachment.htm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dovid Bender wrote:> Hi List, > I have sprint pcs cellular service and I discoverd that I am able to send a text message to a landline. If I do I get an SMS from the saying I sent a text message to a landline. Then the landline that I sent a text message to gets a call with my message (text to speach). I was wondering if there was any way for me to detect if a number is a mobile phone or a landline. Is this something that only cellular providers can do or can I have asterisk do it (I asume I would need to create a patch). Thanks a lot.Don't cellphone numbers start with a different code where you live? Or were you wanting to do something worldwide? - -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://freevoip.gedameurope.com (Free Asterisk Voip Community) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE9Ik1S6d5vy0jeVcRAmXcAJ9ytuu7tU2B1IpHjTW6onFolnt3VQCeINeJ FCRGKTnmi/k0oZmea6lXo4Q=GGrd -----END PGP SIGNATURE-----
I don't think there's any authority in North America that tells you whether a number is a cellular number. However, it's conceivable you could write a script to access information available on, for example, www.telcodata.us, and check the prefix-type for a given phone number. The prefix type for all known (to me) wireless numbers is, in fact, "WIRELESS" -- you can't pay too much attention to the company given on that site, as WLNP makes this information quite superfluous. Keep in mind that LNP in general will make this information much less reliable than it used to be before LNP -- it's now possible to take your landline to a cell-phone and vice versa, so bets are off when it comes to that. Dovid Bender wrote:> Hi List, > I have sprint pcs cellular service and I discoverd that I am able to > send a text message to a landline. If I do I get an SMS from the > saying I sent a text message to a landline. Then the landline that I > sent a text message to gets a call with my message (text to speach). I > was wondering if there was any way for me to detect if a number is a > mobile phone or a landline. Is this something that only cellular > providers can do or can I have asterisk do it (I asume I would need to > create a patch). Thanks a lot. > > Dovid > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >