[HACK] (16/05/2010) Native SMS over IP

Matzemink

Senior Member
Nov 15, 2008
128
11
38
Bavaria :)
Found two issue after using it some days:

When you're in airplane mode and connected to wifi the message cannot be sent. A Message pops up that you have to turn on the phone.

And a "Message sent" popup would be nice (no need for delivery - would be nice also).
 

dsip

Senior Member
Jul 1, 2009
205
51
0
Yesterday I lost a beloved friend, I won't be working on these for some time, but I'll come back.
I offer my condolences.. sad to hear that.


Erasmus öğrencisi olarak Boğaziçi Üniversiteside okuyorum. Türkçe öğreniyorum, ama bence Alman insan için zor bir dil, çünkü Almanca veya Inglizceden çok başka.
I hope I didn't make to many mistakes here..


I finally got around trying your app; paypal had blocked my account at the second I accessed it from Turkey and I was too lazy to unblock it for some time. The sending seems to work fine - the only thing that bothers me, is the fact that the popups asking whether I want to send the sms via ip or not, are "behind" windows' message app; that is the message up is still in focus and I have to use a task manager to see the sms on ip thingy.

I do agree on the requests Matzemink made; both things sound useful to me.

Thanks for this awesome app, I like it a lot.

By the way: I'm also using the sms_orig.dll that came with the cab. Seems to work fine - and to be honest, searching the forums I couldn't find a way to extract the original sms.dll.:eek:
 

drizztje

Senior Member
Jun 20, 2006
331
55
0
Ankara
New version is attached. This version should solve the multiline and messagebox going to background problems. I added another option to use ip only for international destinations (option=5 or 0x15). registry settings should be changed according to the proposal of oruam57, see post #53 (http://forum.xda-developers.com/showpost.php?p=6374966&postcount=53). Have fun.

I have unlimited text to national territory on my contract...so this app not suitable for me unless it was unlimited text worldwide. :p
You cna still use this for international sms.

I am sorry for your loss.

I'll wait for your comeback.
Thanks.

Found two issue after using it some days:

When you're in airplane mode and connected to wifi the message cannot be sent. A Message pops up that you have to turn on the phone.

And a "Message sent" popup would be nice (no need for delivery - would be nice also).
For the flight mode problem, I can't do anything since the decision is made somewhere above the sms.dll.

Message sent popup should already be working. You need to enable sms sent notification.

I offer my condolences.. sad to hear that.


Erasmus öğrencisi olarak Boğaziçi Üniversiteside okuyorum. Türkçe öğreniyorum, ama bence Alman insan için zor bir dil, çünkü Almanca veya Inglizceden çok başka.
I hope I didn't make to many mistakes here..


I finally got around trying your app; paypal had blocked my account at the second I accessed it from Turkey and I was too lazy to unblock it for some time. The sending seems to work fine - the only thing that bothers me, is the fact that the popups asking whether I want to send the sms via ip or not, are "behind" windows' message app; that is the message up is still in focus and I have to use a task manager to see the sms on ip thingy.

I do agree on the requests Matzemink made; both things sound useful to me.

Thanks for this awesome app, I like it a lot.

By the way: I'm also using the sms_orig.dll that came with the cab. Seems to work fine - and to be honest, searching the forums I couldn't find a way to extract the original sms.dll.:eek:
Thanks. Your Turkish is quite good. Bogazici is one of the best universities with a very beautiful view of the bosphorus. I miss Istanbul :)
If the app is working fine, don't bother extracting your sms.dll.
I had the same paypal problem when I was in Turkey for the funeral, my account is still restricted :(
 

Attachments

Last edited:

oruam57

Senior Member
Aug 27, 2005
306
4
0
Hi drizztje,

Welcome back.

The new URL format works :)

The multiline bug was only partially solved :(. If I send

Line 1
Line 2
Line 3
Line 4

I receive

Line 1
Line 2Line 3Line 4

It seems sms.dll only replaces the first occurance of <CR><LF>

Here it is the updated configurator.
 
Last edited:

drizztje

Senior Member
Jun 20, 2006
331
55
0
Ankara
Hi drizztje,

Welcome back.

The new URL format works :)

The multiline bug was only partially solved :(. If I send

Line 1
Line 2
Line 3
Line 4

I receive

Line 1
Line 2Line 3Line 4

It seems sms.dll only replaces the first occurance of <CR><LF>

Here it is the updated configurator.
here is the corrected version. did you already add the new option and a checkbox to set/reset bit 4?
 

Attachments

oruam57

Senior Member
Aug 27, 2005
306
4
0
did you already add the new option and a checkbox to set/reset bit 4?
Yes, both values 0x05/0x15 (in Main page) and bit 4 (in Setup page) are covered. I also added popup menu items to help introducing the % placeholders in the URL.

Last sms.dll works as expected.

Here it is the .cab
 
Last edited:

dsip

Senior Member
Jul 1, 2009
205
51
0
Thanks, updated everything, seems to work fine. :) Once again thanks alot!

I made an error at first while configuring it though; had a typo in the URL. I think some kind of error message that gives you a hint on what's wrong (URL not found? Wrong Username/Password?) would greatly increase usability. Obviously some of that would depend on the voip company though..
 

oruam57

Senior Member
Aug 27, 2005
306
4
0
I think some kind of error message that gives you a hint on what's wrong (URL not found? Wrong Username/Password?) would greatly increase usability. Obviously some of that would depend on the voip company though..
I think I could add something in the configurator. Stay tuned...
 

oruam57

Senior Member
Aug 27, 2005
306
4
0
Configurator V1.7.1 with configuration test.

Usage

1 - Enter the complete configuration (URL, username, etc.)
2 - Tap and hold the Server URL textbox to get the popup menu
3 - Select the "Server URL Test" item

The configurator will then use the configuration parameters that you entered to prepare the URL to send an SMS with text "SMS on IP test" to yourself (that is to the "From Number") and pass it to Internet Explorer.
If the URL is correct the SMS will be sent and then immediately received, otherwise the Internet Explorer will present the error message as returned from the Voip operator server.

I used Internet Explorer and not the default browser (Opera in my case) because with Opera the returned error messages were more criptic and/or worsely formatted (I do not know why and if this is a quirk of Voipbuster server). At any rate, If you want use a different browser enter its path in the registry string HKEY_CURRENT_USER\Software\Drizzt\SMSoIP\browserpath (for example for Opera 9.5 it would be "\Windows\OperaL.exe").
 

Attachments

bogdatov

Senior Member
Feb 22, 2006
617
11
38
Combine with Google Voice ?

I'm planning to use it for International SMS on HTC HD2 (USA T-Mobile) with voipraider. As I understood, it suppose to work.

Question ... if I specify as "from" phone number NOT my CELL phone#, but Google Voice phone# ... so when receiver gets SMS and replies back ... will it go to Google Voice# ?
(assuming I added GV# to my list of phone numbers in VoipReaider account - if it matters at all)
 

dsip

Senior Member
Jul 1, 2009
205
51
0
I'm planning to use it for International SMS on HTC HD2 (USA T-Mobile) with voipraider. As I understood, it suppose to work.

Question ... if I specify as "from" phone number NOT my CELL phone#, but Google Voice phone# ... so when receiver gets SMS and replies back ... will it go to Google Voice# ?
(assuming I added GV# to my list of phone numbers in VoipReaider account - if it matters at all)
Yes, that should work. Why would it not; the sms goes through a http gateway; voipraider should not even know whether it comes from a phone or a pc or whatever.


@oruam57: Thanks, will test this now and give a comment later.
I get a message that the sms can't be sent over IP every now and then, but at other times it works flawless without me changing any configuration. Using a browser or checking mails does not make a difference though, so I don't have much of an idea, what the problem might be. Maybe it's just the voip provider (I'm using PowerVoip)?

edit:
The test url works, but sending an sms from within winmo's message program gives me an error and asks me to fall back to gsm. Weird.

I've also had the error message yesterday - actually the message program quit, when I said "no" then. When I restarted it, I immediatly got the pop-up askind for ip or gsm - kept on going until I manually deleted the sms from the outbox. But I just looked at my log and the message was in fact sent three times.
 
Last edited:

bogdatov

Senior Member
Feb 22, 2006
617
11
38
Yes, that should work. Why would it not; the sms goes through a http gateway; voipraider should not even know whether it comes from a phone or a pc or whatever.
The reason I asked is that if I go to voipraider.com and try to send SMS using their web form
it only gives me 2 options on what to use as "caller id": either mobile# (which is not good, because I want to use Google Voice#) or voipraider username (which is useless for receiver if he wants to reply).
May be it is web form limitation and will work for plain URL mode.

Another question I have ... according to instructions on how to send SMS using URL:
https://www.voipraider.com/myaccount/sendsms.php?username=xxxxxxxxxx ​&password=xxxxxxxxxx&from=xxxxxxxxxx&to=xxxxxxxxxx&text=xxxxxxxxxx

Explanation of the variables:
* username: your VoipRaider username
* password: your VoipRaider password
* from: your username or your verified phone number. Always use international format for the number starting with 00, for instance 00491701234567
* to: the number you wish to send the sms to. Always use international format starting with 00, for instance 00491701234567
* text: the message you want to send

As you can see, 00 is added to phone number. But all my contacts are in international format, e.g. +7 (xxx) yyy-zzzz
How do I configure you hack how have those 00 ? Or it will happen automatically ?
 

dsip

Senior Member
Jul 1, 2009
205
51
0
The reason I asked is that if I go to voipraider.com and try to send SMS using their web form
it only gives me 2 options on what to use as "caller id": either mobile# (which is not good, because I want to use Google Voice#) or voipraider username (which is useless for receiver if he wants to reply).
May be it is web form limitation and will work for plain URL mode.
I doubt that that's going to work, but - well, just try by entering the url in your browser. No need to use this app for testing that.

I didn't know you can't register a google voice number with them as a mobile number. If you indeed can't, I think you're out of luck. They should have protected the numbers you can use, because giving you the ability to fake a sender number would most likely be highly illegal in some countries.


As you can see, 00 is added to phone number. But all my contacts are in international format, e.g. +7 (xxx) yyy-zzzz
How do I configure you hack how have those 00 ? Or it will happen automatically ?
http://forum.xda-developers.com/showpost.php?p=6288861&postcount=29

Come on, try to search at least..
 

bogdatov

Senior Member
Feb 22, 2006
617
11
38
Here is what it says in 1st post about prefix:
HKEY_CURRENT_USER\Software\Drizzt\SMSoIP\prefix:
Type is REG_SZ, value is your country code (e.g. 90 for Turkey, 32 for Belgium, 49 for Germany, ...)
My country (I assume that this is country I'm calling FROM ... is USA, so prefix will be 1 )

About the country prefix thing, I found that my dll receives the number without the + or 00. So, what I do now is the following:

if (number starts with prefix)
no change
else if (number starts with 0)
remove the 0 and prefix with country code
else
prefix with country code
So I'm in USA and my number is +1 (AAA) BBB-CCCC and I'm calling Russia +7 (XXX) YYY-ZZZZ. According to this algoritm
Number (+7 ...) DOES NOT start with prefix (1)
Number (+7 ...) DOES NOT start with 0

So we and up with "prefix with country code", but you say that "prefix is your country code (e.g. 90 for Turkey, 32 for Belgium, 49 for Germany, ...)"
and what it gives me ? "11" ? :confused:

Anyway, I'm not sure how with this algorithm I will end up with proper destination number of 007XXXYYYZZZZZ :confused:

Another thing ... for option 5 (for international SMS only) how you determine if destination# is "foreign" ?
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone