Om2008.8: execute script on incoming call

"Marco Trevisan (Treviño)" mail at 3v1n0.net
Sat Aug 30 06:32:30 CEST 2008


Michael 'Mickey' Lauer :
> Am Donnerstag 28 August 2008 02:31:13 schrieb Marco Trevisan (Treviño):
>> Michael 'Mickey' Lauer wrote:
>>> If it doesn't need to be 2008.8, then you might want to give the
>>> frameworkd a try, which has been written for exactly these things. There,
>>> it would be as simple as (python example, but works with all kinds of
>>> languages of course):
>> Is there a way to use this in om2008.8?
> 
> Only if you shut down qpe. In general, qtopiacomm, gpsd, and ogsmd (part of 
> frameworkd) all fight over exclusively using one modem.

I was thinking... An easy implementation also would be something like 
this (and should work in every distro, also if it could be just a 
workaround since it uses more resources for doing something already done 
by others):

while true; do if grep -q RING /dev/ttySAC0; then $COMMANDS; fi; done

BTW, the Hackenberger workardound to make qtopia use gsm0710muxd, should 
help in this too... Isn't it?

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/





More information about the community mailing list