yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Themes and Apps] drizztje:
Thanks, I'll update the first post with the new cab.

Personally I don't see the point in making it configurable, if you want to send the sms over ip, then you should be connected to the internet, if it is not already the case, you want it to connect automatically. If wifi connection is present, it will not create a data connection anyway.
[XPERIA X1 Themes and Apps] oruam57:
Well, I never send SMSs on IP with GPRS/EDGE because with my data plan it would be more expensive than normal SMSs on GSM. Moreover, I normally activate wifi manually.

Therefore, I use SMSoIP with option 1. This way when wifi is on SMSs go to IP, otherwise they go to GSM. No other configuration or dialog is required.

With V1.5 I should use option 4. Otherwise, with wifi off, the data connection would be activated. Unfortunately, option 4 requires me to aswer the dialog after every SMS I send.

At any rate, if you do not change V1.5 I will keep using V1.4 Otherwise, let me know the details and I will update the configurator accordingly.
[XPERIA X1 Themes and Apps] drizztje:
Here it is, uses bit 4 to enable auto connection just as you described. I also fixed a bug when sending to another country. Please use this version for v1.5.
[XPERIA X1 Themes and Apps] dethroneas:
Hi guys, thank you for your fast repsonses! :)

@drizztje

I installed version 1.5 and this time sending an sms does automatically establish a data connection when wifi is off.

Unfortunately after establishing the data connection I still get the message that the sms could not be send over IP.

I tested it again with HTC messaging and tmail, all options (except 3), and also by first opening a website in IE. Also checked the registry settings.

I have no idea how you got it to work on your HD2 drizztje. I understand you are running a custom rom. May I ask which one? I could try it with the same rom.

@oruam57

See the attached images for the erorr message when starting the configurator.

The first image says:

An unexpected error has occurred in SMSoIPConfig.exe.

Click close and restart the program. Click on Details for more information.

And the second image says:

I have no idea, it's gibberish for me :D lol.

But thanks again guys, really appreciate the effort.
[XPERIA X1 Themes and Apps] drizztje:
Were you trying to send an sms to a foreign country? Because i just fixed a bug about that, get the sms.dll from post 41. if not, can you tell me the number format you use?

EDIT: Do you maybe have special characters in your password? if so, can you try to send an sms by browsing to the url in the following format and see if that works?

https://www.voipbuster.com/myaccount/sendsms.php?username=<username>&password=<password>&from=<your-verified-phone-number>&to=<destination>&text=<message-text>
[XPERIA X1 Themes and Apps] oruam57:
@drizztje

Here it is last sms.dll (V1.6 ?, I got a little confused) packaged with the updated configurator. The new sms.dll works as expected on my phone.

@dethroneas

Your phone has CF 3.5, hasn't it? With it the operation my configurator tries should be supported :confused:

At any rate, try install the last configurator and modify (or add) to value 0 the dword named "ext" under "HKEY_CURRENT_USER\Software\Drizzt\SMSoIP"
[XPERIA X1 Themes and Apps] oruam57:
Hi drizztje,

Just found a little problem with multiline SMS.

When I send an SMS like this

Line 1

Line 2

with GSM I get as expected

Line 1

Line 2

but using SMS on IP I get

Line 1Line 2

I suspect it dependes on how the url format works: for special characters it requires the %xx format. I tested with VoipBuster and it works, that is if I send the previous SMS this way

https://www.voipbuster.com/myaccount/sendsms.php?username=...&password=...&from=...&to=...&text=Line 1%0D%0ALine 2

I get as expected

Line 1

Line 2

If this is, as I suppose, a general behaviour for SMSs sent using the url format it would be nice if sms.dll, during the url creation, parsed the SMS text and replaced Carriage Returns (0x0D) and New Lines (0x0A) with %0D (0x25 0x30 0x44) and %0A (0x25 0x30 0x41)
[XPERIA X1 Themes and Apps] drizztje:
I'll look into it when I have some time.
[XPERIA X1 Themes and Apps] dethroneas:
Hey guys, everything is working for me now! :D Thank you!

I'm using version 1.6, sending sms over ip works fine and the configurator also works.

@drizztje

When you asked me to send an sms via url, I typed in IE: *ttps://ww*.voipraider.com/myaccount/sendmessage.php. This lead me to a page that doesn't exist! :eek:

So all this time my registry settings for url where faulty, for Voipraider the url should be *ttps://ww*.voipraider.com/myaccount/sendsms.php.

I'm sorry for completely missing that. So stupid... :rolleyes:

Maybe you could change your example in the first post :)

Finally I can enjoy your great work :D

Oh btw, is the character "-" a special one? Then yes, I am using a special character in the password.

@oruam57

By setting the "ext" registry key to zero I am able to start the configurator without errors. I have no idea what the key is for but that did the trick! :)

Nice work on the setup application, it's so much easier to edit the settings now. Also storing and loading is a nice touch for switching accounts or for people who are flashing roms a lot.

Also, the prefilled setup fields makes this a hack a bit more dummy-proof lol ;)

Cheers guys
[XPERIA X1 Themes and Apps] oruam57:
Good.

Setting ext to 0 disables an extender for the URL text box. The extender would make it easier to edit the URL long text string but for some reason its creation fails on your phone.
[XPERIA X1 Themes and Apps] bogdatov:
How about version for HD2 ?
[XPERIA X1 Themes and Apps] drizztje:
How about you read the thread? :) I'm using it on my HD2.
[XPERIA X1 Themes and Apps] kleen:
Just spotted this thread and it sounds like an awesome project! Though my provider uses a slightly different formatted string.

https://www.exetel.com.au/sendsms/a...ge=xxxxxxxx&sender=xxxxxxxxx&messagetype=Text

would it be hard to add some registry options to change

from -> to some random string like "sender"

to -> to some random string like "mobilenumber"

as well as a post-pend option to add the "&messagetype=Text" text string.

As a suggested enhancement this would make it a usable by many other SMSoIP provider services out there.
[XPERIA X1 Themes and Apps] drizztje:
I'll add new reg keys (fromtext, totext, appendtext) when I have some time. I still need to look at the multiline bug.
[XPERIA X1 Themes and Apps] oruam57:
IMO placeholders replacement would be simpler/clearer. For example, it could be that

%0 stands for username

%1 stands for password

%2 stands for from number

%3 stands for to number

%4 stands for text

The configuration URL for the case above would be

https://www.exetel.com.au/sendsms/api_sms.php?username=%0&password=%1&mobilenumber=%3&message=%4&sender=%2&messagetype=Text

The configuration URL for the more standard cases would be

https://www.voipbuster.com/myaccount/sendsms.php?username=%0&password=%1&from=%2&to=%3&text=%4

Adding and hoc registry entries would be messier and less general.
[XPERIA X1 Themes and Apps] Matzemink:
I just registered at voipbuster and it worked!! Many many thanks for that great hack :D

Just awesome! Send cheap sms (with data plan :p) and no annoying app.

Thanks again! :)

Best regards,

matzemink

P.S. Can somebody say how many free sms you got there?

Some (5?) at the beginning? ..per day? :confused:
[XPERIA X1 Themes and Apps] bogdatov:
I wish there would be a combination of free SMS for US (via Google voice) AND cheap SMS through this hack
[XPERIA X1 Themes and Apps] :
Awesome project! Works beatifully on my HD.

I have the multiline bug, but I suppose I can live with it.
[XPERIA X1 Themes and Apps] bogdatov:
How does it work for INCOMING sms messages ? They come as usual (through GSM ) ?
[XPERIA X1 Themes and Apps] drizztje:
yes, normal sms functionality is still available,
[XPERIA X1 Themes and Apps] bogdatov:
So if I send SMS via voipraider and receiver will reply to me, that reply SMS will come back to me as usual SMS ? Great
[XPERIA X1 Themes and Apps] drizztje:
If you have registered your phone number with voipraider, the receiver will see your number in the incoming sms, and when he replies, the reply will come through the gsm network as usual.
[XPERIA X1 Themes and Apps] oruam57:
Any development about the multiline bug?
[XPERIA X1 Themes and Apps] drizztje:
Sorry, I have been busy with my other voip project, didn't have time to work on this. Yesterday I lost a beloved friend, I won't be working on these for some time, but I'll come back.
[XPERIA X1 Themes and Apps] Durv84:
I have unlimited text to national territory on my contract...so this app not suitable for me unless it was unlimited text worldwide. :p
[XPERIA X1 Themes and Apps] oruam57:
I am sorry for your loss.

I'll wait for your comeback.
[XPERIA X1 Themes and Apps] Matzemink:
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).
[XPERIA X1 Themes and Apps] dsip:
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.:o
[XPERIA X1 Themes and Apps] chacs:
help

IM running a stock ROM, how will i install this? my unit is Xperia x1i...

newbie here..

TIA
[XPERIA X1 Themes and Apps] drizztje:
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://xdaforums.com/showpost.php?p=6374966&postcount=53). Have fun.

You cna still use this for international sms.

Thanks.

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.

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 :(
[XPERIA X1 Themes and Apps] oruam57:
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.
[XPERIA X1 Themes and Apps] drizztje:
here is the corrected version. did you already add the new option and a checkbox to set/reset bit 4?
[XPERIA X1 Themes and Apps] oruam57:
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
[XPERIA X1 Themes and Apps] drizztje:
Thanks. I updated the first post with this version, also added some explanation.
[XPERIA X1 Themes and Apps] dsip:
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..
[XPERIA X1 Themes and Apps] oruam57:
I think I could add something in the configurator. Stay tuned...
[XPERIA X1 Themes and Apps] oruam57:
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").
[XPERIA X1 Themes and Apps] bogdatov:
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)
[XPERIA X1 Themes and Apps] dsip:
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.
[XPERIA X1 Themes and Apps] bogdatov:
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

00

491701234567

* 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 ?
[XPERIA X1 Themes and Apps] dsip:
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.

http://xdaforums.com/showpost.php?p=6288861&postcount=29

Come on, try to search at least..
[XPERIA X1 Themes and Apps] bogdatov:
Here is what it says in 1st post about prefix:

My country (I assume that this is country I'm calling FROM ... is USA, so prefix will be 1 )

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" ?
[XPERIA X1 Themes and Apps] drizztje:
I agree this might cause confusion, there is some information missing. That is, I receive one more info from the upper layer that says whether it is a foreign number or not. My function does not receive the + or 00, in your case the function receives 1AAABBBCCC.. for US (if your numbers are stored in international format) and 7AAABBBCCC... for Russia. In your case, for Russia I'll get the info from upper layer that it is a foreign number. So, here is the algorithm:

if ((foreign_number) || (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

}

BTW: Would you mind sending me a Google Voice invitation?
[XPERIA X1 Themes and Apps] dsip:
It may be completely random, but after I disabled the "message sent" popup again, sending an sms worked; while I got the above described error message earlier..
[XPERIA X1 Themes and Apps] drizztje:
Can you try the attached version with message sent popup enabled?
[XPERIA X1 Themes and Apps] dsip:
Thanks for the quick reaction! :)

Tried to send one with popup enabled and got the bug I've mentioned earlier:

When I click on "yes" when asked whether I want to send the message via IP, the message program closes; when I restart it, the popup comes immediately and asks again, closes again when I say yes etc. Disabled Pop-up, did not change anything.

The message is in the "outbox" folder; I moved it to trash, everything works normal again.

Copied the message back to "drafts", tried to send it again - same thing. Edited the message (Old Message was: "Sounds fine.See you!" - new message had "!" replaced with "."..) - sending worked.

I re-enabled the pop-up, wrote the same message (with "!") again, this time tried to send it to me: Same thing happens. Moved the message from trash to drafts, disabled pop-up - same thing happens again.

I have no idea, what this is about, but if you want me to test something specific, instead of just guessing around (it's not the "!"! - "Test!" worked fine, haha)..?

(I installed this to save money, and now I find myself sending useless messages to myself all the time.. :cool: )

edit: Looking into my account it turns out that the first message was actually sent every time I clicked 'yes', the other one was not..
[XPERIA X1 Themes and Apps] drizztje:
I think it is because of the !. I revised my url encoding and attached version should work fine. I also noticed that some special characters can't be sent properly even using betamax software (e.g. \,@,[,],{,}, ...).

I also added one more registry value type dword name enabledebug. If set to 1, more messegaboxes will pop up to show the resulting url after encoding.
[XPERIA X1 Themes and Apps] oruam57:
Hi drizztje,

Due to the URL/URI format (see http://en.wikipedia.org/wiki/Percent-encoding) a bunch of special charactes can not be sent but must be percent-encoded using %xx (xx is the exadecimal character code) as you did for <CR> and <LF> to solve the multiline bug.
[XPERIA X1 Themes and Apps] drizztje:
Yes, I know, but for the characters I mentioned, it doesn't work properly even if you percent-encode them. It's a betamax bug.

The version attached in my previous post still gives problems with message "Sounds fine.See you!". I don't understand why. I removed reading and checking the page for string "success" after sending the http request, now it works. But this ofcourse assumes http sending always succeeds. Here is that version:
[XPERIA X1 Themes and Apps] dsip:
I still get the same bug with that message, even with the newest sms.dll..
[XPERIA X1 Themes and Apps] drizztje:
Sorry but I can't find a solution for this problem. I think it is httpsendrequest that hangs the system when the request ends with an exclamation mark. Try to send such an sms using pie or opera, you'll see that your system will become very slow.
[XPERIA X1 Themes and Apps] dsip:
Should adding some other sign avoid that problem? Any idea what distinguishes "Test!" from the other message..?
[XPERIA X1 Themes and Apps] drizztje:
I tried adding a character after the exclamation mark, but that also didn't work. So, I have no idea :confused:
[XPERIA X1 Themes and Apps] tulster:
Hi drizztje,

I was hoping something like this would come along someday. Thank you for your efforts.

I have a problem though. I use Exetel and when I use the url from your first post on my PC I can receive a text to my phone but when I send a text from the phone using the same url I get the error message "url string in the registry should contain .com/"

Could this be because Exetel is ".com.au/"?

Any help will be much appreciated.
[XPERIA X1 Themes and Apps] drizztje:
Hi tulster,

That's the problem indeed. In the meantime I changed the code to launch the final url with the default browser to send the sms over ip. this version doesn't check for .com/ anymore so it will work for you.
[XPERIA X1 Themes and Apps] ccristal:
Hi!

I've tried to install the cab. Unfortunately, it doesn't seem to overwrite the original sms.dll in the \Windows directory. Could it be because I'm using a custom ROM?

Thank you!

ccristal
[XPERIA X1 Themes and Apps] dsip:
Any news on the bug? Did you try to contact Betamax about it? Any new stuff? :)
[XPERIA X1 Themes and Apps] drizztje:
no, no news. I'm just back from holiday. it seems to work better with touch-x 2 rom of smaberg. I had to change sms option to use cdma for some reason. I personaly use the version that launches browser to send the sms.
[XPERIA X1 Themes and Apps] m_kharboutly:
Problem with copying sms.dll

I search everywhere on how to copy sms.dll or extract it from image ROM and i didn't find anything. Can you please give me some hints or post a link on how to do it?

thank you
[XPERIA X1 Themes and Apps] drizztje:
you can overwrite sms.dll using total commander or resco explorer. soft reset afterwards. you shouldn't need to extract it from rom normally, the sms_orig.dll has worked for me with many different roms.
[XPERIA X1 Themes and Apps] dsip:
I hope they were enjoyable. :)

I just tried to use the one from the zip file you attached earlier; the one which is supposed to launch the browser. I don't know why, but it added a bunch of weird signs (€€ ¿¿0 Ç) and my phone number to the message.

The browserpath in the registry is set to launch the internet explorer, but it still launches opera mobile. Any way to change that?