The Following 4 Users Say Thank You to dr_frost_dk For This Useful Post: | ||
|
2011-12-30
, 04:37
|
Posts: 1,096 |
Thanked: 760 times |
Joined on Dec 2008
|
#2
|
|
2011-12-30
, 09:57
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#3
|
|
2011-12-30
, 15:43
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#4
|
|
2011-12-30
, 15:53
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#5
|
I can't remember the pages of where i can find all the dbus scripts.
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2011-12-30
, 16:00
|
Posts: 147 |
Thanked: 150 times |
Joined on Aug 2010
@ Finland
|
#6
|
The Following User Says Thank You to Aonsaithya For This Useful Post: | ||
|
2011-12-30
, 16:03
|
Posts: 1,096 |
Thanked: 760 times |
Joined on Dec 2008
|
#7
|
#[SIGNAL] com.nokia.csd.Call.Coming /com/nokia/csd/call :1.17 #( op'/com/nokia/csd/call/1', "0313520331" ) self.bus.add_signal_receiver(self.callInfoFrom, dbus_interface=None, signal_name="Coming", bus_name="com.nokia.csd", path="/com/nokia/csd/call", )
def start_PhoneRecording(self): self.startTime = time.strftime("%Y%m%d_%H%M%S") self.startTimeToDisplay = time.strftime("%H:%M:%S") if self.caller == None: self.fileName = os.path.join(self.folder,"Rec_%s.%s" % (self.startTime,self.fileformat.lower())) else: self.fileName = os.path.join(self.folder,"Rec_%s_%s.%s" % (self.caller,self.startTime,self.fileformat.lower())) self.fileName = os.path.join(self.folder,"CurrentlyRecording.%s" % self.fileformat.lower()) print "Self.source="+self.source print "self.fileName="+self.fileName print "Launcher config is:" print self.get_launcher() #self.gsterr = "" self.recorder = gst.parse_launch ( self.get_launcher()) #print "parse_error:"+str(self.gsterr) if self.recorder == None: print "Launch failure!" return # else: # print "launch state" # print self.recorder.get_state(1) bus = self.recorder.get_bus() # need to connect to sync message handler so we get the sink to be # embedded at the right time and not have a temporary new window bus.enable_sync_message_emission() bus.add_signal_watch() bus.connect("sync-message::element", self.on_sync_message) bus.connect("message", self.on_message) self.recorder.set_state(gst.STATE_PLAYING) #success, state, pending = self.recorder.get_state(1) #if state != gst.STATE_PLAYING: # self.log("ERROR: Failed to start recording in gstreamer!") # return self.draw_e_on() self.isStopped = False if self.reminders: self.timer = gobject.timeout_add_seconds(30, self.recordingreminder_cb) # print "phonerecording!"
The Following 2 Users Say Thank You to quipper8 For This Useful Post: | ||
|
2011-12-30
, 16:23
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#8
|
The Following User Says Thank You to dr_frost_dk For This Useful Post: | ||
|
2012-01-08
, 23:16
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#9
|
#! /bin/sh dbus-send --type=method_call --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.set_profile string:"silent" dbus-monitor --system type='signal',interface='com.nokia.csd.Call',member='Coming' | while grep -q 'object path "/com/nokia/csd/call/1"' do sleep 1 echo Answering Call dbus-send --system --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call/1 com.nokia.csd.Call.Instance.Answer sleep 1 echo muting Microphone dbus-send --type=method_call --dest=org.maemo.Playback.Manager /org/maemo/Playback/Manager org.maemo.Playback.Manager.RequestMute boolean:true done
The Following 4 Users Say Thank You to dr_frost_dk For This Useful Post: | ||
|
2012-01-09
, 19:25
|
|
Posts: 1,503 |
Thanked: 2,688 times |
Joined on Oct 2010
@ Denmark
|
#10
|
What i want to do is:
Having a do not disturb function (like silent mode)
When getting a call the phone auto picks up, but plays a recording you made that goes something like this "I'm sleeping right now, if you have to get a hold of me press 1, else leave a message or hang up, what you say from this call being intercepted has been recorded and your number is also noted down, i will call you back as soon as i have time.
So the task list would be when in this mode:
auto pick up call
start recording call (like recaller), and name file like recaller makes
play the recorded message (like normal voicemail)
- If caller inputs "1" (or what ever is setup) then:
keep recording until call is taken or rejected by you
play ringtone & vibrate if set (simulate normal call)
wait for your input (pickup call/reject call)
when you pickup or reject call then keep or stop recording (setting for this mode)
What do you guys think, can this be done?, can you help me achieve it, it would be so cool to have.
EDIT: For N900 so far.
N900 @ 850MHz (LV) & 3044mAh Battery
Battery Tests and Battery Mod / Homemade 3000mAh XL Battery - (DONATE)
Custom Brightness & No Light Sensor
N900 DIY Micro Amplifier, turn your N900 into a home stereo
Fix you USB before and after it breaks
Feel free to contact me through PM, Skype or G.Talk
Last edited by dr_frost_dk; 2011-12-30 at 11:55.