[HTC Amaze 4G] ericdjobs:
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.