yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] okyere:
(IPComms or Sipgate) with Sip Sorcery

Thanks for your detailed guide.

For more than two years now, I've had great success with these two setups:

GV -> Sipgate -> Sipsorcery

GV -> IPComms -> Sipsorcery

When I did these, Sipgate, IPComms, and Sipsorcery all had options for one free account.

Both Sipgate and IPComms will give you a US number (with free incoming calls) to forward GV calls to. But in addition, they also have a sip endpoint. So if you have a sip or softphone that can register sip accounts, you're done. Free incoming calls all day!

Now you ask, 'what about dialing out?' How do you make call to other people? This is where Sipsocery does its magic.

Sipsorcery basically handles all your SIP registrations. So you can have multiple sip accounts with different providers but Sipsorcery will converge them all for you and provide for you ONE (or however many) account to register. But the most important function of Sipsorcery as far as GV voip setup is concerned is the ability to dial out via your one sip-sorcery account. There's a dial out plan specially made for google voice. So you don't have to worry about initiating the call from your browser. Sipsorcery uses scripts to initiate the call to google's servers and when a response is achieved, it will call you. From your end, it is all seamless.

So now, you take this sipsorcery information and register it in your sip phone of your choice. For me CSipSimple is a must. I've used it since my Nexus One days up until now with my Nexus 4. If you're willing to put in a little time to understand how sip, codecs, etc work, you'll be rewarded. The developer is very responsive about bugs and comments too.

Unfortunately, the last time I checked, Sipgate was not handing out the free versions of Sipgate One anymore. I read that they'll resume soon though. IPComms have since eliminated their free accounts too. And then Sipsorcery has also stopped giving the free account for a while. They have $35 for a year though. I feel very lucking to have found these services earlier.

https://code.google.com/p/google-vo.../wiki/09_SIP_Sorcery_Integration_with_IPComms

https://code.google.com/p/google-vo.../wiki/07_SIP_Sorcery_Integration_with_sipgate

Before I went this route, I tried IP Kall and I was not impressed even after buying the full version. I had sound quality issues with Callcentric too. Then, PBXes and server just seemed to introduce many breaking points (just my opinion). I like things as simple and direct as possible.

So there. If anyone wants more information about my setup, I'll be glad to answer questions.
[Nexus 4 General] jeraldbro:
So besides Sipcocery converging all your accounts into ONE account and now probably having to pay for your setup. What are the benefits of your setup?

Latency? Different codecs? Call quality? Reliability? Tcp?
[Nexus 4 General] Demonic240:
Sorry to hear that you're having issues when on mobile data. Since I've started not using Bluetooth, I've noticed that while on mobile data, it's actually clearer than when on Wi-Fi and there's hardly any delay. You could just be in a bad mobile area which I pass through a couple on my drive from work to home.
[Nexus 4 General] okyere:
Like I mentioned in my original post, the main benefit of Sipsorcery is the ability to dial out without having to initiate the call from a the GV website or a third party app. Because really, if you only have one sip account with one provider, then that function of Sipsorcery is rather redundant.

From my tests, there's as much latency as you'll experience with a regular gsm call with AT&T or T-Mobile - not noticeable by any of the parties.

I can't speak enough about the call quality. For me it is as if you're having a regular phone conversation. Before I knew about codecs, I had complaints about static sounds. So I learned more about them and went with G729, GSM, and iLBC in that order. Sipgate supports them all. Sipsorcery does not manage your codecs; your provider must support the codecs you choose to use in the app (CsipSimple).

It is reliable. Once every six months or so, Aaron, the Sipsorcery guy will push updates to the servers and reboot them. That will take 30 minutes or so. He'll notify users via the twitter and G+ account before any such thing happens.

I've never had to mess with TCP or UDP settings.
[Nexus 4 General] acegolfer:
The bad VoIP call quality is primarily due to N4's hardware limitations. https://code.google.com/p/android/issues/detail?id=41626

It also has been discussed in Galaxy Nexus forum that GN is the better VoIP phone. Several people have moved back to GN.
[Nexus 4 General] chdloc:
I believe hp420 is describing what I have been observing with SIP calls initiated on my Nexus One as well. Receive audio is fine while send audio is breaking up badly. I have at least one instance "on tape" where I can prove that poor send quality (dropouts worth several seconds at a time) is not my phone's fault.

The problem most likely lies in the fact that we are using VoIP services without any form of SLA (service level agreement). Whether between Amazon EC2 and Google and Google and PSTN backbone providers, or PBXes and Google and PSTN backbone providers, etc. The whole thing is complicated by the fact that there are multiple parties involved which makes debugging very difficult (and a crap shoot in terms of to-be-expected audio quality). Real-time audio transport over IP is non-trivial, especially once the voice packets have to compete will all kinds of other resources (CPU, bandwidth, etc) "in the wild".

Bottom line: you get what you pay for which is in this case, sadly, not enough (at least for me) to even consider abandoning my cellular plan
[Nexus 4 General] acegolfer:
I consider VoIP as a complement not as a substitute for cell plans.
[Nexus 4 General] chdloc:
I understand that individual mileage varies, but after having witnessed the hit-or-miss transmit quality offered

by the residential-level VoIP services I tested so far (Google Voice and voip.ms), I currently would not consider VoIP

even a complement to cell service or other voice lines based on dedicated infrastructure (such as cable provider networks or Skype).

Enterprise-class (or managed) VoIP on the other hand is a totally different story.

Anyway, keep up the great work, acegolfer!
[Nexus 4 General] ramo200:
First of all, great instructions on how to do this.

I'm a bit of a newb so bare with me. Okay I'm registered to csipsimple on my phone. I added my callcentric DID number to GV and I could get incoming calls. However, I'm still unclear on how the outgoing calls work. Do I use the csipsimple dialer or the regular dialer when dialing outgoing calls so it won't use my T-Mo minutes?
[Nexus 4 General] ptrm2:
When google voice calls to verify the number I click answer but it does not answer so I cannot verify it :crying:
[Nexus 4 General] Ayni:
Either one will not use your T-Mo minutes. If you use csipsimple dialer it will forward to pbxes and if you use the regular dialer will be intercepted by pbxes as well.

---------- Post added at 09:10 PM ---------- Previous post was at 08:58 PM ----------

Does anyone know where should I be getting the calls from? Sometimes I get them through CSipSimple and others through Sipdroid...

I've followed all the directions in the main post and everything went fine.

Thanks
[Nexus 4 General] Warbuff:
After you have csip set up you can get rid of sipdroid
[Nexus 4 General] Ayni:
That makes sense. I have two questions though, if you can clear for me:

1. Does CSip is/works better than Sipdroid? In which way/s?

2. The guide says to uncheck the option to forward calls to GoogleChat and forward only to Callcentric(CSip). Now, when I do that I get a script saying if I want to accept the call. How do I get rid of it?

Thanks again
[Nexus 4 General] Warbuff:
Csip has more inbuilt support for me codecs. It also has more customization.

I'm misunderstanding your last question. Can you explain?
[Nexus 4 General] Ayni:
Thanks.

In the guide says to only forward GV calls to Callcentric number. But when I do that, at the moment I pick up a call, it asks me to press 1 if I want to accept the call. After uninstalling Sipdroid I've noticed it doesn't ask me anymore that question but it asks me something different. Something like 'to prove you are not a machine.. press 1.. something around that. However it's not all the time.

I've also noticed that CSip crashes sometimes when I pick up a call and it forces to close after a few seconds, however the call stills on. I've noticed it only happens with iLBC codec. I'm using a Nexus 4.

Are this common issues when using VoIP? Or there's something wrong with my setup?

Thanks
[Nexus 4 General] Pkt_Lnt:
The "Press 1" is call screening, turn it off in Google Voice settings via your browser, no way to access that via mobile.
[Nexus 4 General] Ayni:
It was off. There must something else.
[Nexus 4 General] Pkt_Lnt:
Let us know what it is when you find it, the GV call screening is the only cause of this I have found in my brief months of using Sipdroid/PBXes and now many months of CSipSimple/voip.ms.

I'm not using the CallCentric gateway, maybe a screening or VM setting there or PBXes?
[Nexus 4 General] post-mortem:
Turn it back on, wait a while, then turn it off again. See if that works.
[Nexus 4 General] ramo200:
I'm still stuck with this. Incoming calls is not a problem. They come very clear according to the folks I talk through with. But for the life of me, I cannot make an outgoing call. Everytime I make one, the operator always says "your call cannot be completed as dialed". I reviewed every step and I still am at a lost. Anyone can help?
[Nexus 4 General] ttabbal:
Check the outbound routes on pbxes. That's usually the problem with that message. Unless it's coming from GV, you can use SIP debug logging on pbxes to find out for sure where the call gets to.
[Nexus 4 General] ramo200:
All I see for outbound was to enable Gtalk, which I did. Still nothing. As for GV, I have Google Chat disabled and I enabled my callcentric DID number to forward.

I'm still not able to place an outgoing call. The only outgoing call I can make is the pbxes.org echo test (*43). I'm at a lost.
[Nexus 4 General] Ayni:
I'm not 100% sure what fixed it because I've been changing many options, but must have been the call screening as I've turned on/off many times and at least today I haven't get any message like that.

I think that could have been the problem. Thanks.
[Nexus 4 General] danlo:
Why not use the pbxes.org wizard instead? It's under the world wide provider section.
[Nexus 4 General] acegolfer:
Check your transport setting in expert mode. It should match what you set in network settings.

My account setting is default except for voicemail which shouldn't affect registration.
[Nexus 4 General] bluespire:
I just said the template (wizard if you will) doesn't work for me.

---------- Post added at 02:11 PM ---------- Previous post was at 02:06 PM ----------

I figured it out. For some reason, it wasn't accepting the password I used for the extension. Changed it, and it works now. Sorry for the confusion. I found this, and thought that might be the problem.

---------- Post added at 03:09 PM ---------- Previous post was at 02:11 PM ----------

I found another problem now. I got everything working on WifI using PCMU. All tests completed. I made sure audio bypass is set in PBXes. However, when I tried to use 4G using iLBC, it keeps locking up and/or crashing CSIP. I tried iLBC on WiFi, same results. Anybody else experiencing this? Do the nightlies fix this problem, or is my setup bad.
[Nexus 4 General] acegolfer:
Try nightly.

Also try register with callcentric directly.
[Nexus 4 General] bluespire:
I thought you said to register with PBXes only.
[Nexus 4 General] jeffmhasty:
How is everyone signing up for callcentric? When I go through the order process it wants to charge me $1.50 for 911 service if I use it in the US. Should I just say "no" to whether or not I'm using it in the US/Canada?
[Nexus 4 General] acegolfer:
If it works with callcentric, then we know it's pbxes issue.

If it doesn't, then it's sip client issue.

You won't know the root cause till you change the setup.
[Nexus 4 General] acegolfer:
I said no. My 911 call goes to tmobile.
[Nexus 4 General] acegolfer:
It looks like you need csipsimple nightly.

I tried the play store version on galaxy s and it crashed. The nightly worked on a 2yr old phone.
[Nexus 4 General] c0LdFire:
How does this compare to the native SIP support? I'm currently using GrooveIP, which had a plethora of issues on my Galaxy Nexus, but seems pretty flawless on my Nexus 4. The basic echo canceler is really all I need to have it sound fine on both ends. Granted, I only use it on WiFi, not over cellular - but 99% of my calls are from home or work where strong low latency 30-50mbps WiFi is available.
[Nexus 4 General] c0LdFire:
I'm trying this out with the steps provided above precisely, but the call quality seems worse then that of GrooveIP. Going to play with it for a bit. Very interesting, but seems a bit too complex for what's being accomplished.
[Nexus 4 General] kurigowa:
Thanks for the guide! I had to play with the incoming call routing settings to get it to work. The iLBC codec sounds better than most low bandwidth codecs but still sounds worse than PCMU/A but over 3G probably best option. Also, Vonage app appears to have better quality
[Nexus 4 General] lanbladez:
Tried to do this, got a callcentric free DID. Then when I try to register to google it says number in use, and cannot get it to verify. Has anyone had this problem?
[Nexus 4 General] Hawksfan21:
I am having the same issue. Tried a dozen ways but it won't register

When I installed the nightly instead of the play store version it registered no problem
[Nexus 4 General] c0LdFire:
My main issue with using Callcentric is that I have to press 1 to answer an incoming call. It sounds petty, but... it drives me nuts. Is there any way to get around this?

Right now I'm just using the GSM codec for slow networks. It's not TOO bad and still works over EDGE. Most of my calls are over WiFi anyway. What are the actual benefits of iLBC over GSM, besides sounding a tad better? Does it use less bandwidth? Better handling of latency issues over poor network connections?
[Nexus 4 General] figuremania:
I signed up on callcentric.com but I'm unable to see any kind of information in "DID forwarding" in preference. It's just empty as if it's not available for me.

Am I missing some step?
[Nexus 4 General] lanbladez:
Did you sign up for a free DID number, you might be missing that step?
[Nexus 4 General] Hawksfan21:
Finally got everything working. Great guide.
[Nexus 4 General] figuremania:
hmm.. pardon my noobness.. I just signed up for free account since I could not find anything that looked like free DID account as mentioned by OP. :(

What should I do to get DID number?

I think I know now but I stupidly pressed yes when it was asking location for 911 service and now it's stuck whether I clear it from cart or not. Ugh...
[Nexus 4 General] lanbladez:
Ok, problem solved partially, setup working. Tried to do step 7B and it was complete failure, not sure where the problem is currently in creating that callcentric trunk. Tried step 7A and it worked first time, will try this setup to see how the call quality is.
[Nexus 4 General] Ayni:
shnovem used

CSipSimple crashes with iLBC codec! it just stop responding (freezes) and then gives you the option to force close.. Anyone having that issue?

Works fine with other codecs though.
[Nexus 4 General] acegolfer:
OP says

#9. Install nightly version csipsimple app from http://nightlies.csipsimple.com/trunk/. The play store version crashed with iLBC.
[Nexus 4 General] Ayni:
You right! I first installed the Market version to try and then I completely forgot it. I just did tested myself and so far it's working great. Hope it stays like that. Thanks.
[Nexus 4 General] okyere:
Yes, there was an update in 01/2013 that fixed that problem. I have reverted to the market version myself after being on the nightlies for a little more than a year.
[Nexus 4 General] Ayni:
Well I had the latest version (I installed it just few days ago) and it was still having that issue of crashing with iLBC..
[Nexus 4 General] umassboston:
It Helps a Lot!!

Hi Acegolfer,

First of all, I'd like to thank you for posting such helpful and detailed info. I almost gave up after months of web search for something like this. I was using Groove IP back then. I only have few problems which I encounter after setting it up.

1. I'm not able to received my voicemail from GV anymore.

2. I keep getting the voicemail notification as "voice mail Pbxes.org:7." from the notification bar. I guess the number "7" indicates how many voice mail are in "there", but I don't know where I can retrieve them.

3. and what's funny about it is when I pressed it, my phone dialed to the pbxes echo test *43.

Not sure what I did wrong. I have nexus 4 also with the CM10.1 Nightly Mako.

Thanks for your time again.
[Nexus 4 General] ogp:
I've been unable to figure out how to check voicemail on pbxes.org. But I've just disabled it as I want Google Voice to handle voicemail anyway. You can disable voicemail & directory under your Sipdroid extension on pbxes.org. But I still don't know how to delete the old voicemail. I'd assume there is some way to do it via the web but didn't find much in my searching....
[Nexus 4 General] Warbuff:
The problem is that csip has the wrong voicemail code for pbxes. If you have your voicemail enabled in pbxes just dial *97 or might *98 from there you can access the voicemail and delete it. After it's deleted you can go ahead and disable voicemail on the website.
[Nexus 4 General] ogp:
My mailbox would be my Sipdroid extension (200)? Any idea what the default password is? I assume we enter this and follow with a #?
[Nexus 4 General] Warbuff:
I don't remember what the default was. When I dialed one of those two numbers It didn't ask me. So if it's not *97 then it is *98
[Nexus 4 General] lacoursiere18:
hey guys

New here and I was trying to follow the guide. I have a HTC thunderbolt and was trying go through the steps of using option #4 and I am stuck after setting up account linked through GV. I installed sipdroid and setup up free account option on the bottom, but when I do that I am not able to make phone calls. I get an automated message saying "call can not be completed, please try agian later". Any solutions. My passwords are the same for pbxes.org and google voice... Thanks in advance

EDIT: Ok I got it to work I had 2 step verification problems.. Thanks so much for this guide I am trying to decide if I want to do this and switch to a nexus 7 3g as my phone... Thanks again

Sorry editing again.. after all is set up do you need both applications..sipdroid and cipsimple?
[Nexus 4 General] TrIn@dOr:
Or just pay $15 more ($45 total) and get all unlimted on StraightTalk/Net10 with ATT chip.
[Nexus 4 General] EleventhHour2139:
Only, its not really unlimited. At least, not in any usable form.
[Nexus 4 General] Lockeskidney:
been using this for a couple months now. It has its serious issues but its working for me. The biggest issue i have when its working is the lack of noise cancellation on my mic. Does using cis cancel out the phones noise cancelling capabilities?
[Nexus 4 General] Pkt_Lnt:
OP

http://xdaforums.com/showpost.php?p=35701104&postcount=1

Under

VI. LIMITATIONS

read the part that begins with

"4. Nexus 4 VoIP issues."
[Nexus 4 General] z28james:
T-mobile pre-paid can roam in Canada. Sometimes It's not all about cost.
[Nexus 4 General] pedxing:
One thing that may help is changing the mic source. In csip go to settings, media, audio troubleshooting, mic source. Change to voice recognition or camcorder. You may want to try different ones.
[Nexus 4 General] ogrillion:
So searching got me no where. But question: are some of you actually able to receive calls when on wifi and the screen is off (phone in deep sleep)?

If so what rom / kernel?

Mine has never rung on wifi makes this whole setup useless for me unless dialing out :(
[Nexus 4 General] lacoursiere18:
Agree I have also noticed the same problem..
[Nexus 4 General] Pkt_Lnt:
On a GNex with RBJ and Trinity (links in sig). I use Better Wifi On / Off

http://xdaforums.com/showthread.php?t=1801284 see the Whitelisted SSID setting.

CSipSimple has Keep Alive settings (discussed above extensively) to adjust. I also use High Performance Wifi Widget and AutoAP discussed in the "Smartphone service for $30/mo" thread.

http://xdaforums.com/showthread.php?t=1646755.

My wifi connects, HiPerf Wifi activates, AutoAP activates, Voip.ms registers, and stays connected at home; I have also used all the QoS settings in my router that runs Tomato firmware (useful for any router that runs a custom OS http://mrmatt57.org/qos-for-soho-voip-solved-tomato-firmware/).

I've found it will work at Starbucks, but due to congestion and no QoS, it is noisy, so I keep it out of my SSID whitelist.

A reliable voip setup is not plug and play, it requires plenty of tweaking and testing and configuring to get it, but we are all geeks or technoweenies here, right? :D

I'm using GV -> DID (voip.ms) -> CSipSimple if voip registered -> TMo cell number if not registered, and now it just works, but it took four months to get there. I tried routing from voip.ms to pbxes to get iLBC and TCP instead of UDP signalling, but it added latency and minor battery savings, so I am happy with G729 on wifi. I do NOT do voip over cellular data, because I live in rural coastal California with minimal 3G. I have very weak signal at home, hence my efforts to get VoIP to work there.
[Nexus 4 General] plee3:
Is there a guide on how to configure voip.ms -> CSipSimple if registered -> T-Mo if not?

Thanks... plee3
[Nexus 4 General] jpjrlive:
i use magicjack.. would this be something simillar?
[Nexus 4 General] Pkt_Lnt:
Yes the voip.ms wiki is excellent, far better than the one at pbxes.

http://wiki.voip.ms/

then choose Guide [English] on the left.

First, I set up my gnex as a sub account, though not needed, unless you want to have calls directed to different devices, now or in the future.

http://wiki.voip.ms/article/Sub_Accounts

Then, Manage DID, so the call goes to my SIP subaccount, based on my main voip.ms account of course.

http://wiki.voip.ms/article/Manage_DID

Then look at Failover, and I have it forward to my TMo number on Unreachable (no registered) or No Answer.

(attached)
[Nexus 4 General] pedxing:
I'm now on asterisk but also experience problems getting calls while on WiFi after the phone gone to sleep.

I'm using the acegolfer method of forwarding gv to BOTH gtalk (whatever your sip method is) and the phone via the carrier. When the phone is awake, csip pops up first... Just answer it and it will automatically terminate the carrier call. If the carrier call and the normal dialer pops up in the foreground then I use a custom Google ring activity (where Google now appears) using AOKP ROM set to "last app". This allows you to flip back to csip from the native dialer quickly. Normally the native dialer is locked down...even the notification bar swipe down doesn't work until the call is answered or declined. If you decline it on the native dialer it will terminate the call on sip as well. However the Google ring is still active at the bottom of the dialer so a custom action will work.

I found you must use last app rather than csip directly because the csip default activity will drop you into the dial pad not the answer screen.

This method, though a kludge, will work on any kernel and most custom ROMs and will not waste battery like the WiFi lock apps or settings.
[Nexus 4 General] blahblahyoutoo:
yup, I just keep a decent balance on my t-mobile pre-paid and use that if I go over my allotted minutes. Less headaches, better call quality, better battery life and overall experience.