
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Call a contact or send an SMS right out of your (k)addressbook via a normal phone!
Tired of typing in your phone numbers again and again or to maintain them in multiple applications?
Callintegrator uses the phone numbers in your address book to initiate a call via services like peterzahlt.de, voipbuster.com or freecall.com. Just click on the phone number and your phone rings.
Quickstart:
1. start the Qt4 GUI "callintegrator" and enter the information asked for
2. open kaddressbook and goto Settings -> Configure Address Book -> General -> Script Hooks
-> Phone.
Enter initcall "options" -t "%N"
-> SMS
Enter sendSMS -t "%N" -f %F -b
3. Click on a phone number in your address book and the number will be dialed.
Call sendSMS to use it with a stand alone GUI.
Step 1 and 2 have only to be done once and only take seconds. Currently freecall.com, voipbuster.com and peterzahlt.de is supported. Let me know if you would like to see other services as well and I'll see what I can do.
http://sourceforge.net/projects/callintegrator
13 years ago
Version 2.4.1:
- support for voipdiscount.com
Version 2.4:
- stand alone GUI of sendSMS now can read your kaddressbook phone numbers. No need to type in a number anymore
Version 2.3:
- support to send SMS either as stand alone tool or integrated into your address book
Version 2.2:
- support of voipbuster.com
Version 2.1.1
- freecall service has changed the interface. Adapted this change to get callintegrator working again
Version 2.1
- peterzahlt works again after they had changed some parameters
- reverse option for peterzahlt, useful if your are not in Germany since peterzahlt source has to be in Germany
- config window doesn't close anymore after save (more userfriendly in case you want to switch back and forth between calls)
Please provide more feedback!
13 years ago
Version 2.4.1:
- support for voipdiscount.com
Version 2.4:
- stand alone GUI of sendSMS now can read your kaddressbook phone numbers. No need to type in a number anymore
Version 2.3:
- support to send SMS either as stand alone tool or integrated into your address book
Version 2.2:
- support of voipbuster.com
Version 2.1.1
- freecall service has changed the interface. Adapted this change to get callintegrator working again
Version 2.1
- peterzahlt works again after they had changed some parameters
- reverse option for peterzahlt, useful if your are not in Germany since peterzahlt source has to be in Germany
- config window doesn't close anymore after save (more userfriendly in case you want to switch back and forth between calls)
Please provide more feedback!
callintegrator
14 years ago
Report
gecko
14 years ago
I get the following Error messages if I run "make":
$ make
/usr/bin/uic-qt4 callintegrator/callintegrator.ui -o ui_callintegrator.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Icallintegrator -I. -I. -o callintegrator.o callintegrator/callintegrator.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Icallintegrator -I. -I. -o main.o callintegrator/main.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Icallintegrator -I. -I. -o initcall.o initcall/initcall.cpp
initcall/initcall.cpp: In function ‘bool read_config_file(std::string&, std::string&, std::string&, int&, std::string&, int&)’:
initcall/initcall.cpp:230: warning: comparison is always true due to limited range of data type
/usr/bin/moc-qt4 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Icallintegrator -I. -I. callintegrator/callintegrator.h -o moc_callintegrator.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -Icallintegrator -I. -I. -o moc_callintegrator.o moc_callintegrator.cpp
g++ -o source callintegrator.o main.o initcall.o moc_callintegrator.o -L/usr/lib -lQtGui -lQtCore -lpthread
initcall.o: In function `main':
initcall.cpp:(.text+0x3700): multiple definition of `main'
main.o:main.cpp:(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 165 in main.o to 11303 in initcall.o
collect2: ld returned 1 exit status
make: *** [source] Fehler 1
what is the problem?
Report
callintegrator
14 years ago
I 've changed the setting that way that I compile two main programs with one make call. Usually one make is only good for one main routine.
Anyway, please provide the above info to figure out what went wrong.
Btw, freecall has changed some paramters in order to get it working again I'll release a new version today or tomorrow. But that has nothing to do with your compilation. Just to let you know in advance
Report
gecko
13 years ago
Now I've tried Version 2.2 and ran 'make' in every directory. But I get again floods of errors. Could you maybe give some step by step instructions how to install this app, because all the qmake an QT4 things are new to me and I think also to others.
Report
callintegrator
13 years ago
it should be sufficient to run make (not qmake) in the top directory. If that doesn't work, please do the following and post the output:
1. directory "initcall"
Run make here, if it doesn't work run g++ -Wall initcall.cpp
2. directory "callintegrator"
Run make here.
What platform do you use? Which distro? Can you compile other Qt4 (not Qt3!) applications? Somehow I have the feeling that you call some Qt3 objects.
Please post the above outputs and I'll see what it might be.
Report
gecko
13 years ago
callintegrator-2.2/callintegrator$ make
cd callintegrator && make -f Makefile
make[1]: Entering directory `/home/natanael/Documents/tmp/callintegrator/callintegrator-2.2/callintegrator/callintegrator'
/usr/bin/uic callintegrator.ui -o ui_callintegrator.h
uic: File generated with too recent version of Qt Designer (4.0 vs. 3.3.7)
make[1]: *** [ui_callintegrator.h] Fehler 1
make[1]: Leaving directory `/home/natanael/Documents/tmp/callintegrator/callintegrator-2.2/callintegrator/callintegrator'
make: *** [sub-callintegrator-make_default] Fehler 2
callintegrator-2.2/callintegrator$ cd initcall/
callintegrator-2.2/callintegrator/initcall$ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -I. -I. -o initcall.o initcall.cpp
initcall.cpp: In function ‘bool read_config_file(std::string&, std::string&, std::string&, int&, std::string&, int&)’:
initcall.cpp:230: warning: comparison is always true due to limited range of data type
g++ -o initcall initcall.o -L/usr/lib -lQtGui -L/usr/lib -L/usr/X11R6/lib -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -ldl -lpthread
callintegrator-2.2/callintegrator/initcall$ ls
initcall initcall.cpp initcall.o initcall.pro Makefile
callintegrator-2.2/callintegrator/initcall$ ./initcall
You need to specify both phone numbers, the one you are calling from and the one you want to call.
callintegrator-2.2/callintegrator/initcall$ cd ..
callintegrator-2.2/callintegrator$ make
cd callintegrator && make -f Makefile
make[1]: Entering directory `/home/natanael/Documents/tmp/callintegrator/callintegrator-2.2/callintegrator/callintegrator'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -I. -I. -o callintegrator.o callintegrator.cpp
callintegrator.cpp:3:17: error: QFile: Datei oder Verzeichnis nicht gefunden
callintegrator.cpp:4:23: error: QTextStream: Datei oder Verzeichnis nicht gefunden
callintegrator.cpp:5:18: error: QDebug: Datei oder Verzeichnis nicht gefunden
callintegrator.h:7: error: expected class-name before ‘,’ token
callintegrator.h:7: error: ‘Ui’ has not been declared
callintegrator.h:7: error: expected `{' before ‘CallIntegrator’
callintegrator.h:7: error: invalid function declaration
callintegrator.cpp:10: error: ‘QString’ does not name a type
callintegrator.cpp:20: error: ‘QChar’ does not name a type
callintegrator.cpp:24: error: ‘QString’ does not name a type
callintegrator.cpp:28: error: invalid use of undefined type ‘class CallIntegrator’
callintegrator.h:7: error: forward declaration of ‘class CallIntegrator’
callintegrator.cpp:28: error: ‘QString’ was not declared in this scope
callintegrator.cpp:63: error: invalid use of undefined type ‘class CallIntegrator’
callintegrator.h:7: error: forward declaration of ‘class CallIntegrator’
callintegrator.cpp: In member function ‘void CallIntegrator::read_config_file()’:
callintegrator.cpp:64: error: ‘QFile’ was not declared in this scope
callintegrator.cpp:64: error: expected `;' before ‘data’
callintegrator.cpp:65: error: ‘data’ was not declared in this scope
callintegrator.cpp:65: error: ‘QIODevice’ has not been declared
callintegrator.cpp:65: error: ‘QIODevice’ has not been declared
callintegrator.cpp:67: error: ‘QTextStream’ was not declared in this scope
callintegrator.cpp:67: error: expected `;' before ‘in’
callintegrator.cpp:68: error: ‘in’ was not declared in this scope
callintegrator.cpp:69: error: ‘QString’ was not declared in this scope
callintegrator.cpp:69: error: expected `;' before ‘line’
callintegrator.cpp:70: error: incomplete type ‘CallIntegrator’ used in nested name specifier
callintegrator.cpp:70: error: ‘line’ was not declared in this scope
callintegrator.cpp:72: error: ‘data’ was not declared in this scope
callintegrator.cpp: At global scope:
callintegrator.cpp:75: error: expected constructor, destructor, or type conversion before ‘(’ token
callintegrator.cpp:97: error: invalid use of undefined type ‘class CallIntegrator’
callintegrator.h:7: error: forward declaration of ‘class CallIntegrator’
callintegrator.cpp:100: error: invalid use of undefined type ‘class CallIntegrator’
callintegrator.h:7: error: forward declaration of ‘class CallIntegrator’
callintegrator.cpp: In member function ‘void CallIntegrator::slotSave()’:
callintegrator.cpp:101: error: ‘QFile’ was not declared in this scope
callintegrator.cpp:101: error: expected `;' before ‘data’
callintegrator.cpp:102: error: ‘data’ was not declared in this scope
callintegrator.cpp:102: error: ‘QFile’ is not a class or namespace
callintegrator.cpp:102: error: ‘QFile’ is not a class or namespace
callintegrator.cpp:103: error: ‘QTextStream’ was not declared in this scope
callintegrator.cpp:103: error: expected `;' before ‘out’
callintegrator.cpp:104: error: ‘out’ was not declared in this scope
callintegrator.cpp:104: error: ‘values’ was not declared in this scope
callintegrator.cpp:104: error: ‘comboBoxCallProvider’ was not declared in this scope
callintegrator.cpp:104: error: ‘endl’ was not declared in this scope
callintegrator.cpp:105: error: ‘lineEditUsername’ was not declared in this scope
callintegrator.cpp:106: error: ‘lineEditPassword’ was not declared in this scope
callintegrator.cpp:107: error: ‘checkBoxReverse’ was not declared in this scope
callintegrator.cpp:110: error: ‘lineEditSourceNumber’ was not declared in this scope
callintegrator.cpp:111: error: ‘spinBoxTimeout’ was not declared in this scope
callintegrator.cpp:113: error: ‘data’ was not declared in this scope
callintegrator.cpp:113: error: ‘QFile’ is not a class or namespace
callintegrator.cpp:113: error: ‘QFile’ is not a class or namespace
callintegrator.cpp:115: error: ‘qDebug’ was not declared in this scope
callintegrator.cpp:115: error: ‘param_filename’ was not declared in this scope
make[1]: *** [callintegrator.o] Fehler 1
make[1]: Leaving directory `/home/natanael/Documents/tmp/callintegrator/callintegrator-2.2/callintegrator/callintegrator'
make: *** [sub-callintegrator-make_default] Fehler 2
(If you're not from Germany "Fehler" in the last lines is the German word for "error".)
I have compiled already QT4 apps and they are working. But if I run qmake with QT4 I have to run "qmake-qt4" "qmake" is linked to "qmake-qt3". I use debian GNU/Linux.
Report
callintegrator
13 years ago
German is fine for me. Don't know Debian, I am using Suse.
1. initcall
Works fine for you. Copy it to a directory in your search path.
Work around until the issue with Qt is solved.
Create manually using a text editor a file ~/.callintegrator. With the following content
c = either of, without quotes, "peterzahlt", "freecall", "freecall-auth", "voipbuster" or was it "voipbuter-auth" need to check the source code as soon as I have access again. sorry. this determines which provider you want to use.
u = <your username> if you use freecall-auth or voipbuster
p = <your password> if you use freecall-auth or voipbuster
r = 0
s = <your home phone number e.g. 004989123456>
w = 8
Now you can add the hook in kaddressbook as described in the documentation html file.
this is only a work around, the Qt GUI does nothing else than creating this config file.
2. callintegrator
You can see in the output
that Qt desinger has the wrong version, version 3.x versus 4.0. Please ensure that Qt designer 4.0 or higher is installed. run make again in the callintegrator folder and post your results.
If you run a 32bit system you can try to use the compiled files provided in the package.
Report
gecko
13 years ago
Report
callintegrator
13 years ago
Your problem might be due to Qt 4.3 I have Qt 4.2, or something else was messed up.
Let me know if you have any further problems.
Report
gecko
13 years ago
Here is my output:
callintegrator-2.2/callintegrator$ ls
callintegrator callintegrator.pro initcall Makefile
callintegrator-2.2/callintegrator$ qmake
qmake qmake-qt3 qmake-qt4
callintegrator-2.2/callintegrator$ qmake-qt4 -v
QMake version 2.01a
Using Qt version 4.3.0 in /usr/lib
callintegrator-2.2/callintegrator$ qmake -v
Qmake version: 1.07a (Qt 3.3.7)
Qmake is free software from Trolltech AS.
callintegrator-2.2/callintegrator$ cd callintegrator
callintegrator-2.2/callintegrator/callintegrator$ ls
callintegrator.cpp callintegrator.h callintegrator.pro callintegrator.ui main.cpp Makefile ui_callintegrator.h
callintegrator-2.2/callintegrator/callintegrator$ rm callintegrator.pro
callintegrator-2.2/callintegrator/callintegrator$ rm Makefile
callintegrator-2.2/callintegrator/callintegrator$ rm ui_callintegrator.h
callintegrator-2.2/callintegrator/callintegrator$ ls
callintegrator.cpp callintegrator.h callintegrator.ui main.cpp
callintegrator-2.2/callintegrator/callintegrator$ qmake-qt4 -project
callintegrator-2.2/callintegrator/callintegrator$ qmake-qt4
callintegrator-2.2/callintegrator/callintegrator$ make
/usr/bin/uic-qt4 callintegrator.ui -o ui_callintegrator.h
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o callintegrator.o callintegrator.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o main.o main.cpp
/usr/bin/moc-qt4 -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. callintegrator.h -o moc_callintegrator.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o moc_callintegrator.o moc_callintegrator.cpp
g++ -o callintegrator callintegrator.o main.o moc_callintegrator.o -L/usr/lib -lQtGui -lQtCore -lpthread
It seams to work now.
Report
callintegrator
13 years ago
Anyway please do the following
run qmake -v and post the output now go into the deepest directory called "callintegrator" and remove all files, the only ones you have to keep are
callintegrator.cpp
callintegrator.h
callintegrator.ui
main.cpp
now run the following commands inside that directory:
qmake -project
qmake
make
and post the output.
Thanks.
If you want to use voipbuster the code in the config file is voipbuster-auth.
Report
gecko
13 years ago
QT4-Designer is installed.
But I'm contented with initcall.
I user 64bit system.
Report