maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   ping on incoming calll (https://talk.maemo.org/showthread.php?t=68728)

anthonie 2011-01-21 15:41

ping on incoming calll
 
Hi all,

I am tinkering with an idea which would involve getting some form of contact with my webpage when I receive an incoming (phone) call on my n900. A simple ping, for instance, would suffice my first testing purposes, but the idea is that I can see online whether I have had calls on my phone or not.

I assume I need to look into the dbus documentation, but I have no idea what to look for. Hence the request for pointers, help, etc.

hawaii 2011-01-22 04:28

Re: ping on incoming calll
 
I'd recommend you use dbuscron as the daemon for triggering on dbus trips, and you can watch the IPC using `dbus-monitor`.

figaro 2011-01-22 04:34

Re: ping on incoming calll
 
simplest way is just use dbus and make a simple python script that listen to incoming connection (try look at pycallblocker or similar apps, or here and here) and trigger ping whenever new calls triggered

anthonie 2011-01-22 10:06

Re: ping on incoming calll
 
Thank you, both, for the answers/pointers.


All times are GMT. The time now is 08:26.

vBulletin® Version 3.8.8