This recipe describes setting up to place outgoing calls with Google Voice via SIPSorcery. Please note SIPSorcery is not in any way affiliated with Google Voice and further Google does not provide any official support for the mechanism SIPSorcery uses to place Google Voice calls. Calls from SIPSorcery to Google Voice have and can stop working at any time if Google update their systems.
The steps to set up Google Voice with your SIPSorcery account are listed below.
To create a Google Voice account you need to have a United States telephone number. In addition to being used for verification during setting up your Google Voice account it is also used when you place an outgoing call from the Google Voice web site or in SIPSorcery's case when you place an outgoing call with Google Voice as your provider.
The way it works is that Google Voice will first call your US telephone number and once you answer they will then dial the second leg of the call, which was the destination you entered on the web site or in your SIPSorcery dial plan.
To use Google Voice with SIPSorcery you will need to get a US telephone number that can forward to a SIP address. There are a number of providers who offer free US numbers such as:
Occasionally there can be issues with the above services such as running out of numbers, reclaiming an unused number etc. If you need a more reliable number there are a much larger number of SIP providers that offer low cost US telephone numbers. The best bet is to search around and read reviews to find a good provider. Two that are known to provide low cost reliable US numbers are:
Your Google Voice account is now correctly set up and the next step is to create a provider entry for it in your SIPSorcery account. To do that you will need to login to the Silverlight portal and go to the SIP Providers tab. Once there click on Add and the click the radio button next to Google Voice.
You need to fill in all the fields shown in the above screenshot.
Another SIPSorcery provider entry may now be required depending on how you manage incoming calls on the provider of your US telephone number created in step 1. You have two options to get the incoming calls from your provider to SIPSorcery.
You can test you have your callback provider set up by dialling your US phone number and ensuring that calls reach your SIPSorcery SIP account.