Hi all<br><br>I wanted to be able to send a sms to my freerunner (with another phone) and then "make it" call me back on this another phone.<br>So I installed sms-sentry, and then add this few lines to /usr/bin/sms-sentry in the function "on_incomming_message", just after the bloc "if contents.startswith("sentry")"<br>
<br>[code]<br>if contents.startswith("my_secret_password"):<br> print "Calling back the sms sender"<br> mycommand = 'mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.Call.Initiate u\\"' + sender + '\\" u\\"voice\\"'<br>
res = os.popen(mycommand)<br> print "Appel en cours"<br>[/code]<br><br>Then you can try to send you a sms with the content : my_secret_password , and a call should be initiated. <br>I personnaly use it to listent to my baby when I go to some friends and she sleps in another room.<br>
<br>NB : <br>* it is very rough. If someone knows how to handle properly the dbus command to initiate the call with the dbus python bindings, please help :D<br>* You can change the "my_secret_password" into whichever password you like.<br>
* Be aware that you will pay for the call initiated by your freerunner (it calls you back !).<br>* Be carefull to respect the indentation of the python script.<br>* I hope the email won't break the lines between the [code] <br>
<br>Kimaidou<br>