I would like to run a script whenever I answer a sip based call on my phone. I would then like another script to run when I end the call. What is the best way to go about doing this?
I think I could use the incoming call script at the bottom of this page: http://wiki.maemo.org/PyMaemo/Phone_...d_SMS_examples
but I am not sure exactly how to do this. Some pointers would be greatly appreciated (I have written bash scripts before, but I am not very good at doing much more than copying and pasting python code).