How to process telecom operator messages before being played - General Questions and Answers

Hi Guys,
Came up with a different problem statement, I hope anyone will be able to save me.
Say there is a telephone/ VOIP call established and the downlink and uplink of audio is taking place via Audiomanager.Stream_VOICE_CALL like any normal phone call would do but what I want to achieve is that audio(i.e downlink like telecom operator msgs) should be redirected to a dummy virtual function where I can process it and then it should play through any output medium like speakers, headphones, et. My app is built in java, its already default dialer and my phone is also rooted with nitrogen os Android 8.1 running on it. I am completely clueless what can be done even if I comment down the part which handles the audio during call, even then also it plays audio. I will really appreciate if someone can give a path, how can I approach this problem
Regards

Related

Adding SIP and VOIP stack?

I want to be able to do voip through skype and I know I can add the iskoot number to myfaves and get free incoming but can I use it for free outgoing?
If this isn't possible how hard would it be to bring the VOIP anr SIP stack from another phone into the G1?
There are already 2 sip stacks for Android. Someone would just need to make a usable application for them.
http://blog.roychowdhury.org/2008/03/10/we-have-sip-working-on-android/
http://jeanderuelle.blogspot.com/2008/10/jain-sip-is-working-on-top-of-android.html
I have not looked recently for user applications, but the sip stack is definitely already there.
I looked into those SIP stacks, and the first one listed has a User Agent in the code.
The problem is that the Android API has no way to stream sound from the mic, and can't seem to stream data from RAM to the audio output (so you can do, say, audio decompression of the RTP stream). Or at least, there isn't a straightforward apparent way to do it...
So until one can get audio into/out of memory (and not by writing to a file), this isn't going to be happening anytime soon, sadly. What may be interesting is to find out how these call recorders work...but again, I think that's all to a file.
What about StreamFurious? It streams shoutcast, so this must be possible in some way.
From network to speaker, it is possible...if you limit yourself to the codecs Android supports. However, VoIP uses some codecs that aren't supported by Opencore (at least, as best as I can tell)...so you'd have to code them yourself in Java (not hard for the PCM codecs, trickier for Speex and iLBC)...but then you need to play the uncompressed data from your app, and you can't seem to do that (unless you write it to a file and play that)
The recording side is worse, it needs to be recorded to a file. So making it a "phone" with the current API on Android is painful at best.
A SIP client working on Cupcake has been released today -- http://sipdroid.org
Integration within the OS and calling is working pretty good. The only downside is, that people can hear me, but I can't hear them :-/
I have no idea what I am doing. I spent 20 minutes messing around with sipdroid and I would guess about 19 of them were wasted. I will wait till this requires less setup (or its not 2am and I have a few extra brain cells to spare for figuring this out). Good to know its being worked on though.
I did test the SIP client, too.
First of all: thanks for this project. Together with sipgate.de and pbxes.org it works super well. I tested many calls and I can hear the other side and vice versa.
What did not work: entering directly sipgate.de in the SIP client (couldn't hear anything during a call in both directions).
What I hope will get better: better incoming call recognition (if device is in sleep mode the screen wouldn't turn on), and other small things (like to be able to turn off the client instead of turning off wireless options) and few other things which I don't remember now.
I am sure it will get better and better. So: THUMBS UP!
Was able to login to gizmo account but no audio. Needs option to turn sipdroid on/off, only way to do that right now is to turn off wifi or disable wifi in sipdroid.

Need some way to play audio file via a phone call

Im testing some VoIP software for cell phones for my work. I'm currently using a Nokia e71x and a At&T Kaiser/tilt/TyTn II running a nice little ROM I got here (can't remember the name) built on WM 6.5. Any way, in a desperate attempt to measure call quality I would like to call my voice mail and leave a message, then analyze it for pops, clicks that kind of thing. So in order to have a standardized file that I use each time I would like to be able to play an audio file on the phone, preferably the kaiser, and have it stream through the call. That way when I download my voicemail, in .wavs, I can use a program I got to see how the 2 files vary. I would hate to have to hold a voice recorder up to the phone each time.
Or you know of some other way of measuring call quality that would be good too.
thanks in advance,
The Tentacle Master

Wondering if a couple of apps exist

Since there is a temptation to use open wifi sources with our phones, I was wondering if there is a firewall program that can protect the phone from the network it is connected to?
Also, does there exist a good call recorder program? Particularly one that you can set to record automatically based on caller id. I.e. if a call comes in (or is made) from a particular phone number as soon as the call is connected the recording starts.
Short answer no & no.
Unfortunately call recording in general sucks. I've only heard of apps that work with speaker phone. I'm told it's an os level design decision.
k2snowboards88 said:
Unfortunately call recording in general sucks. I've only heard of apps that work with speaker phone. I'm told it's an os level design decision.
Click to expand...
Click to collapse
Yeah, could you imagine the problems if phone companies allowed anyone to record voice conversations.
I was about to argue with you and then I realized what you did. Nice.

What is Best Auto Call Answering Machine S/w For Android ?

Hello Everyone,
I have Star x18i Mobile with android installed on it, i did search alot of applications and used and really like most of them, now what is my issue i m not able to find any suitable auto call answer machine software,
There are many software of auto answering machine which send message to unknown number calls as soon any call come,,,,
What i want is i get alot of wrong calls each day, i dont know who is calling maybe friend or romour, and i not want to talk to them directly so i m looking for software to install into my mobile which do following main functions :
1. When unknown number call comes, my phone auto pick the call and play an audio file which i will select or built-in in software to that person and record the phone call as well, Audio i will use will be something like that ( Person you are calling is busy please record your msg person will get back to you ) when ever an unknown number call come i want to play sound and record so later i can listen who that person was calling me, if any known person then i will contact them otherwise will block them number....
That is the simple thing like software i want, Please tell me if anyone know any of that type software ? again please i not want sms reply software, i want to play sound to that person auto and record voice....
Hope someone will guide be better.
Thanks allot in Advance
rayice said:
Hello Everyone,
I have Star x18i Mobile with android installed on it, i did search alot of applications and used and really like most of them, now what is my issue i m not able to find any suitable auto call answer machine software,
There are many software of auto answering machine which send message to unknown number calls as soon any call come,,,,
What i want is i get alot of wrong calls each day, i dont know who is calling maybe friend or romour, and i not want to talk to them directly so i m looking for software to install into my mobile which do following main functions :
1. When unknown number call comes, my phone auto pick the call and play an audio file which i will select or built-in in software to that person and record the phone call as well, Audio i will use will be something like that ( Person you are calling is busy please record your msg person will get back to you ) when ever an unknown number call come i want to play sound and record so later i can listen who that person was calling me, if any known person then i will contact them otherwise will block them number....
That is the simple thing like software i want, Please tell me if anyone know any of that type software ? again please i not want sms reply software, i want to play sound to that person auto and record voice....
Hope someone will guide be better.
Thanks allot in Advance
Click to expand...
Click to collapse
Is is truly unbelievable to me that in this day and age such an essential phone function could have been overlooked! I have been searching for days and days and found NOTHING or got stupid responses such as "use Google" (Online only, uses Data and for US Citizens only) or "use voicemail" (expensive cellular provider subscription add-on)... I mean, come on! When even the cheapest home phones can be gotten with built in answering machines, how come this essential feature is nowhere to be seen on android phones?
What's the deal, what's the technical hangup, what's the problem? Can anyone explain the REASON why there are NO call answering machine-like apps of any kind out there?
Old faithful said:
Is is truly unbelievable to me that in this day and age such an essential phone function could have been overlooked! I have been searching for days and days and found NOTHING or got stupid responses such as "use Google" (Online only, uses Data and for US Citizens only) or "use voicemail" (expensive cellular provider subscription add-on)... I mean, come on! When even the cheapest home phones can be gotten with built in answering machines, how come this essential feature is nowhere to be seen on android phones?
What's the deal, what's the technical hangup, what's the problem? Can anyone explain the REASON why there are NO call answering machine-like apps of any kind out there?
Click to expand...
Click to collapse
Im looking for the same thing and can't find it too!
Here is my need. I have a business phone number and my personal cell phone number. All my customers should call me to my business number which I can set to auto-forward to my cell only at the time I want to. But some of my customers know my cell phone number and they keep having this bad habit of calling me on it instead of my business phone number.
I'm looking for a app that will be tracking in the background the caller id number of incoming calls, if the number is a on list of unwanted that I have set, it will auto-answer, play an audio file recorded by me (like: "Please dial 111-222-3333 to reach me, thanks you") and then hang-up.
I don't feel alone with the need of a solution like this. And there are apps that can auto-answer call according to the caller id and there are apps that can play audio in a call, I don't see why it could not be technically possible to combine both.
wow
can't belive it, i was looking for the same and found several threads like this one, that's sad
let's hope sth comes up
Yeah, I used to have this function on my old fliphone from way back in 2002! Also, on my Windows Mobile phones after that...
Exactly. My nokia flip from ages ago (ran symbian OS) has an app on it called "Advanced Answering Machine" or "Advanced Call Manager" or something similar.
I could set it up so that it would direct calls to different greetings depending on the caller ID. An example of this is, I wont accept calls from "unknown" or "blocked" etc numbers. ACM/AAM would handle this perfectly. It would answer the phone, play the Telstra (thats a telco in australia) message "the number you have called is not available from this service." twice, then hang up. Later on I found out I was missing some important calls (the message confused some people such as the landlord who had a blocked number) so I changed it to "I do not accept calls from blocked numbers. To unblock your number, dial 1831 in front of your number. It wont cost you any more". This fixed the problem.
It was also programmed to answer calls after 30 seconds of ringing and play a standard greeting then take a message.
It was a very versatile program. I could (for example) divert certain calls to a party line if I didnt want calls from that particular number; however I didnt, as the diverted leg would cost me a fortune.
Its a shame on these advanced handsets today that such a simple, commonly available on landline phones, feature is not available. I can control televisions, fly remote controlled toys and vapourize components with a big bank of capacitors over bluetooth using my phone, yet it cant perform a simple answering machine function.
From what I hear the API that handles these functions is not directly accessable to developers; probably because "malware" could hook in and dial high priced premium calls and rack up huge bills all the while the phone owner not knowing until the monthly account comes in.
I did see one answerphone somewhere but it utilised the speaker so if it took a call (for example while your at the pub) the caller would not hear your greeting, or on the train everyone around you would hear your greeting and then the callers message, so not very practical. It would NOT work properly while the phone was on mute.
xperia phones come with buit-in answering machine feature. or use jail broken iphone and u have half a dozen apps which can do it.
unfortunately in android noway.. even if u r rooted.. no way

VOIP on the Nexus 5

My fiancée and I got ourselves a pair of Nexus 5's a couple of weeks ago, switched from Verizon to the T-Mo $30 100/Unlimited/5GB(Unlimited) plan and are now happily saving over $100 a month in the process. Yay us!
However, I've been struggling with VOIP with varying degrees of success. I've spent a considerable amount of time researching and configuring and tweaking, and I'd like to share my findings, as well as get some feedback on some things I may have missed.
One of the first things I tried was the Google Voice/PBXes/CSipSimple method, which produced terrible call quality. Everything from echo to background noise. No matter what I did (and believe me, I tried everything I could find) the call quality was just terrible. Changing the mic source, enabling mode audio API, changing the SIP audio mode, changing codecs, nothing really helped. Battery life was great, but the call quality was pretty much unusable. I could hear myself echoing, the other party could hear their own voice echoing, and/or there'd be too much background noise, or I'd be too quiet, etc.
Next, I tried Talkatone (paid for premium). Connection problems galore! I'd have several "lag fests" over WiFi (never tried it on LTE) even when I was sitting right at the router. Everything would cut out for about 30-45 seconds and then resume as if nothing happened, and this occurred 2-3 times over the course of a 10-15 minute call. Yes, I ruled out a connection/router issue. Battery life was "OK" but it wasn't as good as it was with CSipSimple.
I then tried GrooveIP (paid). Lots of echo here. Again, no setting or combination of settings really seemed to get rid of it. Tried as I might, the echo was always there. Battery life was on par with Talkatone.
Next, I decided I'd go a different direction and tried Skype. The voice quality was much improved, with no echo, but complaints of background noise, especially while on speakerphone. This has been passable, though not "ideal" (I know, VOIP isn't perfect). The big issue with Skype has been the absurd battery drain. A 30 minute call drained my battery by almost 20% and Skype was topping the charts by a long shot on the battery usage.
I know there are other options out there such as Viber, but I've not seen a whole lot out of them in terms of reviews, etc. I may just end up trying Viber and seeing how it pans out, but the options are starting to run out.
I know part of the problem is the same one the Nexus 4 had with the microphone(s) but, I'd like to think I just might be overlooking something. If anyone feels they've "solved the problem" please share your settings, as I'm sure I'm not the only one who feels as though they're banging their head against a wall here.
Fenuxx said:
I know there are other options out there such as Viber, but I've not seen a whole lot out of them in terms of reviews, etc. I may just end up trying Viber and seeing how it pans out, but the options are starting to run out.
I know part of the problem is the same one the Nexus 4 had with the microphone(s) but, I'd like to think I just might be overlooking something. If anyone feels they've "solved the problem" please share your settings, as I'm sure I'm not the only one who feels as though they're banging their head against a wall here.
Click to expand...
Click to collapse
Viber works well for me and I only hear a slight echo if I'm talking with Nexus 4 users. Give it a shot. Tango might be worth a try, too. Good luck.
Well, I believe Csipsimple is the best voip client available. So, you'll most likely want to go back to your first solution, but replace pbxes with Callcentric, voip.ms or another voip provider. I've tried everything you did as well (plus a few more options) and with the exception of Skype, found the quality to be unacceptable. What I'm suggesting won't be free, but the cost is extremely low. Actually, voip.ms could be a very good solution for you. You would establish and fund one "account", but set up separate "sub-accounts" for yourself and your fiance. If you wanted to use GV exclusively, you could then purchase a couple of DIDs and set up GV to forward to them. I use an app on my phone called Groove Forwarder that changes my GV forwarding settings based on my data connection. If I'm on LTE, etc..., it forwards to my T-Mobile number. When I'm connected to Wi-Fi though, it switches to my Flowroute (another voip provider) number. Also fwiw, you can use voip over LTE if you want. Being in a moving vehicle set up that way will cause issues however.
adrman said:
Well, I believe Csipsimple is the best voip client available. So, you'll most likely want to go back to your first solution, but replace pbxes with Callcentric, voip.ms or another voip provider. I've tried everything you did as well (plus a few more options) and with the exception of Skype, found the quality to be unacceptable. What I'm suggesting won't be free, but the cost is extremely low. Actually, voip.ms could be a very good solution for you. You would establish and fund one "account", but set up separate "sub-accounts" for yourself and your fiance. If you wanted to use GV exclusively, you could then purchase a couple of DIDs and set up GV to forward to them. I use an app on my phone called Groove Forwarder that changes my GV forwarding settings based on my data connection. If I'm on LTE, etc..., it forwards to my T-Mobile number. When I'm connected to Wi-Fi though, it switches to my Flowroute (another voip provider) number. Also fwiw, you can use voip over LTE if you want. Being in a moving vehicle set up that way will cause issues however.
Click to expand...
Click to collapse
Yeah, I also tried the Callcentric+PBXes route for the iLBC codec, which didn't seem to help. I'm not entirely convinced it's the PBX provider that's at fault, as I don't have these weird audio issues with CSipSimple+PBXes/Callcentric on my "home phone" (separate Google Voice account) which is an old DROID Incredible 2. Voice quality there is fine.
I did look into voip.ms, but when I signed up (late at night), they forced a "manual authentication" on me (why, I don't know) and I needed to contact support. I tried logging in the following morning, only to be greeted with a message about my IP address not being whiteflagged and not being authorized to access the account. Being that my IP address is dynamic, I don't think I want to constantly fight that battle about "approving" my IP address whenever it changes.
Create a ticket with voip.ms support to inquire. I've only good things to say about their response times and help.
Does anyone have bluetooth headsets working with csipsimple? On my nexus 5 I've yet to find a sip phone that works correctly with a headset.
Fenuxx said:
I then tried GrooveIP (paid). Lots of echo here. Again, no setting or combination of settings really seemed to get rid of it. Tried as I might, the echo was always there. Battery life was on par with Talkatone.
Click to expand...
Click to collapse
groove and google voice gave me no echo when calling a landline from my wifi connection. i think this has to be your internet access that would be messing this up. . .or maybe it's just bad for voip to voip calls
I can personally attest to voip.ms + csipsimple + g729 codec ($10 dollars in the playstore) reliability as a voip setup for my Nexus 5. My set up is basically that GV forwards to my voip.ms DID which rings directly to my Nexus 5's csipsimple app. In the event that im not registered in csipsimple (e.g. lose connection, servers go down, etc) I have failover set up w/ voip.ms to ring to my real tmobile phone number. I have zero issues with call quality or echo and I have had full conversations with people on the phone even while driving. I also used this guys tip when first setting up, these may or may not change a thing but Ive had my csipsimple configured with these settings since day 1 also.
1. Go to settings
2. Click the menu button -> Expert Mode
3. Go to “media” -> select echo mode and choose WebRTC (probably already chosen)
4. In “media” go to “Audio troubleshooting” -> “Mic source” -> Voice call
5. in “Audio troubleshooting” -> “Audio implementation” -> Java
I use flowroute + csimpsimple (G729). Call quality is excellent and low latency on WiFi and LTE, and not bad over HSPA/HSPA+.
My main issue at the moment is bluetooth. I cannot get it to work with the bluetooth in my car (only bluetooth I have). I can get incoming audio OK, but it appears to be using the phone microphone for outgoing audio instead of the car microphone and it's very garbled and noisy.
There was a software issue in 4.2 regarding inline mic gain, 4.2.2 fixed it. GroovIP free worked fine for me after the update. There is only a few months left of google voice as they are shutting it down on May 15, 2014.
I have been using Viber for over two years. Works perfectly fine. Try it.
Sent from my Nexus 5 using Tapatalk

Categories

Resources