View Single Post
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#58
Alrite this one is for fcrochik and thanks to fcrochik:

This build introduces a dbus server made so that fcrochik's MyContacts can call out using Google voice.

fcrochik: I saw your code example and fixed the problem: I had missed a call to registerServer().
Once that was in, the following code worked to call a number:
Code:
dbus-send --session --type=method_call --dest=org.QGVDial.CallServer /org/QGVDial/CallServer org.QGVDial.CallServer.Call string:aaa-bbb-cccc
The number string does not have a specific format - I pass it to Google voice undisturbed. So if you don't have a international prefix, then GV assumes that it's in the US.
If you do have an international prefix, then GV will make an international call. If that international prefix is "+1" then a standard US call is done.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.

Last edited by uvatbc; 2010-08-08 at 02:32. Reason: Goggle