Dialvoice from smsd -how to

denis <[email protected]> Fri, 22 May 2015 00:32:15 +0300
Newsgroups gmane.linux.drivers.gnokii
Message-ID <[email protected]>
Hello.

I need a quick way to call a system php script from smsd. The sistem basically uses gnokii to make a voicecall.

I've tried to add this to smsd.c, in the sendSMS section, runs as it should, but it seems it does not get exclusive lock to the phone, because sometimes the call does not get trough, some other times sms get lost.

I figure there should be a way to pause smsd to run my script, then resume normal operations. 

How can i acomplish this?


Thanks
Toader Denis