[Samsung Epic 4G Touch] copota:
UPDATED: 9.14.14

IMPORTANT SUMMARY OF CHANGES MADE OR ADDED

9.14.14

Google integrated Google Voice with Google Hangouts. Now you can make AND receive phone calls right from the Google Hangouts app. This also means you can receive phone calls over WiFi made to your Google Voice phone number, and yes, you can receive texts sent to your Google Voice number as well.

You'll need the latest Google Hangouts app installed version 2.3, which might not be available yet in the Google Play store as of this post. You'll also need to install the Hangouts dialer. Plus, ensure you have the "Incoming phone calls" setting ticked, which can be found in the Hangouts app setting page for your account.

Google Hangouts app on the Playstore link

Hangouts dialer app on the Playstore link

If the Playstore doesn't have Hangouts 2.3 yet, you can download the APK from this site

Keep in mind, if you wish to use the data time of your FreedmPop plan, you should be able to simply use Hangouts for calls, and all calls over WiFi will not use your allotted FreedomPop time. However, if you're mobile, and need to use the minutes or data allotted for mobile talk or data time, you'll still need to use the carrier number provided by FreedomPop and all time used will be deducted accordingly.

7.21.14

If you're experiencing call quality issues in CSipSimple, then check out this post for a possible workaround.

LINK TO POST

3.8.14

It appears FreedomPop revised the account information for Username and Account ID. These now need to be added into CSipSimple in a different way, otherwise you won't gain access.

I'm not sure if your current configuration will now fail, but if it does, then follow the revised instructions in the CSipSimple Method under account information, to see the new way of inputting your Username and Account ID.

I haven't updated the AOSP method yet, so if you need to change that, look over the revised instructions in the CSipSimple Method to get an idea of what to enter.

3.4.14

Added alternative option to filters for Google Voice automation to the CSipSimple guide

Added instruction on how to backup CSipSimple settings

3.3.14

Added new section for configuring the native AOSP dialer to work with a FreedomPop account

Moved some information around

Revised introduction

Added Troubleshooting section to CSipSimple method

Thanks to member phigan for posting information about the Prefixer app and listing a dialing rule.

Thanks to member bads3ctor for listing commands to extract the FreedomPop account database in Linux.

2.27.14

Added recommendation to set Echo mode to auto under the Settings > Media section. This option was recommended by el34han who was experiencing audio crackling issues, and by Unticking Echo cancellation, and setting Echo mode to auto, his audio improved. Only apply this option if you're experiencing call quality issues to see if it improves the audio.

2.21.14

I added instructions on how to create filters if your Google Voice account is set to use a pin number and required for access. When I initially posted this guide, I never addressed how to create a filter when a pin number is active for a Goolge Voice account.

I expanded upon the "Settings" section of this guide. I reviewed all the settings in the current FreedomPop Messaging app, and added them to the "Settings" section of this guide.

I posted this guide for FreedomPop subscribers that would like to better integrate their Google Voice number with their FreedomPop account. This guide can also be used as a method to get your FreedomPop account working in a KitKat ROM, or as a way to use your FreedomPop account for calls and data without the need of the FreedomPop Messaging app, though texting will not work without the FreedomPop Messaging app.

Currently there are two methods you can choose from. The AOSP Dialer Method, and the CSipSimple Method, both listed below.

The following prerequisites must be met to follow either method...

Rooted Android OS.

FreedomPop Messaging app configured and working with your account.

Titanium Backup app (free edition) installed.

Unknown Sources option is ticked in Androids Setting > Security section.

Google Voice users must ensure their Google Voice number is forwarded to their FreedomPop number. This is done at the Google Voice account setting page.

I expanded a bit on a guide I originally saw over at http://blog.drewwithers.com. Hopefully I made it a little more noob friendly.

This guide is a work in progress, so if things aren’t working out, check back to see if corrections were made. If you anyone knows of an easier way to accomplish Google Voice integration with FreedomPop, please post up your suggestions.

AOSP Dialer Method

This method configures your native AOSP dialer with your FreedomPop account information. The options to configure your call quality and SIP settings are limited in this method. If you’re experiencing call quality issues or other problems, you can try the CSipSimple Method, which offers more options to improve call quality and compatibility.

Can be used to replace the FreedomPop Messaging app for calls and data usage

Can be used for texting to your FreedomPop number, only with ROMs the FreedomPop app can be installed. You will not be able to install the FreedomPop app in a KitKat ROM. Keep in mind, the FreedomPop Messaging app might cause issues with your AOSP dialer that’s configured with your FreedomPop account.

Can be used for Google Voice number dialing

Can be used for texting with a Google Voice phone number

Can be used with KitKat ROM

ACCOUNT INFORMATION EXTRACTION

First we need to extract some account information from your FreedomPop account, which can be obtained by backing up the FreedomPop app.

LINUX USERS

Here are commands for use to extract your FreedomPop account file.

sudo apt-get install sqlitebrowser
adb root
adb pull /data/data/com.freedompop.phone/databases/com.freedompop.phone.db
sqlitebrowser com.freedompop.phone.db

In Titanium Backup, select Backup/Restore, select the Messaging App, then select Backup.

Titanium Backup will create a file named com.freedompop.phone-xxxxxxxxxx.tar.gz. This file is located in the TitaniumBackup folder, which should be located at the root of your phones internal SDcard.

Transfer that file to your PC.

Now that you have the file transferred to your PC, you’ll need to extract the contents.

After extraction, you’ll have a folder named data.

Keep opening the data sub-folders within till you see a folder named databases.

Within the databases folder, you should now see a file named com.freedompop.phone.db. You will need to open this file with a sqlite viewer. I’m using Windows, so I used an app named sqlitebrowser, click the link to grab the viewer.

Open the database file with the viewer. Click the Table dropdown menu. Select accounts.

You should now see a table filled with data. Scroll over to the column named data.

You will see a 32-character hex string. Copy that string, and save it to a file, you’ll need to enter that into CSipSimple.

Now, we can move onto configuring the native AOSP dialer.

DIALER ACCOUNT SETTINGS

In this section, I’m using the native AOSP dialer in a Cyanogenmod KitKat ROM.

Open native dialer

Goto the dialer's settings section

Configure the following...

Use Internet calling

For all calls when data network is available > tick this option

Accounts

Receive incoming calls > tick this option

Accounts

tap ADD ACCOUNT

Username

Enter: your FreedomPop phone and area code, beginning with 1, example: 15555555555

Password

Here you will enter the 32-character hex string you extracted earlier.

Server

Enter: fp.layered.net

Now tap Optional settings and configure the following...

Transport type

TCP > tick this option

Now tap save, and that completes account registration.

I posted an image below highlighting the settings that need to be configured for easier reference.

PLACING CALLS

In order to place a call, you must dial 1 first. For example, a call placed such as this will not go through 555-555-5555. The call must be preceded with a one like this 1-555-555-5555.

You can install an app named Prefixer, which will automatically dial a one in case you forget. In order for Prefixer to perform such a task, you must add a rule that will automatically input a one in case you forget.

I linked the rule necessary to accomplish this task. Download the rule, copy it to your phone, then open Prefixer.

Link to Prefixer rule > Prefixer Prefix 1 Outgoing Call Rule

At the top left corner in Prefizer, tap the down arrow, select Import rules. Then navigate to where you copied the file and install it. Once installed, you should see the rule listed in Prefixer. Close the app, and Prefixer should now automatically insert a 1 should you forget.

GOOGLE VOICE USERS

To complete a full integration, so your Goggle Voice number will be seen by the party you call, you will have to install an app named Voice+ (Google Voice Callback). This app will prompt you with an option to automatically route your outgoing calls via Google Voice.

Download and install the app, then open the app and tick Outgoing call integration.

Next, tap Google account, and select your Google Voice account.

You’ll be prompted with a window offering an option to add numbers to the "Visible numbers" section. Your Google Voice account will be listed in the Visible numbers section. You should also move your FreedomPop number into the Visible numbers section as well. Sometimes the number you move into the Visible numbers section doesn’t save, so you’ll need to close the app and check back by going into Callback Numbers to see if the number you moved into the Visible numbers section saved.

Now, to call out with your Google Voice number, open your dialer, input a number and press call. You’ll be prompted with a window offering several calling options. Choose Google Talk Callback that’s listed with your Google Voice account. It should immediately connect you via Google Voice.

If you have a problem connecting, then try the Google Talk option that lists your FreedomPop number. If you choose this option, your phone will ring you back. Answer the call and you should be connected with the party you’re calling.

GOOGLE VOICE TEXTING

To text with your Google Voice account, install the Google Voice app.

Upon installing the Google Voice app you’ll be prompted with an option for Making calls with Google Voice. Select Do not use Google Voice to make any calls. Also, there might be prompts to configure certain features that are not available with Sprint, skip them if you can’t configure them.

After the Google Voice app is installed, you can go into Google Voice's settings section and under Sync and Notifications you can configure the app to receive texts via the Google Voice app or the Messaging app. I found the Google Voice app is more responsive upon sending and receiving text.

Google Voice also installs another app named Voice+. This app is in the app drawer with a blue icon and white phone on it named Voice+. Don't confuse this app with the other Voice+ app you recently installed. Open the Google Voice+ app and select your Google Voice account to enable all apps to send SMS through Google. If you try using another app for SMS, or you’re experiencing problems, then select Disable in the Google Voice+ app to see if your problem gets resolved.

END AOSP DIALER METHOD GUIDE

CSipSimple Method

This method uses the CSipSimple app to replace the FreedomPop Messaging app, and utilizes CSipSimples filtering abilities to automate Google Voice call routing.

Can be used to replace the FreedomPop Messaging app for calls and data usage

Cannot be used for texting to your FreedomPop number since the FreedomPop Messaging app will have to be uninstalled

Can be used for Google Voice number dialing

Can be used for texting with a Google Voice phone number

Can be used with KitKat ROM

PART 1 OF 2: ACCOUNT INFORMATION EXTRACTION AND CONFIGURATION

First we need to extract some account information from your FreedomPop account, which can be obtained by backing up the FreedomPop app.

LINUX USERS

Here are commands for use to extract your FreedomPop account file.

sudo apt-get install sqlitebrowser
adb root
adb pull /data/data/com.freedompop.phone/databases/com.freedompop.phone.db
sqlitebrowser com.freedompop.phone.db

In Titanium Backup, select Backup/Restore, select the Messaging App, then select Backup.

Titanium Backup will create a file named com.freedompop.phone-xxxxxxxxxx.tar.gz. This file is located in the TitaniumBackup folder, which should be located at the root of your phones internal SDcard.

Transfer that file to your PC.

Now that you have the file transferred to your PC, you’ll need to extract the contents.

After extraction, you’ll have a folder named data.

Keep opening the data sub-folders within till you see a folder named databases.

Within the databases folder, you should now see a file named com.freedompop.phone.db. You will need to open this file with a sqlite viewer. I’m using Windows, so I used an app named sqlitebrowser, click the link to grab the viewer.

Open the database file with the viewer. Click the Table dropdown menu. Select accounts.

You should now see a table filled with data. You will need to copy the contents of three fields in order to complete account registration in the CSipSimple app. Those fields are...

acc id

username

data

I suggest copying the information to a text file and transferring the file to your phone, so you can open it with a text editor and copy the information necessary.

Now, we can move onto installing and configuring CSipSimple.

First, uninstall the FreedomPop Messaging app.

Now, download the latest CSipSimple apk (click link), and install via your Android file manager.

After installation, open CSipSimple. You’ll be prompted with some system settings, just hit save for now.

Tap Add Account, and scroll the wizard down till you see Expert, and select that option.

Now, make the below listed changes...

Account Name

Enter: FreedomPop

Account id

Enter: <sip:155555555_A001122G2222@fp.layered.net>

This is an example of how your account id might look. Please note, your ID might differ, and not include an underscore or trailing random characters. Just enter it exactly how it was in the acc id field form the data base.

Registration URI

Enter: sip:fp.layered.net

Realm

Enter: *

Username

In this box you need to enter the information you copied from the username field. IMPORTANT: If the username field simply listed a phone number, then just input that number exactly how it was listed in the data base.

EXAMPLE: 15555555555

However, you may have a username that was listed with more information. If the information listed in the username field looks similar to this...

EXAMPLE: 155555555_A001122G2222@fp.layered.net

Then you need to enter only the phone number and trailing characters up to the @ symbol, which should look like this...

ENTER: 155555555_A001122G2222

Data

Here you will enter the 32-character hex string you extracted earlier.

Data Type

Make sure plain password is selected

Transport

Make sure TCP is selected

Default uri scheme

Make sure sip is selected

Register timeout (sec)

Make sure 900 is entered.

Proxy URI

Enter: sip:fp.layered.net

You’re now done with the account information. Tap “Save” at the bottom.

SETTINGS

Now go to the CSipSimple Settings page...

Configure the following settings (if there is no instruction for an option, then leave that option in its default setting)...

Easy configuration

Integrate with Android > Tick this option

Available on WiFi > Tick this option

I'm allowed to use mobile > Tick this option

Network

Use compact SIP > Tick this option

Connection keep alive

Wifi UDP keep alive > set to 80

Mobile UDP keep alive > set to 100

Wifi TCP keep alive > set to 180

Mobile TCP keep alive > set to 120

Wifi TLS keep alive > set to 180

Mobile TLS keep alive > set to 120

Secure transport

SRTP mode > set to disabled

ZRTP mode > set to No ZRTP

FOR INCOMING CALLS

Use WiFi > Tick this option

Use 3G (and better) > UnTick this option

Use other networks > Tick this option

FOR OUTGOING CALLS

Use WiFi > Tick this option

Use 3G (and better) > Tick this option

Use other networks > Tick this option

Media

Echo cancellation > Tick this option

Clock rate > Set to 16KHz

Media thread count > Set to 2

Codec priority list per band > Tick this option

CODECS

Fast: PCMU 8kHz, ILBC 8kHz ensure these are the only codecs ticked

Slow: ILBC 8kHz ensure this is the only codec ticked

Initial stream level > Set to 8.0

User Interface

Dialer integration > Tick this option

Call logs integration > Tick this option

Mobile phone integration > Set to Prevent

Dialing tone feedback > Set to Use Android setting

Dialing vibrate feedback > Set to Use Android setting

DTMF tone feedback > Set to Prevent

Prevent screen rotation > Tick this option

Call Options

DTMF mode > Set to In band generation

That’s it for account configuration. You can check to see if all went well by tapping the key icon on the CSipSimple dialer page, which will send you back into account setup. You should see your FreedomPop account. If all went well, it should be green, with “Registered” listed below.

BACKING UP ACCOUNT

Now that all account settings have been completed, it's a good idea to back up your settings to a file. To do this, on the dialer page in CSipSimple, tap the Account button (has a key on it). Now tap the settings button (top right corner if displayed). Tap Backup / Reorder. Finally, tap Backup.

A backup file will be created in your internal storage located at the following path: CSipSimple > Configs. Copy the backup file and store it for future recovery.

To restore a backup, first make sure your backup file is located in the CSipSimple > Configs folder. Then repeat the steps above to restore.

IMPORTANT: I found that after a restore, some settings don't fully restore, particularly the Codecs setting found under Media in settings. If you do a restore, check the codecs settings to see if you need to reconfigure the settings. You may want to re-check all the recommended settings to ensure they have fully restored from a backup.

You can now go to the final step and set up the call filters.

PART 2 OF 2: FILTER CONFIGURATION

STEP 1 CONFIGURING CLIENT DTMF MODE

You can skip this step if you already configured DTMF Mode in Part 1 of this guide.

In step 1, you need to configure CSipSimple app DTMF Mode to "In band generation". Hopefully this setting won't have any undesired effects. I had to change this setting so Google Voice will dial a number upon automating via the filter.

STEP 2 CSipSimple FILTER PAGE

This step shows how to access the CSipSimple filter configuration page.

STEP 3 CREATING THE NECESSARY FILTERS

This step shows how create the two filters needed so your dialer will automate contacting Goolge Voice and dial the phone number you inputted to contact.

Please note, you'll need to swipe up to see the rest of the filter setting that's hidden by the keyboard.

There are two filter methods to choose. Only use the method that matches how your Google Voice account is configured.

For example, if you use a pin number to access Google Voice, then use the PIN FILTER method.

Use the NO PIN FILTER method if you configured your Google Voice account to work without a pin.​

NO PIN FILTER

Only use these filters if you configured your Google Voice account to work without pin number access.

PIN FILTER:

Only use these filters if you're required to enter a pin number for Google Voice access.

IMPORTANT: THESE FILTERS WILL NOT WORK WITH THE CSIPSIMPLE APP DIALER. YOU MUST HAVE YOUR ANDROID DIALER INTEGRATED WITH THE CSIPSIMPLE APP, AND USE YOUR ANDROID DIALER TO MAKE CALLS.

Dialer integration is automatically configured by default in the CSipSimple app. However, if you want to ensure it's configured for dialer integration, open your CSipSimple app, go into Settings > Easy Configuration > and ensure the "Integrate with Android" setting is ticked.

FILTER ALTERNATIVE (OPTIONAL)

If you’re not satisfied how the CSipSimple filters automate Google Voice integration, there’s an optional alternative you can try using a couple of apps. If you proceed to try this method, you’ll need to first delete any filters you created in CSipSimple that were instructed by this guide. The below apps will replace the automation the filters provided.

PLACING CALLS

In order to place a call, you must dial 1 first. For example, a call placed such as this will not go through 555-555-5555. The call must be preceded with a one like this 1-555-555-5555.

Installing an app named Prefixer, will automatically dial a one in case you forget. In order for Prefixer to perform such a task, you must add a rule that will automatically input a one in case you forget.

I linked the rule necessary to accomplish this task. Download the rule, copy it to your phone, then open Prefixer.

Link to Prefixer rule > Prefixer Prefix 1 Outgoing Call Rule

At the top left corner in Prefizer, tap the down arrow, select Import rules. Then navigate to where you copied the file and install it. Once installed, you should see the rule listed in Prefixer. Close the app, and Prefixer should now automatically insert a 1 should you forget.

GOOGLE VOICE AUTOMATION

To complete a full integration, so your Goggle Voice number will be seen by the party you call, you will have to install an app named Voice+ (Google Voice Callback). This app will prompt you with an option to automatically route your outgoing calls via Google Voice.

Download and install the app, then open the app and tick Outgoing call integration.

Next, tap Google account, and select your Google Voice account.

You’ll be prompted with a window offering an option to add numbers to the "Visible numbers" section. Your Google Voice account will be listed in the Visible numbers section. You should also move your FreedomPop number into the Visible numbers section as well. Sometimes the number you move into the Visible numbers section doesn’t save, so you’ll need to close the app and check back by going into Callback Numbers to see if the number you moved into the Visible numbers section saved.

Now, to call out with your Google Voice number, open your dialer, input a number and press call. You’ll be prompted with a window offering several calling options. Choose Google Talk Callback that’s listed with your Google Voice account. It should immediately connect you via Google Voice.

If you have a problem connecting, then try the Google Talk option that lists your FreedomPop number. If you choose this option, your phone will ring you back. Answer the call and you should be connected with the party you’re calling.

TROUBLESHOOTING

If you experience any audio issues, such as crackling audio, you can try the following step to see if it resolves the problem.

First, you need turn on "Expert mode". This mode reveals hidden settings you'll need to change. To turn on "Expert mode", go to the CSipSimple settings page. Next tap the settings button, then tap "Expert mode", as illustrated in the picture below.

Next, configure the following options...

Goto the Media section in settings.

Echo cancellation > Untick this option

Echo mode > Set to Auto

By disabling Echo cancellation, and setting Echo mode to Auto, this might resolve any audio crackling issues.