![]() |
start a call via command line?
As I can log into my phone over ssh, is there a way to 'start' a call over CLI?
e.g. ./phone --number <blah> i.e. leave my phone somewhere, log in via ssh, start a call to say my home number and listen in to whats said in the vicinity? nothing nefarious , just 'interested' |
Re: start a call via command line?
yep, via dbus interface...
http://wiki.maemo.org/Phone_control Code:
dbus-send --system --dest=com.nokia.csd.Call --type=method_call --print-reply \ |
Re: start a call via command line?
Followup: you probably could stream the mic and save yourself a phonecall, though....
|
Re: start a call via command line?
Quote:
Or It could be very good Trojan to your co-warker who don't know linux..... Thanks for Idea!!!!! |
Re: start a call via command line?
heh, I do have legitimate reason for this, I plan to use it as a sort of baby monitor to check whats happening with kids left to play upstairs.. I'm happy to let them have the freedom to play but wanted to just listen in to make sure its all Ok
|
Re: start a call via command line?
OK, tested and works but how do I send a hang up? Can I just kill teh relevant process?
i.e. dbus-send --system --dest=com.nokia.csd.Call --type=method_call --print-reply \ /com/nokia/csd/call com.nokia.csd.Call.CreateWith string:"$1" uint32:0 & ps -ef|grep dbus <look at relevant pid> kill -9 <pid> /??? |
Re: start a call via command line?
Yikes.... dunno how to hang up! Not sure a kill will do it.
|
Re: start a call via command line?
omg this phone can be naughty lol.
|
Re: start a call via command line?
Ah.... OK, figured it out!
Code:
dbus-send --system --dest=com.nokia.csd.Call --print-reply \ |
Re: start a call via command line?
Quote:
TIA. |
Re: start a call via command line?
Quote:
|
Re: start a call via command line?
Quote:
|
All times are GMT. The time now is 17:36. |
vBulletin® Version 3.8.8