accessing a call sound stream - Windows Mobile Development and Hacking General

Is there a way to do either of the following?:
1. Record the voice from a phone call directly to a file.
2. Play a sound into a phone call.
I couldn't find any support for this in the TAPI/Extended TAPI reference. Might it be possible to do this by low level access to the GSM module? (using assembly or AT commands)
Is it possible that it might be supported by the heavily un-documented RIL API??

Related

Record uplink/downlink speech streams? (WaveIn, TAPI, RIL?)

Hi,
I'm trying to record both uplink and downlink speech streams of my XDA II during a phone call.
I tried many different things but couldn't get working any of them:
- I first tried the waveIn/waveOut API and thought, in the first place, that I was able to record the incoming and outgoing audio streams, mixed together. But I quickly realise that what I was recording was only the sound from the mike, and that the speech of the downlink speech was going from the speaker through the air to the mike. So I was recording my own voice (from the mike) and the voice of the other part (from the mike too as the sound was going from the speaker to the mike).
- Then I had a look to the TAPI API. I was able to answer calls but it was impossible for me to access to any of the audio streams. I think it's a limitation of the device, and that the TAPI API hasn't been fully implemented on the XDA2. But I can't be sure of that.
- Now I'm trying to use RIL, which seems to be a layer below the other APIs. I believe it might be possible to access to the audio streams, but I have no idea how.
- I also think that the audio data of both streams must be stored in the memory, somewhere in the device. But where?
Any ideas or suggestions on this? Do you think I should keep investigating RIL?
Thanks a lot
Ben
There is 3rd party software that will do this.
cruisin-thru said:
There is 3rd party software that will do this.
Click to expand...
Click to collapse
...which one is it please?
THANX
buzz
Re: Record uplink/downlink speech streams? (WaveIn, TAPI, RI
there is no such a program. The only thing yor program can record is the sound from microphone. This can be tested by connecting a headset to the device and trying to record anything during call. Only ugly devices like Anextek SP230 can record both sides because microphone is wired to the speaker.
You cannot use RIL or TAPI to record calls. It is a limitation of both hardware and OS. Maybe WM2005 would support this.
Yes I don't thinck there is such a program (I've been looking for such a program for the past 2 weeks). All recording softwares you can find don't do much more than using the waveIn/waveOut API and so they record only the sound from the microphone.
Mamaich: Would the Anextek SP230 allow me to record properly both sides even if I use a headset while recording? How come the microphone is wired to the speaker? Does that mean that the sound going to the speaker goes also to the microphone? Wouldn't that introduce a lot of echo in the network during phone calls?
Even if we are limited by the OS there must be a way of getting the speech, because somehow the audio data must be stored somewhere in the device (either the GSM memory or the device memory). And that's what I would like to find out.
Thanks.
serbenet said:
Would the Anextek SP230 allow me to record properly both sides even if I use a headset while recording?
Click to expand...
Click to collapse
Yes. I owned Rover S1 which is based on Anextek and checked this.
How come the microphone is wired to the speaker? Does that mean that the sound going to the speaker goes also to the microphone? Wouldn't that introduce a lot of echo in the network during phone calls?
Click to expand...
Click to collapse
There is no echo during phone calls, but when using VoIP and similar programs the echo is terrible.
Even if we are limited by the OS there must be a way of getting the speech, because somehow the audio data must be stored somewhere in the device (either the GSM memory or the device memory).
Click to expand...
Click to collapse
Call is processed by the GSM module that has its own CPU (some sort of ARM with DSP extensions). You may reverse engeneer its firmware, but it is very complex. On XDAs its OS is based on "Nucleus PLUS - Version 1.0.G1.1" by ATI. In Anextek it is Siemens MC45 module.
Well all the people that claim that Vito sound software and others record both sides of conversation on the forum are lying?
Also it seems this article must be untrue
http://asia.internet.com/news/article.php/1383691
It says that 2 way recording is possible on the xda.
excerpt: Designed for busy people on the move, the device combines a color personal digital assistant (PDA) and General Packet Radio Services (GPRS) handset into one compact unit. Among the things that the users are able to do with the unit include recording a two-way phone conversation or a 'live' conversation, listening to music, watching video clips and reading e-books.
I have now tried vito sound recorder 2005 and it doesnt allow both sides of conversation to be recorded on my xda, I took a look around and it seems the old siemens sx45 had the capability with its recorder software, here is an excerpt.
The sound recorder lets you record from the built in microphone or for ultimate fun, both sides of a phone conversation, which can be played back whilst in conversation. Confuses the hell out of folks when they hear what they’ve just said.
In a sens they are not really lying because you can record both sides of conversation, if you allow the sound from the speaker to go to the microphone. If you don't use a headset and the volume of your speaker is high enough, that will be the case. The voice of the other part will go through the air before being recorded. That's why people claim that you can record both sides of conversation even though the quality of your recording is rubbish.
With vito you get perfect reproduction of the caller but zero from yourself.

[Request] Switch sound output from speakers to receiver

Hi All
I'm wondering if the above is possible, that is to redirect sound from the main speakers of devices to the receiver port which is the part which we put to our ears when answering traditional calls usually.
Reason for my asking is because Eten (now called Glofiish) phones have this capability and is especially useful for Skype calls. Right now my Skype calls are coming out from the speakers and I would really love to use my Universal like those new WIFI phones for Skype.
Is this possible?
Can't be done.
I wouldn't go as far as impossible. But it certainly would require a lot of very low level hacking, if it is possible at all. Simular questions have been asked here and nobody knows how to do it. The problem is (at least on my phone) the receive is connected to the GSM/CDMA chip set and the speaker is connected to the CPU that runs Windows Mobile. During a normal phone call the audio stream goes directly to the receiver without going the main CPU. So Windows Mobile doesn't need or have access to the receiver. So programs that run on the main CPU like Skype also don't have access to the receiver either. You might want to try using a head set.
ps the more common question that has the same issue: Can I get access to (or record) the inbound audio stream during a regular phone call?

Record a phone call

I've tried VITO Audio Notes and Resco Audio Recorder and neither of these seem to record the other half a phone call. I'd like to be prepared and have something which can record a call if need be, but nothing seems to work. I've read that this can be down to hardware. Has anyone managed to get anything like this working on the Xperia X1?
Thanks
this thread make me remember, I swear there was an in built call record function back there when this phone was previewed, where is it now?
it waz the providers callable mailbox. LOL
dialed by shortcut
i wish this feature, too. long time ago,.... but no htc device can record a live phone call.
but i hope, that a bluetooth wrapper will come in future. (to redirect audio streams. if the bluetooth driver can capture and send audio streams over air, a fake driver could handle like the bt driver. but without bt-hardware-chip is activated, to save power consumption. the recording app commincates with the wrapper/fake driver as BT-protokoll (fake headset device))
try to use the buildin notes application to record, it may help

[Q] Is call audio locked/unlocked in the telephony app?

I'm trying to plunge into Android and after an afternoon of looking around (online and in books) I'm seeing very little discussion of CALL AUDIO itself. That is, the full two-way audio stream that is handled during a phone call.
What I'd like to do is save that stream out to a file. But the few references I've seen, seem to indicate
1-That's easy, there's a hook for just that call audio stream
2-That's conditional on the telephoney application having allowed that audio stream to be shared, and by default it is not shared/accessible.
So if the telephony application itself, as shipped in the phone, does not set a flag for sharing that audio stream, it cannot be shared. Unless you manage to break in and rewrite the telephony app in the phone itself, which I imagine is a non-trivial exercise for a newb!
The phone in question being an Atrix, or the Droids in general, which appear to all have this telephony audio stream in an ivory tower. (At least, a couple of programmers have told me they'll never be able to touch it.)
So...anyone with a rather specialized knowledge in this area to share? Has Motorola locked up their telephony audio out of reach? Or, am I totally missing the picture?
Seems like the SDK, the online references, the books (yes, I looked at books!) all don't bother to discuss telephony functions in any great depth, besides making calls.

[Q] How to set Receiver Loopback On

Does anyone knows how to set the receiver loopback on in an Evo 4G? i need to test microphone and earpiece speaker simultaneously.
I've tried with an android app but it seems that the only way its to record and play, and the quality is too poor, also you can hear a delay.
Also i found some diagnostic nbh file that have this loopback option but it makes other things such as format and stuff i dont want.
Thanks

Categories

Resources