smsjoker-script

KDE 1.-4. Improvements

Source (required if based on other people's work):

0
Score 75%
Description:

Script to send SMS over the SMS-Script-Gateway of http://www.smsjoker.de/

I use it to send SMS out of kaddressbook in KDE 3.5.x with:
smsjoker-script "%N" "%F"

An other interesting usage is to send an text (like "Merry Christmas and a happy new Year") to every number in an textfile.

Usage: /Path/to/the/script/smsjoker [options] [destination] [text]

If you enter [destination] you must also enter [text]
[destination] can be an number or the path to an textfile with numbers on each line
[text] can be the SMS-Text or the path to an textfile with the SMS-text in it

If you don't give Destination and Text you come to the interactive-mode

Possible Options:
-t [eigen|anonym] eigen shows your own Cellphone-Number as sender not an standard-one
-d Go to Debug-Mode
-p Enforce Popups


------------------
GUI (with X-Mas support :)):
http://www.kde-apps.org/content/show.php?content=32682
Last changelog:

11 years ago

2.4 Important Update: The IP of the smsjokers http-interface will change. You should update to 2.4 now.

2.3 UTF-8 support. You have to look in ~/.smsjoker-script and set UTF=1 (you need iconv installed)

2.2.2 small Bugfix (works better with smsjoker-kommander)
http://www.kde-apps.org/content/show.php?content=32682

2.2.1 Bugfix: The script had some problems with spaces in the config-file.

2.2 The script had problems sending Textes with some special chars like &, = and so on. This should be fixed now. Please Tell me if there are still some chars which don't work.

2.1.1 some minor Bugfixes

2.1 some Bugfixes in Logfile- and Popup-management

2.0 New Features:
* now works with an configuration-file. (makes it much simpler to upgrade)
* Possibility to log your SMS
* Now you can define some Numbers to which you send your SMS anonymous even if you choose "eigen" as Standard. Could save Money by using "anonym" as much as possible but "eigen" as Standard.
* aditional command-line Options
* DEBUG-mode (so you can test what would happen)

1.0 skipped, because there whwere no changes to 0.9

0.9 Implementet batch-sending one SMS to more then one Destination. Now the Skript does everything I want. So I'll wait for Bugs or Ideas. :)

0.3.2 reenable Popup for the "First usage"

0.3.1 litle bugfix

0.3 I changed a lot. Now the script has more possibilities like:
* Interactive-Mode for Usage from Console
* send an SMS with only one line to Type
Now I will wait for bugs.

0.2 Popup shows more Informations. Not only Error-Codes

0.1 First try
Perhaps someone could help me to improve the script. Please give me a hint how to make the Popup show an Text and not only the Error-Code

RalphMW

9 years ago

Use kdialog --passivepopup <text> <time> instead of dcop knotify Notify notify event

that should work on kde3 and kde4

Report

neversfelde

12 years ago

just wanted to try your new version, but i always got an error like this: Type: eigen
falsche Art der Absenderkennung
/usr/bin/smsjoker-script: line 96: : Datei oder Verzeichnis nicht gefunden


what`s wrong?

Report

C

tikalix

12 years ago

Hello,

Please give me some more Information:
1. Which Version do you use?
2. Whow do you use the script? (From the shell or kaddressbook... and whith which options)
3. Please send me the output of "smsjoker-script -d 0123456789 TEST" (Update to version 2.2 first)


And you can try this out:
1. Update to Version 2.2
2. Check your configuration-file ".smsjoker-skript" in your home-directory. It shold be
"STANDARD_TYPE=eigen" not
"STANDARD_TYPE= eigen" (There must'nt be a space in front of "eigen")

Report

neversfelde

12 years ago

sorry, I' musing the newest version 2.2. Before using 0.9 everything worked fine.

smsjoker-script
-d 0123456789 TEST gives: "Destination: 0123456789
Type: eigen
Text:
TEST

I would use this command:
wget "http://212.227.13.1/cgi-perl/prepaid/private/smsversand.cgi?von=01799478419 &passwort=chmod1405 &absender=eigen &konto=1&ziel=0123456789&text=TEST"
I'll simulate Errorcode 200 17
SMS to 0123456789
Type: eigen
OK, SMS weitergeleitet
Restguthaben: 17 EURO
"


STANDARD_TYPE=eigen is ok and I tried both shall and kadressbook?

Report

neversfelde

12 years ago

by the way i should change my password. :-)

Report

C

tikalix

12 years ago

Jup,
Better you change it. :)

Report

C

tikalix

12 years ago

Ok,
I see the Problem. There is a Space in .smsjoker-script after STANDARD_TYPE=eigen .
Just delet this Space and it should work. (I Hope)


.smsjoker-script was created with this space... my Fault. In 2.2.1 this will be fixed. Thank you for your hint.

Report

C

tikalix

12 years ago

And after your PASSWORD= and OWN_NUMBER= is a space too....
2.2.1 hopefully fixes the crashes if spaces are involved. But just in case... delete them :)

Report

neversfelde

12 years ago

everything is ok with 2.2.1. But I had to create a new configuration file in the home directory.


thank you very much

Report

neversfelde

12 years ago

by the way the popup after sending an sms out of kadressbook is away?

Report

C

tikalix

12 years ago

The Popup works for me. Perhaps your knotify is buggy or not running.

To see if its running you can use: 'ps acx | grep knotify'

To test knotify use:
'dcop knotify Notify notify event "Popup-Test" "Dies ist ein Popup-Test" "" "" 16 0'

Report

neversfelde

12 years ago

I´ve tested the smsjoker-script on a fresh kubuntu breezy system and I think it's the script that kills knotify. I found no solution to restore it. Perhaps KDE 3.5.1 will be a solution.

Do you have any other experience with this problem?

Report

patricktrettenbrein

12 years ago

could you also make it work with other sms-providers? I'm from austria, so I can't really user the script. :(

Looks like a nice peace of software to me anyway. ;)

Report

C

tikalix

12 years ago

I can try it.

Do you know any cheap austrian SMS-Provider which have an Skript-Gateway?

Hope to hear from you

Report

neversfelde

12 years ago

I'd like to use it. But can you please give me a description how to use the script. Where do I have to put it.

Thanks

Report

C

tikalix

12 years ago

You have to put it in your PATH and make it executable. Then you can run it like a programm.

Try: smsjoker-skript --help

Report

neversfelde

12 years ago

Thanks a lot. It's working for me and I really love it.

Would be cool to get smsjoker working out of kopete. I'll try it.

Report

C

tikalix

12 years ago

Why do you want to use it with Kopete?
It works great with Kaddressbook in KDE 3.5.

If you get it working with Kopete please post your way here for the others.
Thanks

Report

C

tikalix

12 years ago

Some people asked.

The config-dialog and the SMS-option in the screenshot are available in kaddressbook 3.5.x

Report

11 years ago

2.4 Important Update: The IP of the smsjokers http-interface will change. You should update to 2.4 now.

2.3 UTF-8 support. You have to look in ~/.smsjoker-script and set UTF=1 (you need iconv installed)

2.2.2 small Bugfix (works better with smsjoker-kommander)
http://www.kde-apps.org/content/show.php?content=32682

2.2.1 Bugfix: The script had some problems with spaces in the config-file.

2.2 The script had problems sending Textes with some special chars like &, = and so on. This should be fixed now. Please Tell me if there are still some chars which don't work.

2.1.1 some minor Bugfixes

2.1 some Bugfixes in Logfile- and Popup-management

2.0 New Features:
* now works with an configuration-file. (makes it much simpler to upgrade)
* Possibility to log your SMS
* Now you can define some Numbers to which you send your SMS anonymous even if you choose "eigen" as Standard. Could save Money by using "anonym" as much as possible but "eigen" as Standard.
* aditional command-line Options
* DEBUG-mode (so you can test what would happen)

1.0 skipped, because there whwere no changes to 0.9

0.9 Implementet batch-sending one SMS to more then one Destination. Now the Skript does everything I want. So I'll wait for Bugs or Ideas. :)

0.3.2 reenable Popup for the "First usage"

0.3.1 litle bugfix

0.3 I changed a lot. Now the script has more possibilities like:
* Interactive-Mode for Usage from Console
* send an SMS with only one line to Type
Now I will wait for bugs.

0.2 Popup shows more Informations. Not only Error-Codes

0.1 First try
Perhaps someone could help me to improve the script. Please give me a hint how to make the Popup show an Text and not only the Error-Code

product-maker 22 80

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
2.4
updated Dec 01 2006
added Nov 23 2005
downloads today
0
page views today 0