Re: Sms-sentry patch : call me back
Hi, Angus Ainslie-2 wrote: You register a known sim with SMS-sentry and if it gets changed the phone sends it's location to a predefined number. Ha ! Neat solution to the problem. Hope you add that soon. -- View this message in context: http://n2.nabble.com/Sms-sentry-%22patch%22-%3A-call-me-back-tp3256558p3261736.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Sms-sentry patch : call me back
You register a known sim with SMS-sentry and if it gets changed the phone sends it's location to a predefined number. Ha ! Neat solution to the problem. Hope you add that soon. great! it would make sense to have more SMS on the list so when testing and swapping SIMs we don't send out too many SMS. Also, if at that moment of SIM swap there is no GSM signal, the SMS sending will fail, or not? i think i should get another freerunner already for my wife, her dumb phone starts to be way too dumb already... Petr ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Sms-sentry patch : call me back
Petr Vanek wrote: You register a known sim with SMS-sentry and if it gets changed the phone sends it's location to a predefined number. Ha ! Neat solution to the problem. Hope you add that soon. great! it would make sense to have more SMS on the list so when testing and swapping SIMs we don't send out too many SMS. Also, if at that moment of SIM swap there is no GSM signal, the SMS sending will fail, or not? It will fail, the FR does not seem to queue up unsent SMS. It certainly fail for sms sent through the sms app at a time of bad gsm coverage. But sms-sentry can be coded to send a new sms every 5 min or so, until you recover the stolen phone and reconfigure it. :-) Helge Hafting ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Sms-sentry patch : call me back
On July 15, 2009 02:16:36 am c_c wrote: Hi, Angus Ainslie-2 wrote: You register a known sim with SMS-sentry and if it gets changed the phone sends it's location to a predefined number. Ha ! Neat solution to the problem. Hope you add that soon. I added sms-sentry to github[1] so if anyone wants to send a password patch or SMS change patch that would be great :) I'll try to add an updated recipe to ms5.5 later on. Angus [1] git://github.com/nytowl/sms-sentry.git ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Sms-sentry patch : call me back
Hi all 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. 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) [code] if contents.startswith(my_secret_password): print Calling back the sms sender mycommand = 'mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.Call.Initiate u\\' + sender + '\\ u\\voice\\' res = os.popen(mycommand) print Appel en cours [/code] Then you can try to send you a sms with the content : my_secret_password , and a call should be initiated. I personnaly use it to listent to my baby when I go to some friends and she sleps in another room. NB : * 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 * You can change the my_secret_password into whichever password you like. * Be aware that you will pay for the call initiated by your freerunner (it calls you back !). * Be carefull to respect the indentation of the python script. * I hope the email won't break the lines between the [code] Kimaidou ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Sms-sentry patch : call me back
kimaidou пишет: Hi all 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. 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) [code] if contents.startswith(my_secret_password): print Calling back the sms sender mycommand = 'mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.Call.Initiate u\\' + sender + '\\ u\\voice\\' res = os.popen(mycommand) print Appel en cours [/code] Then you can try to send you a sms with the content : my_secret_password , and a call should be initiated. I personnaly use it to listent to my baby when I go to some friends and she sleps in another room. NB : * 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 * You can change the my_secret_password into whichever password you like. * Be aware that you will pay for the call initiated by your freerunner (it calls you back !). * Be carefull to respect the indentation of the python script. * I hope the email won't break the lines between the [code] Wow! Very impressive! So it'll be very easy to track you Frerunner back. Just add call to some script to silently report GPS location by SMS or (ab)using GRPS connection. And AFAIR it was heavily requested feature some time ago (considering SIM wasn't replaced yet). ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Sms-sentry patch : call me back
I have to be more precise here : All the credit of the sms related things are for the king author of sms-sentry, NOT ME :D With sms-sentry (without my patch), you already can get back the gps position of your freerunner (if it can get any gps fix) by sending an sms with the content sentry:location I have JUST added the code described in my first mail to allow another feature = call back the sms sender. Kimaidou Wow! Very impressive! So it'll be very easy to track you Frerunner back. Just add call to some script to silently report GPS location by SMS or (ab)using GRPS connection. And AFAIR it was heavily requested feature some time ago (considering SIM wasn't replaced yet). ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Sms-sentry patch : call me back
On July 14, 2009 06:43:43 am Evgeniy Ginzburg wrote: Wow! Very impressive! So it'll be very easy to track you Frerunner back. Just add call to some script to silently report GPS location by SMS or (ab)using GRPS connection. And AFAIR it was heavily requested feature some time ago (considering SIM wasn't replaced yet). I've been thinking of adding that to the code. You register a known sim with SMS-sentry and if it gets changed the phone sends it's location to a predefined number. Now you not only have the location of the borrower but also their phone number :) Angus ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community