Thanks Dragan,
I have found some sms providers as well that will send messages for you and they must have the ability to resolve the carrier so I know this is possible. I just can't seem to be able to find a service that will just resolve the address. I will keep looking.
>>>>>I have a request to allow a user to enter a cell phone number for sending a sms message. I can make it all work except I can't find a way to figure out who the cell phone carrier is so I can complete the address. Anyone know how to do this?
>>>>>
>>>>
>>>>Users can move the same number between different carriers, so it would be difficult.
>>>>
>>>>Is it possible to just add a field for the users to choose a carrier?
>>>
>>>But Skype does it, somehow. Are they storing the carriers' dialing ranges, or what? That'd be one very large table. I wonder how do they do it, and if it's a table, how do (did) they fill it.
>>
>>Dialing ranges would sort of help.
>>However, I can have a number that from Verizon and then take my number with me to T-Mobile.
>>
>>Another alternative is to just TRY all the permutations of how to send the SMS via email.
>>One of them must work.
>>You could even log the permutations that errored so you don't try them next time.
>
>This got me curious. I googled "how does skype send sms", and after weeding out the propaganda pages, this came up:
>
>
http://forum.eeeuser.com/viewtopic.php?pid=108312>
http://sourceforge.net/projects/skype4py/>
>Thanks to the fact that Skype exists on Linux as well. The answer may be somewhere in that Python library.