[APP] A multiple account Google Voice dialer app - Windows Phone 7 Apps and Games

Hello,
I've loosely based this app off of supbro's app for the 6.5 Windows system (iContact, iDialer). I didn't use his code but I did want this program to perform the function that I mainly wanted: The ability to pick and choose which Google Voice account I wanted to use to dial a number with.
If you're interested in checking this out, I've attached the xap for it. Thanks.
May 02, 2011 - 7:40pm CST - Updated the application to include a restore settings button and other changes to enable fields incorrectly disabled.

I've been waiting for something like this. I'll install it when I get home and post my thoughts later tonight.

I couldn't figure out how to use this. Is it utilizing the calling card method of dialing or something? It wouldn't let me select my GV number on the GV Info pivot.
I was thinking it would be an easy way to get to a dialer that would utilize GV direct dial but I don't think this is really what I was looking for.

thesecondsfade,
Yes, it utilizes the calling card method of dialing the number through your google voice account so that the google voice number shows up on the other person's callerid.
I didn't implement a select from the contacts list of the Google voice number on the GV Info pivot screen. Rather, you have to type in the number using the numeric pad and input the pin that Google Voice prompts you for when you access your account. After you've placed both the Google voice number and the pin, then you can select the radio button for that account.
As far as I know, GV direct dial only works with the accounts that you can specify the phone number with. Currently, you can only use a phone number with two different accounts. The calling card method is the only one that I know of to use one cell phone number with three or more different accounts.

Related

Sipdroid 1.0.4 Primer [updated 2009-08-15]

[2010-02-26] THIS DOC IS OBSOLETE. PLEASE VIEW THE UPDATED PRIMER.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sipdroid 1.0.4 Primer
Introduction
jashsu said:
First off, this document is constantly in flux and being revised. If you have any suggestions on how to make it better/clearer or have a correction, please post a reply or PM me. Thanks and enjoy!
Click to expand...
Click to collapse
Sipdroid is a bare-bones SIP client for Android. It does not provide a rich user experience like one would expect from Skype, as it is just client software, not a service. You need a SIP provider in order to use Sipdroid. I'll explain with some pictures how to setup and use Sipdroid. This primer was originally written for 0.9.4. Minor updates bring it in line with the current version, 1.0.4.
Preparation
First, you need to sign up with a SIP provider. Most SIP providers offer free accounts and free SIP calling. In addition to free VOIP-to-VOIP calls, you can also call people with traditional, or PSTN (public switched telephone network), phone numbers. This is usually referred to as PSTN outbound or call out and is charged on a per-minute basis. More on this later. There are many SIP providers on the internet, more than I can list here. I will name a couple to get you started, but there are more options out there. Google it...
Gizmo5/SIPPhone
One of the more polished consumer SIP services. They offer free VOIP calling and a decent outbound PSTN service with average rates. Cost for a call terminating in United States (landline and mobile) is $0.019/min. For inbound, you can lease a number from them, prices vary per area code. Gizmo5 also happens to be the only voip service that Google Voice will forward to at the time of this writing. For the purposes of this primer, I will assume Gizmo5 as the SIP provider.
Voipuser
They style themselves as a SIP service created by community. There seems to be limited free PSTN outbound access for numbers in Europe.
Ekiga
This service is actually the companion service for the VOIP phone application of the same name bundled with GNOME (default Ubuntu desktop). It has no PSTN outbound services, so consider this option if you only want to make calls to other VOIP users.
There are some others like FWD/Pulver and of course there is also the option of using a company SIP.
Now of course you'll also need to download a copy of Sipdroid. There are two places to get it: 1) Android Market. This is the easy way. Just open the Market app, search for Sipdroid and tap Install. 2) Sipdroid.org. Enable off-market app installation in your settings, then visit the sipdroid site and tap the apk link. Alternatively, you can download it on your PC and install with adb. The version from the Android Market is referred to as the "lite" version, whereas the Sipdroid.org version is "full". The main, and only, difference is the full version allows SIP connections over 2G/3G, whereas the lite version only allows SIP over WiFi.
Setup Sipdroid
Okay, now I assume you have your SIP account details and Sipdroid 0.9.4 installed. Open Sipdroid and press the menu button. Now tap Settings. Here, enter the username and password you registered with your SIP provider, as well as the server address. If your SIP provider specified a port other than the default (port 5060) then enter that as well.
Under the Options, check off the air interfaces which you want Sipdroid to connect with. If you downloaded the Market version, you will not be able to choose 2G/3G. Keep in mind that some carriers may forbid VOIP usage in their data plans, if you are using the webpage version. For preferred call type, choose Phone (more on this later).
Now press back to go to Sipdroid's main screen (the dark grey one). At this point hopefully you should have a green dot indicator in your windowshade, indicating that Sipdroid has successfully connected to your SIP provider. If the indicator stays yellow or red, that means Sipdroid was not able to connect properly. Sometimes Sipdroid will lose connectivity to your SIP provider, especially during a transition between 2G and 3G. If this occurs, open the Sipdroid application and go into the settings menu and exit. The connection should automatically reinitialize.
Making a call to a SIP address
A SIP address is somewhat like an email address. Both are types of URIs, or uniform resource identifiers, which in simple terms means they tell you where something is. A SIP address takes the form of sip:[email protected] or simply [email protected].
To make a call to a SIP address, open the Sipdroid application, type it into the field labeled "Called Party Address" and press the return key. For your first test call, call [email protected]. Once the call has connected, you should see the in-call screen and an emerald-colored call indicator in the windowshade. The emerald color differentiates a SIP call from a standard voice call (which uses a green color).
After a brief introductory message, you should be able to hear SIPPhone's echo test, which echoes back whatever you say. This allows you to test that your SIP setup is working and that both parties can communicate properly. Note that if you are connecting over 2G/3G, you may experience a noticeable delay. This is due to the delay introduced by your cellular provider having to route packets from the cell network through to their datacenters and then onto the internet. Calls over WiFi should have significantly reduced delay (assuming the WiFi itself is connected to a good broadband internet connection). Since Android apps are not allowed to control the end call button, press the back button to terminate the call.
Making a call to a SIP number
Here's where it gets confusing (atleast it did for me). Many SIP providers not only issue a SIP address which is based on a user's username, they also issue a SIP number. The reasoning is that in many cases, people will want to make a VOIP call on a device which has no alpha keypad. In this case, the only way to make a call is a number pad. When you call a number using SIP, your SIP provider will do one of several things depending on what the number is. First of all though, we have to make sure that we're actually dialing the number using SIP, rather than using our mobile carrier.
Here, we will dial the number for the echo test we performed in the last step. For Gizmo5 users, the number 17474743246 corresponds to the SIP address [email protected]. Open your Android dialpad and enter it, followed by a plus sign(+), then press call. The plus sign at the end of the number tells Sipdroid to intercept your dial action and route the call over SIP/voip rather than let it go to your cellular carrier. To enter a + sign from the dialpad, long press the 0 button. If all went well, you should hear the same message you heard in the previous call.
note: in the above left image from 0.9.4, the escape char used is a hash (#). However, in 0.9.6 and newer, the escape char is a plus sign (+)
Now let's talk about that Preferred Call Type option. When we set the Preferred Call Type to Phone, we told Sipdroid that whenever we make a call in the Contacts/Dialer app, we want to by default use our mobile carrier. As I mentioned above, postpending a plus sign indicated to Sipdroid that we wanted to take the opposite of our Preferred Call Type action. So if your PCT is set to Phone, then adding a plus sign will change that call to SIP. Again, you can tell the difference between a SIP call and a PSTN call by looking at the color of the call indicator. Another way to tell if you are performing a SIP call is that your network traffic indicator should start showing some bidirectional traffic.
However, if you set the Preferred Call Type to SIP, the behavior is reversed. Any time you attempt to perform a call in the Contacts/Dialer app, it will by default be made as a SIP call. If you add a plus sign will it be made as a Phone (mobile carrier) call. I don't recommend setting it up this way unless you are very comfortable with SIP and/or don't use your phone with a SIM. Note that emergency numbers will be dialed as Phone (mobile carrier) calls regardless of the PCT setting.
Making a call to a different VOIP network
So now you are able to call anyone with a SIP address or anyone in your SIP network with a number. What if you want to call someone on a different SIP network but you only have their SIP number? That's where SIPBroker comes in. Essentially, it lets you call someone on a different network using a special prefix. For example, if my number with Gizmo5 was 1-747-555-1212 and you were on Ekiga, you would find Gizmo5's prefix on SIPBroker (*747) and dial *747-1-747-555-1212 to reach me.
Now let's say you wanted to call someone on Google Talk or Yahoo/MSN Messengers. These are not SIP networks, so you could not natively communicate with them using SIP. No problem. Using the gtalk2voip service, you can voice chat with them for free.
Making a PSTN call
SIP isn't just useful for free VOIP calling. You can also call someone with a traditional phone number (a PSTN call) using VOIP and save a lot of money. The reason is because with a traditional PSTN-to-PSTN call, your carrier can control the price of the call and add a significant markup. If your VOIP service supports outbound PSTN, for the bulk of the trip your call is travelling over the internet for free. Only when it has neared its destination is it routed back into the public switched telephone network.
You ==> MobileCarrier =======================> Other Carrier ==> Friend
You --> SIP Provider ------------------------> PSTN outbound ==> Friend
=== Carrier controlled route ($$$) ---- Over the internet (cheap)
In order to make a PSTN call with Sipdroid, your SIP provider needs to support PSTN outbound. With Gizmo5, this is referred to as Call Out. Typically you will deposit a small amount of money into a prepaid account with your SIP provider and calls you make slowly draw out of this pool. The cost per minute depends only on the destination of the call. For some locations, this can mean a SIP call will be significantly cheaper than a standard PSTN call.
To make a call to a PSTN number, simply enter the number on the keypad and add a plus sign at the end, as if you were making a call to a SIP number. Your SIP provider should automatically detect it is a PSTN number and assuming it has an outbound function, route it using its PSTN outbound network. To quickly place calls to PSTN numbers using SIP from your contact list, open the contact and tap the "Text (number)" option, where (number) is the PSTN number you'd like to call using SIP. A context menu will appear letting you choose to call that number with SIP or to send a text message. Overloading the text intent is a bit of a hack, and it may change in future versions of Sipdroid.
The relationship between SIP and PSTN
Let's say you have a contact with two phone numbers, one for his PSTN number (1-510-555-1212) and one for his SIP account (1-747-123-4567).
If you tap Text 555-1212...... and choose the Sipdroid option, you will make a SIP call and he will receive the call on his PSTN phone. You will not be able to make the call unless your SIP provider has a call out function.
... and choose the Phone option, you will make a PSTN call and he will receive the call on his PSTN phone. Your call will use up your voice minutes in accordance with your mobile carrier's voice plan. Sipdroid/SIP is not used at all in this call.​If you tap Text 123-4567...... and choose the Sipdroid option, you will make a SIP call and he will receive the call on his SIP phone (or whatever he has his SIP number set up to ring). This call will not use the PSTN network at all (unless your friend has set up his SIP number to forward to the PSTN).
... and choose the Phone option, you will get an error message from your mobile carrier informing you the number is invalid or not connected.
​Area code 800 numbers for testing outbound
If you want to test outbound calling on a SIP provider with outbound, you can call the below numbers for free. Remember to use a plus sign after the number to indicate you want to place it as a SIP call.
+18004664411 (GOOG411)
+18005558355 (Microsoft's Tell Me news service)
DID and Incoming
Recent versions of Sipdroid are now finally capable of ringing on an incoming call. However, you may be wondering, how can your friends, family and coworkers call you using SIP rather than your cellular number? The answer is using a DID number, or Direct Inward Dialling. A DID number is simply a PSTN phone number. DID numbers can be configured to forward calls to voip networks. For consumers, there are a couple of options to set up a DID for SIP. Here are a few (only discussing US DID numbers for now):
Through your SIP provider - Some SIP providers targeted toward end-users offer DID numbers as a premium service. Gizmo5 calls their DID number service "Call In".
ipkall - One of the original free DID number service. Provides a free DID number in a select number of area codes around Seattle. Only forwards to SIP.
Google Voice - This is considered by some to be the ultimate free DID service, as you can choose a number from any US area code. However, GV is much more than a DID to forward to SIP, as it is designed to completely replace all your individual contact numbers with a single number that can be programmed to forward to your other numbers. GV also offers some other services such as advanced voicemail (automatic text transcriptions, forward to email, etc) and free calling and texting to US numbers.
Hello
I might be sound silly but I don't have much experience with either getting root or upgrading firmware. My HTC G1 is 1.1 firmware, 2.6.25-01845-g85d4f0d [email protected] kernel, RC33. The phone is unlocked, I am not in the US or Europe, and the main issue is that I don't want to take the risk of screwing all up and sending it back to restore.
From what I read in this thread, and also at
http://code.google.com/p/sipdroid/wiki/FAQ
http://www.htc.com/www/support/android/adp.html
etc.
it seems it's best that I'd wait for official 1.5 being pushed, or someone can advise me some other (safe) solutions to upgrade?
I do need a SIP / VoIP client on my device really badly And some other things that come with the 1.5
Thanks...
Sipdroid does not require root.
jashsu said:
Sipdroid does not require root.
Click to expand...
Click to collapse
Thanks for your reply. But it certainly won't run on 1.1 ???
alexhtcg1 said:
Thanks for your reply. But it certainly won't run on 1.1 ???
Click to expand...
Click to collapse
I don't know. I haven't tried myself since I have already updated to ADP1.5. Posts on the sipdroid issue tracker seem to suggest that it will not run on 1.1. However at the current time you're not missing out on much. Sipdroid still needs a lot of work. It will not connect to all SIP providers, it does not ring/alert on an incoming call, and there are some call reliability issues. In other words, its not robust enough at the current time to be a full-time calling app.
I mainly wrote this guide to get interest in Sipdroid rolling (and hopefully stimulate more developers to contribute to the project).
this is still a bit complicated to understand...
Soecifically how to correctly set up a pbx account. the website itself is very confusing for a novice... maybe a little help with step by step would be great!
phantasybm said:
this is still a bit complicated to understand...
Soecifically how to correctly set up a pbx account. the website itself is very confusing for a novice... maybe a little help with step by step would be great!
Click to expand...
Click to collapse
You don't necessarily need to set up a pbxes.org account. As I described above, many SIP providers will work with Sipdroid without a virtual pbx in the middle.
And yes, I agree pbxes.org's site is pretty confusing. Not the most well-designed interface.
Has anyone tried this out in the UK on T-Mobile 3g, I keep getting Registration failed (Timeout) and the red spot, I have tried this with both Ekiga and Gizmo5, any ideas what I might be doing wrong. Will try on wifi tonight.
Update: Looking at the Mobile Broadband Plus ( handset as modem) terms and conditions it says you cannot make internet phone calls, so I guess they are blocking the port.
liamw said:
Has anyone tried this out in the UK on T-Mobile 3g, I keep getting Registration failed (Timeout) and the red spot, I have tried this with both Ekiga and Gizmo5, any ideas what I might be doing wrong. Will try on wifi tonight.
Update: Looking at the Mobile Broadband Plus ( handset as modem) terms and conditions it says you cannot make internet phone calls, so I guess they are blocking the port.
Click to expand...
Click to collapse
Did you get to check on wifi? Dunno if Gizmo5 supports it, but you could try port 5061 too?
This is f***** awesome ! Thanks a lot for this version that supports WIFI/3G&Edge.... works perfect here in Switzerland !
How is this thread not more popular? This service is freaking awesome! Running great on JF 1.5
jimmytango said:
How is this thread not more popular? This service is freaking awesome! Running great on JF 1.5
Click to expand...
Click to collapse
I guess either the process of setting up a SIP service and Sipdroid is too complex for the average user. That or people don't know/care about Sipdroid. Or perhaps their mobile carriers are blocking port 5060.
I'm not one to require positive validation to do something, but it is a little disappointing this thread isn't getting more attention. Mainly because I was hoping more attention for Sipdroid would spur the project maintainers to address current usability issues (e.g. no ring/alert on incoming calls).
Keep truckin on!
I've been trying to get SipDroid to work for a long time. I can't get it to work with Gizmo, Magicjack, or PBXes... I always get Registration Failed(Timeout). I have DMZ'd my phone through my router so I know the ports are not being blocked. Haven't tested it over 2G/3G as theres no point if I can't do it over WiFi which I have access to almost 24/7 here in Cairo on my phone.
I know PBXes, Gizmo, and Magicjack are all setup correctly as I can use my WM6.1 phone easilly to connect to any of these services. Has anyone else had this issue and fixed it?
geekingitup2005 said:
I know PBXes, Gizmo, and Magicjack are all setup correctly as I can use my WM6.1 phone easilly to connect to any of these services. Has anyone else had this issue and fixed it?
Click to expand...
Click to collapse
Have you tried upgrading to 0.9.4 and connecting to Gizmo5 directly? It should work, read the guide. I don't believe you need to do any special configuration on the router (port forwarding, etc).
I've tried connecting directly to all three services. Also, I check daily for new updates via the website. Have had the newest version since it came out... so not quite sure why it always fails.
For those having trouble setting up PBXes.org I followed this guide several months ago when I originally setup my PBXes account. There are a few extra fields on the site now but as long as you have whats in the images you should be fine. Also, this was for Gizmo/Magicjack.
Orginally writtern by MagicDump @ www.MagicjackSupport.com
PBXes.com is a free online VOIP PBX Host.
With this setup you will be able to receive Call from any Gizmo5, Voxalot, Callcentric, Inum, etc, SIP Phone in the word, without having to have your computer or any ATA running 24/7!
In this setup I only Use Gizmo5 as an Example.
It works like this:
1. Anyone using a gizmo5 SIP phone from anywhere in the word will Dial your Gizmo5 Number eg. (17475551212) and your cellphone or Landline will ring.
2. Anyone can call your Magicjack Number at the Dial tone (9#) + (200#), and your cell Phone or land line will Ring.
3. You can call your Magicjack Number at the Dial Tone (9#) + (USA or Canada Number#).
4. You can Call your Magicjack Number at the Dial Tone (9#) + 1 + (last 7 digicts of any Gizmo5 Number#)
From the free PBXes.com account you will get 2000 min a month.
By changing Dial plans you should be able to use any SIP providers IN and Out.
You will not need to be connected to the Internet to make or receive Phone calls in your Cell or your Land line Phone.
In order for you to do this you will need:
1. Open a free account with PBXes.com"
https://www4.pbxes.com/
2. Open A free Account with Gizmo5.
http://gizmo5.com/pc/download/.
Click to expand...
Click to collapse
I wrote a blog post on this app (GERMAN):
http://www.exelixi.ch/?p=328
Turns out they are blocking port 5060 here on public WiFi hosted by TEData. Switched to port 5061 using PBXes and its working. The strange thing is my WM6.1 phone is still using 5060 and connects to PBXes fine.
awesome
Killer app, im currently using Google Voice with Gizmo5 and I am able to place/receive calls for free with Google Voice/Gizmo, I just send all my calls to my Gizmo5 sip Number, set sipdroid to login to gizmo5 at serverroxy01.sipphone.com, then login with my gizmo username and password
I then head over to google.com/voice and place a call to my gizmo acct and free nationwide calling

Sipdroid 1.3.x Primer [updated 2010-02-26]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sipdroid 1.3.x Primer
Introduction
This document is a basic guide to getting Sipdroid 1.3.x set up on a typical Android phone in conjunction with Google Voice and Gizmo5/SIPPhone. As the Sipdroid software as well as GV/Gizmo5 are constantly in flux, at times this document may contain some factual errors due to obsoletion. I will try my best to not get lazy and keep it updated, but be forewarned.
The previous version of this primer was written for Sipdroid 0.9.4 and incrementally updated. After a few months without updates, it became terribly obsolete, and instead of going through it to make fixes, I decided to leave it as-is and write a new version with more of an emphasis on Gizmo5/SIPPhone (hereforth "Gizmo5") and Google Voice. Note that at the time of this writing, the Gizmo5 service has been acquired by Google and is not currently accepting new users. It is predicted that Google will relaunch Gizmo5 as a rebranded component in Google Voice, at which time it is likely this primer will become outdated. Until then, enjoy!
Overview of Sipdroid + Gizmo5 + GV
I'm assuming that most of you have an idea of what SIP is and what it can do but i'll do a brief overview so we are all on the same page before we get into the details and instructions. Those of you who just want the meat of the primer can skip to the next section.
SIP is a signalling protocol that allows two or more clients to signal to each other their intent to perform some sort of communication. Commonly the communication is voice over IP ("VOIP"). With the right client software, SIP can be used for initiating a video call, but in our primer we will only cover voice. There are just a few elements in a SIP system. There is client software (what you install on your device), SIP providers (the servers your client software connects to), and there may also be providers that reroute your call into other networks (e.g. into Skype or into the public switched telephony network).
In our primer, Sipdroid is the SIP client which you install on your phone and interact with. Gizmo5 is the SIP provider that Sipdroid will connect to. Gizmo5 will also act as a call-out service (allowing you to call to the public switched telephony network (hereforth "PSTN"). Google Voice is an additional service which will provide you with a DID, a direct inward dialing number. A DID is basically a phone number that someone on the PSTN can dial with a regular telephone that can then be routed to a VOIP call. With all these ingredients, you can therefore create a setup whereby you can: 1) Make and receive calls to other SIP clients for free from your Android phone and 2) Make low cost calls to any number in the world and receive calls for free from anywhere in the world from anyone who calls your US Google Voice number. So let's get started...
Setting Up Gizmo5 and Google Voice
The first thing you will need to do is set up Gizmo5 and Google Voice. Unfortunately, at the time of writing (2010-02-26) Gizmo5 is closed to new members and Google Voice is still invite-only. The only way to get a Gizmo5 account if you do not already have one is to find someone who already has one and convince him/her to let you have or use it. There are many ways to receive an invitation to Google Voice. The standard method would be to request an invitation from Google and wait. Alternately, current users of Google Voice may also have up to 3 invitations they can pass out. You may search some internet forums (such as xda) to find people offering GV invitations. Anecdotally, running the Google Voice app built into the Google Nexus One will also activate GV for you if it is not already activated on your Google account. If you cannot acquire a GV invitation/activation, you can still use Gizmo5 with other DID services like ipkall. If you cannot get a Gizmo5 account then you will have to find another SIP provider. In either case, simply skip the relevant steps in the primer.
Now then, your first order of business is at Gizmo5. Log into https://my.gizmo5.com/ and make a note of your SIP number. Also turn off the voicemail service. We want Google Voice to perform voicemail for us, so we have to make sure that Gizmo5's voicemail isn't going to kick in before Google Voice's voicemail.
Next, open Google Voice. I'm going to assume that you have already set it up and created a Google Voice (DID) number. If you chose to use your own number when you initially set up Google Voice, go and choose a Google Voice number now. Remember that your first GV number is free; changing your GV number afterward will cost USD$10. Now then, click on "Settings" in the upper right corner, then click on the "Add another phone" link.
Enter a name for this phone (e.g. "Gizmo") and the number you copied down from the Gizmo5 page earlier. Choose "Gizmo" as the Phone Type. When you're done, click Save. Note that in order to verify the number is yours, Google Voice will call it and ask you to enter a two digit verification code. You can either perform this step by being logged into Gizmocall (Gizmo5's flash-based browser SIP client) or doing it on your phone after you have set up Sipdroid (further below).
You may also want to make a few changes to some other Google Voice settings as a matter of preference. Here are some useful ones. Voicemail forwarding will send your transcribed Google Voice voicemails to your gmail/email in realtime. SMS forwarding will do the same thing for Google Voice SMSes. Turning off Call Presentation will get your caller on the line with you directly instead of going through the GV call presentation menu. Since it already takes additional time for a SIP call to be connected, this can help you get your call connected before the other party hangs up. Displaying your Google Voice number as the origin for SMS will help your friends identify you by your GV number.
Setting Up Sipdroid
Now that Gizmo5 and GV are set up, you need to set up Sipdroid. On your Android phone's browser, visit http://code.google.com/p/sipdroid/ and tap the link under Featured downloads. When your download is complete, tap the download and select install. If your phone does not have Unknown source installation enabled, it will prompt you to enable this. (It is the Settings>Applications>Unknown Sources checkbox).
Open Sipdroid now. Sipdroid's main screen is not very descriptive at first glance. Press the menu button, then tap Settings. The settings menu is divided into six categories. We will move through them one by one.
Tap SIP Account Settings. Under Authorization Username enter your Gizmo5 username or SIP number. Under Password enter your Gizmo5 password. Under Server enter proxy01.sipphone.com. Finally change the Protocol to TCP. (Hint: If you encounter problems connecting with TCP you can use UDP, but it will cut your battery life significantly.)
Press the back button then tap Call Options. Check off the network types you wish Sipdroid to connect with. In my example I checked off WLAN, 3G and EDGE. Change the Preferred Call Type to Phone.
Press the back button then tap Advanced Options. Set the Earpiece Gain to High (Hint: The correct value for this setting may be a matter of personal preference and phone model. Higher settings may cause the other end to hear echo, so do some experimentation.) Check off Use STUN Server. Under STUN Server name enter stun01.sipphone.com. Note that if you experience trouble sending or receiving calls, you may want to try turning STUN off.
Press the back button then tap Audio Codecs. Tap alaw (64kbit) and select Never.
At this point your Sipdroid should be completely set up. You should have noticed by now that there is now a persistent colored dot indicator in your notification bar. It has three possible states: green to indicate that Sipdroid is connected and operational, yellow to indicate that it is in the process of connecting, and red to indicate that it is not connected and has encountered problems. If your indicator is stuck on yellow or red go back and review that all the settings have been properly set. If it is still unresolved, your 3G and/or wifi network may be blocking SIP traffic. Contact the appropriate network administrator for further assistance.
As long as Sipdroid is active when you shut down or reboot your phone, it will automatically startup and connect when the phone is booted. To turn off Sipdroid, simply press menu from the Sipdroid main screen and tap the Exit option. The colored dot indicator icon should disappear.
Make Test Calls
We will make three types of test calls. First, we will call another SIP device using its SIP address. A SIP address take the form of sip:[email protected] or simply [email protected]. To make a SIP call, enter the SIP address in the form of [email protected] into the entry bar of the Sipdroid main screen and press the return key. For this test we will use [email protected], which is an automated number run by Gizmo5 for the purpose of testing SIP setups. When the call connects you should see a call indicator in the notification bar, colored emerald to differentiate it from a standard voice call.
After a brief message you will hear Gizmo5's echo test, which will echo back whatever you say. You can use this test to gauge the quality of your SIP connection as well as the latency. If you are connecting over 3G, the latency will be moderate, and the latency over EDGE will be even higher. When you are satisfied with the test, press the back button or drag the green border square down to end the call. Note that pressing the End call button will not end the call. Keep this in mind!
Next, we will make a call to the same service, but instead of using its SIP address, we will use its SIP number. Some SIP users may have both a SIP address and a SIP number, while others may have only one or the other. To call a SIP number, you will need to open your dialer. Press the green call button on your phone or start the Dialer app from the launcher. Enter 17474743246+ (to enter a plus sign, long press the 0 key). Tap the number to dial it. Again you should notice the emerald colored call indicator and hear the Gizmo5 echo test service. Hang up by pressing the back button or dragging the square down.
The + you entered at the end of the number indicates to Sipdroid that you want to make this call using SIP instead of using your standard cellular voice connection (which would use up minutes in accordance with your cellular plan terms). If you accidentally omit the + sign, the call will be attempted as a regular cellular call.
Finally, let's try making a call to a real PSTN phone number. Gizmo5 provides free outbound calling for toll free numbers in the United States (e.g. "1-800 numbers"). From the Android dialer, enter 18005558355+ and tap to call the number using SIP. You should hear Microsoft's Tell Me service, which provides a variety of useful information over the phone. When you are satisfied, hang up the call by pressing the back button or dragging the square down. Another useful automated 800 number is 18004664411+, which you may recognize as the GOOG411 directory service. In order to make a direct call to a non-toll-free number, you will have to deposit some credit into your Gizmo5 account (hint: There is a workaround for making free calls to US numbers which I will cover further down.)
Calling Numbers in Your Contact List
Instead of manually entering the number into the dialer, you can call numbers in your contact list using SIP. Note that if the number is not a toll-free number you will need credit in your Gizmo5 account. In your contact list, tap the desired contact to bring up the details. For each phone number the contact has, you will have both a Call and a Text option. In order to perform the call with SIP, tap the Text option. A menu will pop up with three options (possibly more if you have third party SMS apps or the official GV app installed)-- Messaging, Phone Call, and Sipdroid. Select Sipdroid and Sipdroid should perform the call.
The Relationship Between Gizmo5, GV, and the PSTN
This section should help you understand the relationships between Gizmo5, GV, and the PSTN. Let's assume you have a friend who, like you, has a SIP setup using Sipdroid, Gizmo5 and GV. In your contact info for him/her, you have your friend's actual cellular number, GV number, and SIP number.
If you tap on your friend's cellular number...
...and choose the Phone Call option, the call will be connected on both ends using cellular voice. No one will be using SIP, and both people will have cellular minutes deducted.
...and choose the Sipdroid option, the call will be connected on your end using SIP to Gizmo5, which will then route it out to the PSTN and connect to your friend via cellular voice. Your friend will have cell minutes deducted, and you will have Gizmo5 credits deducted.​If you tap on your friend's Google Voice number...
...and choose the Phone Call option, the call will be connected on your end using cellular voice, which will route it over the PSTN to Google Voice, which forwards the call to your friend's Gizmo5 and then via SIP onto his/her phone. Your friend will receive the call for free, and you will have cellular minutes deducted.
...and choose the Sipdroid option, the call will be connected on your end using SIP to Gizmo5, which will then route it out via PSTN to GV, which will then route it using SIP to your friend's Gizmo5. Your friend will receive the call for free, and you will have Gizmo5 credits deducted.​If you tap on your friend's SIP number...
...and choose the Phone Call option, the call will not connect and neither side will be billed.
...and choose the Sipdroid option, the call will be connected on both ends using SIP. The entire call will occur over SIP and thus neither side will have cellular minutes or Gizmo5 credits deducted.​
Extra Credit: Free Outbound Calling Via Google Voice
I mentioned earlier that it is possible to make some non-toll-free outbound calls using Google Voice. Google Voice provides free outbound calling to any number within the United States and Canada. This is possible to do with SIP, but the service requires Google Voice to perform the dialing. Normally when performed in the official Google Voice app, this process is transparent. However, the official GV app does not support SIP dialing. In order to perform the call then, you must open the Google Voice webpage in your Android browser and perform a callback. Scroll to the bottom of the webpage, enter the number you wish to call, and click Call. If all is working properly, your phone should receive a SIP call. Answer this call and the number you called should be connected on the other end shortly.
Thank you so much for this complete guide and I've several questions here.
1.My sipdroid works well with UDP but doesn't work with TCP, any solution?
2.Registration does not complete every time. what does "503 Service Unavailable" mean?
3. Sipdroid will receive call back when I preform a call on my laptop in the google voice page, but never receive call back when I use google voice webpage. Why is it?
4. Is there any app for android can let me making google voice phone calls with gizmo5 service? I've tried guava, gv, google voice but none of these works. I guess its my fault but I just don't know how to solve it.
lemoncoffeetea said:
Thank you so much for this complete guide and I've several questions here.
1.My sipdroid works well with UDP but doesn't work with TCP, any solution?
Click to expand...
Click to collapse
What is your SIP provider/proxy? Not all SIP providers have proxy servers configured to work with TCP. One option for getting TCP to work with a SIP provider that doesn't yet support TCP is to route through pbxes.org
3. Sipdroid will receive call back when I preform a call on my laptop in the google voice page, but never receive call back when I use google voice webpage. Why is it?
Click to expand...
Click to collapse
I don't understand your question. Can you rephrase it?
4. Is there any app for android can let me making google voice phone calls with gizmo5 service? I've tried guava, gv, google voice but none of these works. I guess its my fault but I just don't know how to solve it.
Click to expand...
Click to collapse
Currently you have to use the callback if you want to perform a call through Google Voice.
Hey man, awesome updated post! But when I set everything up, I am not able to receive calls over 3g data when my screen blacks out (i am assuming that my 3g data is turned off when screen is blacked out as well?) - I can only receive calls when the screen is active. Do you know how to fix this? TIA!
surfshadow said:
Hey man, awesome updated post! But when I set everything up, I am not able to receive calls over 3g data when my screen blacks out (i am assuming that my 3g data is turned off when screen is blacked out as well?) - I can only receive calls when the screen is active. Do you know how to fix this? TIA!
Click to expand...
Click to collapse
What version of Sipdroid are you using? And which version of Android is your phone running? Your 3G data connection should remain active if both of those versions are fairly update. For the record I am using Sipdroid 1.3.14 on Android 1.6 for the above guide.
Everything is up to date like yours. I am using sipdroid 1.3.14 and running it on my Mytouch 3G (Android 1.6). Not sure if 3g connection drop is the sole issue because the green dot is always there - but even with the green dot present, it won't receive calls when i leave my phone idle for few minutes.
similar problem as lemoncoffeetea
Awesome post! Thank you.
I have very similar problem as lemoncoffeetea.
Sipdroid will receive call back when I preform a call on my laptop in the google voice page, but never receive call back when I use google voice webpage in my android phone.
In addition, the registration seems not very stable. Sometime the light turns to green, other time become red. When it is red, it either comes out (Timeout), or (503 errors).
Any insight on this?
Thank you very much!
Hey jashsu, awesome guide! This may not be the best place to post this but I've been having problems with sipdroid.
Specifically, any WiFi power saving mode seems to fail. I have Android's wifi sleeping set to never, and then if I check the "Let sipdroid control wifi power" box, sipdroid disconnects after the screen turns off, as well as the phone disconnecting from WiFi.
I believe this is probably related: http://code.google.com/p/sipdroid/wiki/NewStandbyTechnique
I'm guessing Gizmo5 doesn't support VoIP over TCP, so the phone needs to wake up often to keep the UDP connection alive? Appreciate any comments
Gary13579 said:
I'm guessing Gizmo5 doesn't support VoIP over TCP, so the phone needs to wake up often to keep the UDP connection alive? Appreciate any comments
Click to expand...
Click to collapse
It definitely does, as I am connected to Gizmo5 using TCP right now.
edit: by the way, yes I do notice that setting WiFi to "Always on while plugged in" seems to have no effect. Strange. I'll look into it.
1. Both TCP and UDP seem both work fine.
2. I cannot use the STUN server. If I do, I cannot hear sound from echo test.
3. (most importantly) my connection to Gismo service through Sipdroid doesn't seem to be very stable. The connection turns RED very frequently - this happens almost everytime I open GV app, or google voice mobile website. (I don't know why)
indybull said:
In addition, the registration seems not very stable. Sometime the light turns to green, other time become red. When it is red, it either comes out (Timeout), or (503 errors).
Any insight on this?
Thank you very much!
Click to expand...
Click to collapse
indybull, lemoncoffeetea: I also occasionally will have periods where I cannot seem to log in for some reason. Only remedy in those situations seems to be turning Sipdroid completely off for a while. It may be that when an account performs too many flaky reconnects to Gizmo5 in a specific period of time, Gizmo5 will temporarily block that ip or username from attempting any more logins. This is just a guess.
Oh and I forgot to mention, you should include a quick guide to using KNY's GV application. It takes a bit to setup properly, but it can be used to automate calling with gv/sipdroid, without having to mess around with the browser.
Gary13579 said:
Oh and I forgot to mention, you should include a quick guide to using KNY's GV application. It takes a bit to setup properly, but it can be used to automate calling with gv/sipdroid, without having to mess around with the browser.
Click to expand...
Click to collapse
Can you provide a link to "KNY's GV app"? I have only tried Evan Charlton's GV app, and it doesn't seem to work.
indybull said:
Can you provide a link to "KNY's GV app"? I have only tried Evan Charlton's GV app, and it doesn't seem to work.
Click to expand...
Click to collapse
KNY is Evan Charlton (or well it's his irc nick). And you are correct, the "GV" app no longer functions.
Going back to my issue, and similar problem as Gary's - I am not able to use TCP as my connection will just time out after a short period of time (or only shows yellow dot constantly). Additionally, if I enable STUN , I am able to register properly, but I am not able to receive calls most of the time - even after I just turn on sipdroid and start using it without letting my phone go to sleep.
So the only settings that work for me is UDP without STUN -> but phone will stop receiving calls if phone is idle for a few minutes. Any suggestions would be highly appreciative! Thanks.
surfshadow said:
So the only settings that work for me is UDP without STUN -> but phone will stop receiving calls if phone is idle for a few minutes. Any suggestions would be highly appreciative! Thanks.
Click to expand...
Click to collapse
Hmm okay. I've made a notation to try toggling the STUN setting for setups that are not working well. By the way, TCP is, I believe, only used to wake the phone up (since TCP sockets time out in 30-60 mins, whereas UDP will time out in 30-60 sec). I think once the phone is actually woken the call is still carried over UDP.
Sorry, I didn't want to risk spelling Evan's last name so I just used KNY . Sucks he stopped updating it, I poked around on his VCS and it looks like it's undergoing some restructuring, so maybe he will update it again?
And haha I'm an idiot, I haven't tried Control WiFi Power with TCP. It gets incredibly annoying having 4 hours of battery life while the phone is idle due to WiFi.
Placing calls seems to work, and it doesn't drop the connections when the phone is idle, but receiving a call from GV seems to fail. Changing it back to UDP and I get the call. Switching it back to TCP and it fails again.
Edit: using Ekiga with GV/Gizmo, I immediately receive the call. sipdroid is for sure not playing with gizmo5 that well. Looking at my Missed call logs, I've received a few calls that my phone never picked up.
Maybe you could use Gizmo5 to forward the SIP call to a PBXes account, and everything would still be free, but more reliable due to sipdroid/pbxes support?
You know what, I actually just set up a pbxes account late last night. It seems to be working so far even when using with TCP. This is pretty awesome, going to test it out throughout the day. I avoided pbxes before because it seemed too complicated, but I just setup like inbound route and so far it seems to work! So Gizmo5 --> pbxes --> sipdroid seems to be the trick. Gonna test it out more today, but I left phone on overnight with app running and called google voice number as soon as I woke up and it "woke" my phone and I was able to receive the call after phone being idle for several hours in this case (something I wouldn't be able to do from Gizmo5 --> Sipdroid)!!!
I don't think I need outbound routing in pbxes since I'll just use my phone browser to initiate the call through google voice. Right? Thanks!
surfshadow,
We you mind posting a few details on how you set up Gizmo5 --> pbxes --> sipdroid? I don't really understand pbxes. I think you are onto something with that routing path.
Thanks

what is google voice?

can anyone tell me what exactly is google voice
Answer here:
http://twurl.nl/3hor8w
so you need a phone which has web in it?
No, not necessarily. You can receive calls with your Google Voice number on any phone at all.
To dial out with your Google Voice number on the go, the easiest way is with a data connection on your cell phone. Any phone can use the Google Voice mobile website, but it works best if you can get an app for your phone to dial directly. The Android app is great. There's a Blackberry app for it, and the iPhone version was blocked from the Apple app store.
But dig this--- with just a texting plan you can still dial out from your cell phone, using your Google Voice number. If you set your Google Voice number to forward texts to your mobile, here's how it works ....
You give your new Google Voice number to your friend John. Let's just say that John isn't in your Google contacts yet ... and John's number is (123) 456-7890. When he texts you, the text you receive on your phone comes from a (406) number, that always corresponds to that person.
The first text you get will look something like this.
From: +1-406-486-6339
Message: +1-123-456-7890 - hey man, it's John
Text your reply to that (406) number, and it will go to his phone, and show your Google Voice number. And here's a nice bonus--- dial that (406) number, and it will call him, showing your Google Voice number.
Once you add John to your Google contacts, your texts will look like this:
From: +1-406-486-6339
Message: John - so should i save this as your new number?
You can save the (406) number in your phone contacts to quickly text/call someone with GV.
AudaciousQuip said:
No, not necessarily. You can receive calls with your Google Voice number on any phone at all.
To dial out with your Google Voice number on the go, the easiest way is with a data connection on your cell phone. Any phone can use the Google Voice mobile website, but it works best if you can get an app for your phone to dial directly. The Android app is great. There's a Blackberry app for it, and the iPhone version was blocked from the Apple app store.
But dig this--- with just a texting plan you can still dial out from your cell phone, using your Google Voice number. If you set your Google Voice number to forward texts to your mobile, here's how it works ....
You give your new Google Voice number to your friend John. Let's just say that John isn't in your Google contacts yet ... and John's number is (123) 456-7890. When he texts you, the text you receive on your phone comes from a (406) number, that always corresponds to that person.
The first text you get will look something like this.
From: +1-406-486-6339
Message: +1-123-456-7890 - hey man, it's John
Text your reply to that (406) number, and it will go to his phone, and show your Google Voice number. And here's a nice bonus--- dial that (406) number, and it will call him, showing your Google Voice number.
Once you add John to your Google contacts, your texts will look like this:
From: +1-406-486-6339
Message: John - so should i save this as your new number?
You can save the (406) number in your phone contacts to quickly text/call someone with GV.
Click to expand...
Click to collapse
thank you so much....this was the answer i was looking for...thanx for your info
djteotancolis said:
can anyone tell me what exactly is google voice
Click to expand...
Click to collapse
http://lmgtfy.com/?q=google+voice

Free VOIP Calls using Google Voice and Gingerbread (Android 2.3)

Hi Please follow the instructions to the word. If this topic has been covered before, I apologize and I will delete it, if you let me know.
What you need.
1) HD2 running Gingerbread 2.3
2) Google Voice Account which is running on your phone. You have to be logged on.
Steps :
1) Download sipdroid from market
2) open sipdroid and you will see at the bottom, link to pbxes (not the exact words but you get the picture). Tap that
It Opens a box which already has your Google account in it.
3) Enter you google password (yes google password..no way around it)
4) follow the steps. Your ipbex account will be created and Gv trunk will be added. (You will not see any of this but this is a background process)
5) After a few minutes it is back on the home screen of sipdroid and you will see a green dot on the task bar.
Now is the important part :
6) Hit menu on sipdroid.
7) Once the menu screen is up , hit menu again and hit export.
8) Close sip droid.
9) Open file explorer and goto sipdroid folder on Sd card
10) Copy the file to your computer/ email it or whatever you like.
11) Open the the file with notepad
12)Look for user name and password and note it down. password is case sensitive.
13) domain is pbxes.org
14) Almost done. Got to your android settings and go into call settings.
15) Add new account for internet calls. put in the login and password and server.
16) Additional settings..change port to 5061
17) hit back button. and the account will be authenticated. check the receive calls box. Hit back button.
18) Use the options based on your choice. For me it is ask everytime I make a call so it pops up if I want to make call via internet or cellular network. Use your own preference. I dont have data plan and only wifi.. your situation might be different.
19) In google voice settings, turn off use for calls
20) Start calling and all outgoing calling will go over your internet connection if you so choose and using your GV number.
21. Uninstall sipdroid
is it 2.3 only or 2.3.x?
any gingerbread version should be ok. SIP calling is integrated into the OS
ok next question sorry for sounding like a pain in the as but does it work for international calls?
GV gives you credit for international calls ie calls that originate in the US and terminate in a different country. Now if you have a US GV number, yes GV will charge for international but US to US is free. However if you are visiting a foreign country and want to call back home to the US then it is free as you already have a US GV number.
I have to clarify this. If the GV setting on your phone is set to use for calls, the calls will be handed over to your cellular network..word of caution
oo ok thanks, i appreciate the clarity
Does this only work in the US or can we use it in other country's?
I am not sure if Google voice gives you non US numbers. That is something you need to check in your home country
This is pretty cool, thanks.
Outgoing calls work great but is this supposed to work for incoming as well?
If so, how is it configured?
I have my GV number forwarding to Google Chat but I just get a voice attendant that tells me "The person at extension 200 is on the phone".
Yes it should work for incoming as well as long as the caller calls you on the GV number and the Internet calls settings on your are set to receive incoming calls. It would be helpful if some folks on here reported on the call quality
I have checked the receive calls box and I am calling my GV number and my GV number is set to forward to Google Chat but I just get the message saying I'm on the phone.
It's probably related to GrooVeIP which I sometimes use. I've had some problems like this before where GrooVeIP sort of grabs onto the Google Chat forward and won't let go, even if it isn't running or is uninstalled.

[How To] Forward Google Voice to Canada without 3rd party apps and for free!

Disclaimer: This may not be the right section for this thread but I didn't know where else to put it. And since I verified this setup on a Nexus 5, I figured this is the best bet.
I stayed in the US for a few years and have an active Google Voice number that my friends in the US call to contact me. Thus, I needed a free method to forward those calls to Canada.
Yes, There are a few of 3rd party apps like GrooveIP that not only let you receive calls but also make calls over data. However, I don't like 3rd party app notifications in my status bar constantly and needed a free solution that would work.
My solution however, only uses the default phone dialer app to receive forwarded calls over SIP.
Step 1
Get yourself a Google Voice number. There are many guides on the internet on how to achieve this via the use of proxies/vpn services.
Step 2
Create a free Sip2Sip account here: https://mdns.sipthor.net/register_sip_account.phtml
Once you receive the confirmation email, Login and go to the ‘Settings’ panel.
Uncheck Reject Anonymous, change the no answer timeout to 60 seconds and uncheck Voicemail Enable. Then click Save at the bottom.
Then click on the ‘Identity’ panel and leave that page open.
Step 3
Open a new browser tab and signup for an IPKall account here: http://phone.ipkall.com/
All the information to be filled out will be available on the ‘Identity’ panel on sip2sip.
Where it says SIP URI Username, enter your username from the account you created on Sip2Sip.
Enter sip2sip.info in the Domain field.
Choose any password and complete the signup.
Wait for IPKall to email you your new number and account info.
Step 4
Go to Google Voice Settings and click to Add a new number.
Choose a name for this number, I named it ‘Ipkall’ to make it easier to recognize. And type in the phone number that Ipkall emailed you. then click save.
More than likely, the IPKall number assigned to you may have already been used earlier by another Google Voice user. It’ll ask you to reclaim that number by verifying it. That’s okay, we’ll get to that in a bit.
Step 5
On your android device, open the Phone dialer and go to settings. Then open ‘Call Settings’.
Scroll all the way down to Internet Call Settings and click on Accounts. Make sure that there is a check mark next to Receive incoming calls. Then click on Add account on the bottom.
Enter your sip2sip username and password in the respective fields. In the server field, enter sip2sip.info. Then uncheck set as primary account and click on Optional Settings. Under outbound proxy address, enter proxy.sipthor.net
Then click save and wait for it to register. Once done it should say Receiving Call under “[email protected]”.
That’s it, go back to Google Voice settings and reclaim the IPkall number assigned to you. If you didn’t have this issue then you are already set to go.
Place a few test calls to your Google Voice Number and check to see if they’re being forwarded to your Phone over SIP.
BONUS: You can also use this setup to get Google Voice to connect you to US phone numbers for free. Visit the Google Voice website, enter the phone number you'd like to call and choose your ipkall number as the phone to connect with. OR you could get a Google Voice call back app to do this on your phone.
So doing this I can call and receive calls anywhere free of charge and not using any data?
wyrman said:
So doing this I can call and receive calls anywhere free of charge and not using any data?
Click to expand...
Click to collapse
As long as you are on wifi, there's no charge and no use of your data.
When you're not on wifi, this method will use data but not your minutes.
dj_aj said:
As long as you are on wifi, there's no charge and no use of your data.
When you're not on wifi, this method will use data but not your minutes.
Click to expand...
Click to collapse
No good for Cuba.
For Canadian users want to use mobile air time minutes instead of data, I would recommend Voxox instead. Voxox will let you have an telephone number in southern California, United States for free which can forward incoming calls via PSTN to any telephone number in Canada or United States for free. You do not even have to install their app. It is a lot simpler to setup, but again, it use your mobile voice minutes instead of data.
Interesting I may give this a shot thanks!
Sent from my Nexus 5

Categories

Resources