Idea of android app for securing communications - Android Q&A, Help & Troubleshooting

Hi. I have an idea of an app. I am completely dilletante in telecoms and audio codecs used in voip, that's why the idea can be stupid, but let's discuss it.
1 Make some api to transfer audio to another party of a call. As I know there is no api allowing to do it. But bluetooth headsets are working! Can we use a bluetooth chip as a proxy to send audio to be sent to another party into a baseband chip. Or maybe it is possible to modify some custom rom core and framework to get it without using bluetooth chip?.
2 Long long ago in pre-gprs era there was a technology called csd allowing to send data using in call. Bandwidth is about 12 kb/s. It was used to send faxes and data between customers, it was used to send sms and it was used to acqure inet access calling a special number given by the operator, like in modem times, but slower.
3 It is possible to get access to sound of the call using standart api
The idea is to create an app (good name for it is "Scrambler"), behawing in following way.
When customer calls somebody the app inserts a marker in the beginning of call. When another's app hears a marker, it enables csd (is it possiblewithout breaking call?).
Then eliptic curve Diffie-Hellman key exchange is going on, of course with mutual auth (using ecdsa) and digitally signing of each packet.
Then the apps record sound, encode it, then encrypt it (ctr mode is used because it is relatively packet loss tolerant) d send to another party, who will decrypt decode and play it.
It should prevent eavesdropping made by special services such as fbi, nsa and fss. But i doubt that it is possible, 12kb/s is very little bandwidth, especially if you add redundancy for error correction. But i heard that skype was working on old modems. What do you think about the idea?

Related

VOiP

Just a fun question that occured to me - is GPRS fast enough that if software were available those of us with unlimitted data could essentially have unlimitted minutes?
xnappo
In a word: No. GPRS has sufficient bandwidth to carry many of the more economical codecs (G.723, G.729, and yes, GSM ), and the device has sufficient power to handle the real time encoding/decoding.
However, the monstrous latency and frequent packet loss will make any conversation attempt pointless. Using GPRS to exchange short voice (and maybe video) messages in near-real time would be OK.
3G will make VoIP possible, but then again, 3G will be VoIP itself.
There are a few companies that have developed complete VoIP solutions for the PPC platform, but they target primarily Wi-Fi. Take a look at http://www.tabletmedia.com/products.html
I Wish I had better news
Mike.
VoIP on XDA 2...
Does anybody have try this? VoIP (Voice Over Internet Protocol) from their XDA 2 using wifi? If success what VoIP software you guys used?
I tried this application http://www.pocketgear.com/software_detail.asp?id=5755 but couldn't get it to work. Can any one explain how to use it on XDA ?

Agephone mobile 2: how to place a call sip to sip?

Is there a way to use this nice software to place free calls knowing the sip address (aka ip address) of the correspondant?
In other softwares like sjphone (which, indeed does not work on my hd2...) it was possibile to dial something like call [email protected] etc.
Am I wrong?
Thanks
Hi,
I searched and found that “SIP” creates connection b/w two or more people to make phone calls to each other using the Internet to carry the call. It’s not 100% free. But the calling rate is cheaper. You can find how to make SIP call from this link.
www{.}youtube.com[/]watch?v=z0KR2I_s-Aw
Michael_robert said:
Hi,
I searched and found that “SIP” creates connection b/w two or more people to make phone calls to each other using the Internet to carry the call. It’s not 100% free. But the calling rate is cheaper. You can find how to make SIP call from this link.
www{.}youtube.com[/]watch?v=z0KR2I_s-Aw
Click to expand...
Click to collapse
Dear friend, I have been using sip since 2004 so I know pretty well how it works and its costs.
What I'd like to know now, is slightly different and is related to the software I indicated in the subject.

Stable VOIP Solution for calls over 3G?

I have a Google Voice number local to my area code that forward to my pbxes.org account, which in turn takes the call and sends it to my phone via the SipDroid app. I can make incoming/outgoing calls all day long for free, but have a problem with call quality.
I have linked two voicemail files. I placed a call from SipDroid out to the same number in both cases, but one was done over WiFi and the other over 3G (2-3 bars, average signal). The WiFi one is acceptable, but the 3G one is not. Listen for yourself (For the message, I read one of the opening paragraphs from the US Declaration of Independence, same on both so you can compare accurately.)
Setup: Google Voice number -> pbxes.org -> SipDroid app
Wifi VOIP Voicemail: http://www.corusa.com/public/voip-wifi.wav
3G VOIP Voicemail: http://www.corusa.com/public/voip-3g.wav
Now, with that said you need to understand my intent. I am wanting to use my Google Voice number for work, as my off-hours support phone, so I do not accrue charges on my personal cell plan (not covered by employer, and they do not provide work mobile phones). So, since I am usually on the go, I will not be connected to WiFi, thus I need a reliable VOIP option that will get acceptable call quality over 3G. There are multiple options out there, and I do not have a problem with a monthly fee, but they all come with caveats. For example, if I got an "Online Number" from Skype, and just forwarded my Google Voice number to that, it would work through the Skype app, no SIP app needed; however, the Skype voicemail cannot be disabled, so I can no longer use the Google Voice app to easily see my support calls/messages from my home screen. I have use the Skype app (or website) to listen to voicemails. Skype would solve my quality problem (based on reviews of other users that use it over 3G), but introduce the new voicemail issue. The setup I have now (GV->pbxes->SipDroid) allows me to use the GV voicemail, but quality is lacking...catch 22. Is there a better more reliable solution out there for VOIP on Android? I am fine with paying
There's also the Google Callback app, that I have been trying to avoid at all costs, since it is kind of hokey, and I tried the GrooVe IP app, but it has a lot of echo for the person I am calling, and no setting change could fix it.
p.s. - I will be updating my phone from the DroidX (3G only) to the Bionic (4G). If you think that will make a difference, and make all my concerns moot, then just say so, and that's what I'll do
Thanks!!
Since you mentioned GrooVe IP, figured I'd respond. Did you try the echo canceler setting in the GrooVe IP audio/echo settings? Enabling that should get rid of echo heard by the person you're talking to. And/Or reducing the mic gain & speaker volume.
snrb Labs said:
Since you mentioned GrooVe IP, figured I'd respond. Did you try the echo canceler setting in the GrooVe IP audio/echo settings? Enabling that should get rid of echo heard by the person you're talking to. And/Or reducing the mic gain & speaker volume.
Click to expand...
Click to collapse
Already tried that, and every option in between, including the manual millisecond settings.
Viber has amazing quality...not sure if you can use it over 3g or 4g though.
lowandbehold said:
Viber has amazing quality...not sure if you can use it over 3g or 4g though.
Click to expand...
Click to collapse
Viber is not a true VOIP solution, as you can only call other people using the Viber app. Here's an excerpt from the Viber FAQ...
Q: Can I call people who don't have Viber?
A: Yes, if the person you're calling doesn't have Viber, the call will be placed like *regular call, but don't forget to invite your friends to Viber so your next call is free . *Regular calls are calls placed through your cell phone service provider, using your cell phone rate plan.
That's pointless...I need to call any phone number (land line, mobile, cell, work, etc) in the USA from my Google voice number using only a 3G/4G connection. I really need to find that one or two providers that use a low enough bitrate for voice that can work fine on 3G without being echoey or choppy (this is why I posted the 3G sample voice-mail above). I would just install the Google Voice callback app, but I do not have a 'Friends & Family' option for my cell plan to add my GV number to, which is essential for that to be feasible.
Is this really not something a lot of people have dealt with? I know I am not the first person in the world who has tried to call via VOIP over 3G - the technology has been around forever. Anyway, still need an answer if anyone has one
crobs808 said:
Viber is not a true VOIP solution, as you can only call other people using the Viber app. Here's an excerpt from the Viber FAQ...
Q: Can I call people who don't have Viber?
A: Yes, if the person you're calling doesn't have Viber, the call will be placed like *regular call, but don't forget to invite your friends to Viber so your next call is free . *Regular calls are calls placed through your cell phone service provider, using your cell phone rate plan.
That's pointless...I need to call any phone number (land line, mobile, cell, work, etc) in the USA from my Google voice number using only a 3G/4G connection. I really need to find that one or two providers that use a low enough bitrate for voice that can work fine on 3G without being echoey or choppy (this is why I posted the 3G sample voice-mail above). I would just install the Google Voice callback app, but I do not have a 'Friends & Family' option for my cell plan to add my GV number to, which is essential for that to be feasible.
Is this really not something a lot of people have dealt with? I know I am not the first person in the world who has tried to call via VOIP over 3G - the technology has been around forever. Anyway, still need an answer if anyone has one
Click to expand...
Click to collapse
I'm also an early adapter of GV voip service.
I'm using Dell streak 7 (dual core 512 mb ram, horrible software config, honeycomb 3.2)
I manage to have stable voip quality with clear portable 4g hotspot connected through wifi. Unlimited calls and data, pretty cool. However, talking through a bluetooth device and 3GHSPA+ have been horrible. My friends keep complaining about bad call quality until I find this issues. If calling through wifi (I use groove ip) with internal mic and speaker, everything is fine. I guess it's either due to bad hardware coding of the streak 7 or due to the narrow bandwith of the bluetooth 2.1 or 3G. I'm not familiar with the tech details of streak 7.
I'm gonna try the new nexus 7 and sony xperia z ultra to see if any issues above can be solved.

CM10 / Wifi Calling work around (Using google voice)

Just wanted to throw this out here... for those of us who want to run CM10 but depend on WiFi calling because of coverage issues.. here's something I've done that works great
Basically we're going to be using Google Voice (For the phone provider) that's linked to a SIP account (SIP is the standard for VOIP), and we're going to use Conditional Call Forwarding to ensure calls go to our google voice number when we don't have server, but connected to WiFi.
First, you need a google voice account. Once you have created an account, make sure you log in/place a call at least once using Gmail (In the google voice phone settings, there's an option to have it forward calls to "Gmail", you want to make sure that's checked as well)
Okay, once you've done that, and you have made a test call... you need to sign up for this Google Voice SIP gateway https://simonics.com/gvgw/
This will, in a nutshell, establish a gateway between google voice's gmail call interface, and a SIP account. This will allow you to use a SIP account to make calls through your google voice number. Make sure you write down/store the information the Simonics gateway gives you once you sign up, you cant get it again!
After you register with the Simonics gateway, you will be given a SIP server, a username, a "secret" (Password), the registration string isn't important unless you're going to be using Asterisk, which we are not.
Now, once you have all this information, download the app CSipSimple (Best SIP client on android) https://play.google.com/store/apps/...lt#?t=W251bGwsMSwxLDEsImNvbS5jc2lwc2ltcGxlIl0.
(Optional)
You can also get the codec pack, which will give you a wider range of codecs to use.. but I find the default just fine.
https://play.google.com/store/apps/...5jc2lwc2ltcGxlLnBsdWdpbnMuY29kZWNzLnBhY2sxIl0.
Okay! Now that we have all that done, we're going to configure CSipSimple to connect to the Simonics google voice gateway. CSipSimple has great integration with the stock dialer. Open up CSipSimple... the initial config will pop up, here you can choose to integrate it with the Android dialer (which I recommend if you're replacing wifi calling), select "Available on WiFi" (Unless you want to use this over the cellular network as well, to save on minutes, only uses data) and you can also choose if you want to allow CSipSimple to operate over mobile networks (I'm allowed to use mobile, is the option name) pick your options, then save. Now you'll be presented with a list of VOIP providers etc.. scroll all the way down and select "Advanced" configuration.
Account name: Anything you want
Caller ID: Anything you want, but I suggest either your mobile # or your google voice number
Server: Whatever the Simonic's gateway provided you, this can be different so make sure you wrote all that down!
Username: What the Simonic's gateway provided you
SIP Authentication ID: Leave this blank, it will default to the username.
Password: the "Secret" the simonics gateway provided you
There will be a checkbox that asks to use TCP instead of UDP. If you're going to be taking incoming calls on this often, I'd recommend using TCP (it's much less battery intensive than UDP). UDP is the preferred method, but it will use a LOT more battery if you plan on being connected often.
Proxy: same exact thing here as "server", example: mine is gvgw3.simonics.com
Save that.
If everything is correct, after you save the account should register, and turn green showing "registered"
Okay! Now we can make calls using our google voice account, so let's test it and make sure it's working. Go ahead and hit "Accounts" at the top left (The "back" arrow) or simply hit the back softkey. This should take you to the dialer (This is CSipSimple's dailer, but CSipSimple has also integrated with the stock dialer, so when you make a call a menu will pop up asking if you want to use your Google Voice SIP gateway account, or regular mobile network.. if you don't want this menu every time you make a call, I suggest turning off the "I'm allowed to use mobile network" feature and turn off android dialer integration)
Dial this number: 1 354 415 1595 - This is what's called an ECHO test line, it's a regular land-line number.. you should hear a voice saying hit "1" for an ECHO test, "2" for music on hold. Hit the 1 key, and start talking. You should hear an echo of your voice... if you hear yourself talking, GREAT! Outgoing calls are working!
Now we want to configure what's called Conditional Call Forwarding/Unconditional Call Forwarding so that all calls to our mobile number will be forwarded to our google voice number when we do not have a signal (or in the case of unconditional, always), you can also set up what's Unconditional Call Forwarding... this is useful if you want to have calls forwarded to your google voice number no matter what. I usually turn off the radio when connected to WiFi though (saves a lot of battery), to ensure I don't have a mobile signal ****YOU WILL NOT RECEIVE TEXT MESSAGES IF YOU DO THIS****, so it's up to you if you want to turn the radio off or not. If you don't, you'll need to use unconditional call forwarding.
Now here's the deal: WIth T-Mobile, Conditional Call Forwarding (THIS IS VERY IMPORTANT) is limited to a total of 500 minutes per billing cycle. It doesn't matter if you're on unlimited, 1000 minutes, whatever. You get a TOTAL of 500 Conditional Call Forwarding minutes each cycle. Yes, it sucks. But that's what we have to deal with if we want to use CM10 with functional wifi calling that rings you when someone calls your mobile number. If you want to avoid using these minutes, you can simple call the person back (Using your SIP account), or give your google voice # (instead of mobile number) when someone calls you, and have them call you right back. ALSO, Conditional Call Forwarding is what forwards calls to your voice mail, so if you use it, MAKE SURE TO SET IT BACK TO THE NUMBER IT WAS AT ORIGINALLY, OR CALLS WILL NOT GO TO YOUR VOICEMAIL. You can see what this number is by using the short code # # 62 # in your dialer, using your mobile network.
There's several modes of conditional call forwarding. Forward if BUSY, Forward if NO REPLY, Forward if NOT REACHABLE (no signal). You can set up forwarding to your google voice for any of these, but I only recommend NOT REACHABLE, because it simply doesn't make sense for the other two. There's several ways to configure call forwarding. I recommend using the stock dialer's built in feature, but you can also use Short Codes to activate it. Open the stock dialer, click the menu button, then settings. Near the bottom of the Settings, there should be a "Call Forwarding" option. In there you'll see all three forwading settings (Busy, not reachable, unanswered) as well as the original number it's set to (your voicemail). All you do is simply change the "Forward when unreachable" to your google voice number. Remember, for this to be in use 100% of the time you're on WiFi, you will have to turn off your cellular radio. If Text Messages are important to you, I recommend using UNCONDITIONAL (Always Forward in the dialer->forwarding settings).. this will have calls forwarded to your google voice number NO MATTER WHAT, so make sure you turn it off when you leave WiFi.
Unconditional Call Forwarding, on the other hand, deducts from the minute plan you subscribe to. You can still use the above methods to avoid using your minutes, but just be aware that if you use unconditional call forwarding it WILL deduct from your minute bucket.
Please be aware that you have to have a mobile signal to configure call forwarding, so you need to turn it on before you leave service/enter wifi, or simply always have Unconditional Forward if Not Reachable forwarded to your google voice number. Honestly, I use Google Voice for my voicemail as well, so I have all three of my forwards always set to my Google Voice number, you might want to consider this option as well, as it makes it much more seamless. You can use the Google Voice app for visual voicemail as well as free transcription, and it's much much better than T-Mobile's solution.
Here's a list of short codes for call forwarding: http://support.t-mobile.com/docs/DOC-4319
These are very useful if you plan on using Tasker to automate any of this (This is what I do, to make the process very seamless when I enter WiFi)
I know this isn't nearly as simple as the stock wifi calling solution, and it doesn't integrate nearly as well... but it works. Once you have this configured, you'll be able to receive/make calls on WiFi without issue. You'll also have a method of calling using your data connection that doesn't use minutes if you need that, as well. There's other ways to do this, such as using an app such as "Groove IP" or "Talkatone", and those work very well. I prefer the SIP gateway method, because I can configure a SIP softphone on any number of devices, including my android device. For those standalone apps such as "Groove IP", you would do pretty much the same thing, but you don't need the Sip Gateway, and you also wouldn't need CSipSimple (which I find is superior to all the other VoIP apps)... all you would do is simply configure Unconditional/Conditional call forwarding to your Google Voice number and use whatever app you want. You could also use Android's build in SIP functionality (it's built into the dialer!) But I find it very unreliable and couldn't get it to register reliably with the SIP gateway... but that might be a great option as well.
Please title this correctly.
This is 'How to get Google Voice working on your phone'... Not a viable workaround for 'cell-service-over-WiFi' style wifi calling.
Notes:
1) Monthly4G customers DO NOT HAVE conditional forwarding
2) This does not allow you to recieve MMS.
3) The only way you can use google voice with your real mobile-number is if you port it to Google, at which point you will never get MMS at that number again (because GV can't handle it properly)....
Now, does it work to have a usable phone at home w/o service? Sure, on a different number & with limited messaging...
But it is not a true WFC workaround.
dcacklam said:
This is 'How to get Google Voice working on your phone'... Not a viable workaround for 'cell-service-over-WiFi' style wifi calling.
Notes:
1) Monthly4G customers DO NOT HAVE conditional guys over on nal forwarding
2) This does not allow you to recieve MMS.
3) The only way you can use google voice with your real mobile-number is if you port it to Google, at which point you will never get MMS at that number again (because GV can't handle it properly)....
Now, does it work to have a usable phone at home w/o service? Sure, on a different number & with limited messaging...
But it is not a true WFC workaround.
Click to expand...
Click to collapse
Well yeah I'm quite aware of the limitations. There's really no other viable alternative at the moment. Maybe someone can get the kineto app and libs from the sensation working but I highly doubt it, as the guys over on the sensation forum have been trying for a while now... Basically it's up to t mobiles, haha. I believe the only working device with jelly bean and wifi calling is the note 2, and sgs3....and once again its deeply embedded within the touchwiz framework.. The guys over on sgs3 forum even have a 350$ bounty for a non touchwiz working port. Doesn't look very promising but it's to be expected with something like uma... Maybe someone will figure it out. For someone who works in a complete t mobile dead zone, the only other viable option is sticking with Ics, and that's simply not something I want. Then again, I've always basically given my gvoice number out, and no MMS is very little impact considering you can send stuff over email, and every single carrier seems to have an email gateway... It is a major pain to have people send stuff to your Gmail acct. Instead of regular MMS, though,.... It's definitely not Ideal but it's a lot better than no service, an using ICS/sense builds.
I wasn't aware that monthly 4g didn't get conditional, kind of sucks. Could always use unconditional, if most people use your mobile number you would completely be dropping messages so i do understand the hesitation on that. I've been wanting sms/MMS. Forwarding options for a long time now, would be nice if carrier sms could utilize xmpp or sip messaging to handle sms forwards, but sms is another huge hack job that sorely needs replacement and MMS just a fancy if not severely limited email.
So yeah man, not many other options out there right now. If you're someone who relies on sms/MMS heavily and most contacts use your mobile number, I can definitely see where that would be an issue. Most people I communicate with on a daily basis are very tech oriented, so it's honestly not that big of a deal breaker (to me). I've just found that the Sip gateway and CSipSmple work orders of magnitude better than any stand alone app implementation. If you have any alternatives (besides using ics/sense builds) I'd love to know them, I was a huge user of wifi calling (about. 70% of all my calls) so i'm open to try everything.
Lol get your friends and family to get viber you get to keep your number and sms and MMS and since these days every one has a smart phone an app like viber is quite nice especially if everyone had it on their phones... That's what I use when I don't have signal and have told friends and family to reach me on viber if they can't otherwise
Sent from my Amaze 4G using xda app-developers app
ericdjobs said:
I wasn't aware that monthly 4g didn't get conditional, kind of sucks. Could always use unconditional, if most people use your mobile number you would completely be dropping messages so i do understand the hesitation on that. I've been wanting sms/MMS. Forwarding options for a long time now, would be nice if carrier sms could utilize xmpp or sip messaging to handle sms forwards, but sms is another huge hack job that sorely needs replacement and MMS just a fancy if not severely limited email.
Click to expand...
Click to collapse
If you use 'unconditional forward' then you will never get another call again. All your calls will be forwarded to G-Voice, which will send them to G-voicemail.
We'll see about wifi calling.
BTW, the Kineto/UMA app does run on our CM9. There's a kernel driver missing for GAN, and of course CM9 does not have data. It crashes on CM10 because of a missing native library for audio-recording...
The Movial/IMS app (From Amaze Stock) runs on CM10 but the setup screen is full of sense rubbish... However the Sense rubbish might be wrapp-able back to stock-Android, but that is a long-shot...
Skip all steps and install groove ip. And sign in with your Google voice login
Sent from my HTC_Amaze_4G using Tapatalk 2
dilfatx said:
Skip all steps and install groove ip. And sign in with your Google voice login
Sent from my HTC_Amaze_4G using Tapatalk 2
Click to expand...
Click to collapse
Yeah you can do that if you want, and it's definitely a much more simpler approach and it should be sufficient for most people.
But the SIP method gives you much more flexibility, like the option of using Speex/GSM codecs (which compensate for jitter and packet loss) while Groove IP hooks directly into the google talk API, thus you are stuck with G.711 mu-law codec, and that's not the best option all of the time. Using Speex/GSM codecs will give you slightly reduced call quality but much better reliability and they are much more resistant to congestion network situations or high latency.. it's a better calling experience all around IMO.
Also, using a SIP solution you're able to hook into an asterisk server if you so desire (which is important to me, personally) and manage multiple lines using one softphone.
At the end of the day though, if you have access to fast, reliable wifi whenever you need to make calls, Groove IP gets the job done just fine. But for someone who wants a lot more functionality and features, using the SIP gateway will provide that. Also, you can use it as a trunk for an asterisk server, for those of us who utilize that sort of thing.
Android stock dialer
Hi, thanks for sharing this! I was wondering if there's a way to configure this directly in Android's stock dialer (just as can be done with pbxes.org)? Thanks!

[Q] Android App Suggestion Needed : Communications Hub

Hello
I will be travelling to another country, however I wish to keep my (home country) current mobile connection (number) active since a lot of local (banking etc ) services and sms alert notifications are received on my home country mobile number.
I plan to keep my mobile switched on and hooked to the charger to let it run :
Hence I am looking for an Android App to :
1. Monitor the incoming calls and selectively based on rules either decide to offer a IVR recording to leave the message (recorded on the SD card in wav or amr format) OR forward the call to another predefined number (presumably my cell number in the visited country). The caller wont have to pay the charges for international calling, since the outgoing call from the cell is originated and the caller and receiver are connected as if being on a conference call.
2. Similarly monitor the incoming SMS and based on rules either store locally or forward to predefined international number.
3. For point number 1, an option to upload the recorded voice messages to an online service like google drive or dropbox, with the filename containing the caller number/name and date/time of the call, and delete from the phone after a successful upload. This way I can retrieve the voice messages via internet instead of using the mobile operator voice recording service.
Back in the days on my Nokia N95 there used to be an excellent symbian application which was able to do most as described above and more, I am looking for a similar type pf application on android.
I have seen that an app exist https://play.google.com/store/apps/details?id=fahrbot.apps.blacklist&hl=en but it is more focused on the security and blocking aspect .
I am looking for an app which let you run a mini PABX on the mobile to offer similar functionality.
Does anything like this exists...Need your guidance and suggestion to find the correct app.
P.S :
The company making the symbian app, is maybe out of business but you can read about this excellent app (Interactive Voice Call Master) over here http://my-symbian.com/s60v3/software/applications.php?faq=1&fldAuto=156
Thanks.

Categories

Resources