Monday, 17 October 2016

Configuring Cisco SPA112 VoIP ATA With Flowroute

The Cisco SPA112 is a two-line VoIP ATA (Analog Telephone Adapter) that can be purchased as an "unlocked" (open configuration) VoIP adapter.

It's well suited for the BYOD DIY VoIP enthusiast who wants to configure their own ATA with their choice of  VoIP service providers (VSPs) who allow BYOD and DIY.

In this "Quick Guide", I will illustrate the bare bone essentials that I used to configure my Cisco SPA112 with the well known Internet Telephony Service Provider (ITSP):  Flowroute.

Flowroute is a BYOD and DIY ITSP based out of Seattle, Washington, USA with VoIP proxy servers located in Los Angeles and Las Vegas.  Flowroute also provides DID phone numbers throughout Canada, as well as in the Okanagan Valley of BC where I live.  They also provide free iNum DID's as well as free iNum inbound/outbound calling.

Flowroute is a high quality but No-Frills ITSP.  You get all the basic telecom features that VoIP has to offer, without the frills.  By no frills, I mean, no voicemail, no sub-accounts (extensions), no ring groups, etc.  Those are all features of PBX's in the sky (think and CallCentric).

As with all of my Quick Guides, I like to begin by ensuring that the VoIP device has been freshly Factory Reset to its default settings.  This is the only way I can ensure that what works for me, should also work for you.  As well, I like to quickly review the list of assumptions and prerequisites to ensure we are all starting from the same general reference point.

Assumptions and Prerequisites
  • You know how to login to the Cisco SPA112 ATA -  I explain how:  HERE.
  • You are the owner of the phone and it has not been locked-down by a VSP/ITSP or previous owner.
  • Make sure the phone is Ethernet cable connected to a LAN port on your NAT-Router.
  • The NAT-Router must be enabled to issue DHCP IP addresses to LAN connected devices.
  • Your NAT-Router must not have SIP ALG feature enabled.  If it does, make sure it is disabled.
  • You know how to perform a Factory Reset (Reset configuration settings to their factory defaults) - I explain how:  HERE.
  • Once you know how to perform a Factory Reset, I recommend that you do so before proceeding.
  • Preferably, your SPA112 should be running with the latest available firmware version
  • By default, your NAT-Router will provide DNS lookup with the default DNS servers defined by your ISP supplied Internet Modem.  And, by default, you SPA112 will use the DNS lookup servers as referred to by your NAT-Router.  This may be just fine, in general.

    However, some people, including me, like to specify highly trusted and known secure DNS servers for their local networked devices.  If you set your NAT-Router to use specifically trusted and security conscious  DNS servers, then all the DHCP enabled devices on your network will by default also use those same DNS servers for Internet name lookup (including the SPA112).
    Here are some widely suggested DNS servers you can set in your NAT-router and/or PC's and ATA's:

    -  Open DNS:                           and
    -  Google Public DNS:              and
    -   (I have personally used both Google DNS and Open DNS for years with no problems.) 

  • You have already setup an account with Flowroute and know your account SIP credentials that will be used in the configuration of your SPA112 ATA. (i.e. User Name/Tech Prefix/Authenticate ID,  and SIP Password.)
  • Your SPA112 is now powered-up and ready to be configured.

Now that we have the assumptions and prerequisites out of the way, all that remains is the non-default essentials required to successfully configure the SPA112 to connect to and register with the Flowroute SIP proxy server.  (This should only take a few minutes.)

The screen captures used in this article were based on Firmware Version 1.4.1(002)

Let's Get Started
  • Login to the SPA112 Configuration Utility using your PC web browser. You will initially land on the Quick Setup page.
  • Click on NETWORK SETUP tab.

Internet DNS Settings
  • Click on INTERNET SETTINGS menu option.

The following settings are discretionary and optional, but highly recommended:
  • DNS Server Order:        Manual-DHCP
  • Primary DNS:       
  • Secondary DNS:   
Click the SUBMIT button when finished to save your changes before moving to another page.

After clicking Submit Button, you may see the following screen appear for about 5 -10 seconds.

Setting Your Time Zone
  • Click on the TIME SETTINGS menu option.
  • Scroll down to the Time Zone drop-down list.
  • Click on the Time Zone drop-down menu list and select your local Time Zone that you live in.

    Because I live in the Okanagan Valley region of British Columbia, Canada, I will be using  (GMT -8Pacific Time  (USA & Canada).  This is the Default value.
  • Set the Time Server drop-down option to:      AUTO
    The Default Time Server text box value defaults to:

    (Any valid Time Server can be stipulated here.  I sometimes use  because I live in Canada.)
  • Set the Auto Recovery After Reboot option to:      Enable  (box checked)

  • After making the above edits, click on the Submit button to save your changes, before proceeding to another page. 

Change Your Admin Password
  • Click on the ADMINISTRATION Tab.
  • Click on the USER LIST menu option.

  • Click on the "admin" edit icon, just to the right of the Admin Level text. 
  • Change your Admin Password from its default value to something more secure.

After entering your old PW and then entering your New PW followed by confirming your new PW, finish by clicking the SUBMIT Button to save your changes.

Disable Provisioning
  • Click on the VOICE Tab.
  • Click on PROVISIONING menu option.
  • Set Provision Enable:     NO  

  • Click Submit Button to save changes before leaving this page.

Optional SIP Settings
  • Click on the SIP  menu option.

  • RTP Packet Size:     .020

Scroll down near the bottom of the SIP page to the NAT Support Parameters section.

By default, STUN server support is disabled.  However, if you experience audio problems with incoming calls (one-way or no audio) then STUN support will often remedy this problem.

To enable STUN support, you can make the following edits: (optional)
  • STUN Enable:       YES
  • STUN Server:
Optionally, you can use   or  as STUN servers.

  • Click Submit Button to save changes before leaving this page.

Disable LINE-2
  • Click on  the LINE-2 menu option.
  • Set Line Enable:  NO

  • Click Submit Button to save changes before leaving this page.

Configuring LINE-1
  • Click on  the LINE-1 menu option.

Enable NAT Traversal as follows:
  • NAT Mapping Enable:        YES
  • NAT Keep Alive Enable:     YES

By default, 5060 is the "standard" SIP port used on Line-1.  For various reasons, I no longer use the default SIP ports.  I recommend setting to an alternate random high value port number somewhere in the range between approximately 6000 and 65000.  It really doesn't matter what number you use, as long as it doesn't conflict with any other device ports being used on your local network.
  • SIP Port:     51061     (optional - random high-range port for better security/reliability)

Scroll down to the Proxy and Registration section of the page.
Edit the following default values to the values as specified:

  • Proxy:                            
  • Register Expires:                    360
  • DNS SRV:                               YES
  • Proxy Fallback Interval:       360
  • DNS SRV Auto Prefix:          YES

  • Display Name:                   Your Name         (optional)
  • User ID:                              Your Flowroute 11-digit DID Phone Number
  • Password:                           Your Flowroute auto-generated SIP Password
  • Use Auth ID:                      YES
  • Auth ID:                              Your Flowroute Tech Prefix  (Username/Auth Username)

Scroll down to the Audio Configuration section.


By default, the Preferred Codec is G711u.  This is the standard primary default Codec used in North America.  Thus, I only use the G711u Codec for all calls.  I prefer to set this codec as the only Codec negotiation option:
  • Use Pref Codec Only:     YES

Scroll down to the Dial Plan section at the bottom of the Line-1 page.


The default Dial Plan will work just fine with Flowroute.  However, Flowroute only allows for 11-digit North America dialing.

If you prefer to use 10-digit dialing, you can modify the dial plan as illustrated below.  I have also removed some elements that are irrelevant to dialing through Flowroute.

Suggested Modified Dial Plan:


  • When finished, click the SUBMIT Button to save changes. 

If you are confident that you have entered your configuration values correctly, you are ready to Reboot the SPA112 .

  • Click on ADMINISTRATION tab
  • Click on REBOOT menu option
  • Click the Reboot button.

Rebooting will take about ~ 9seconds.

After about 90 seconds, you should now be able to Login again to the SPA112.

If all recommended configuration settings have been entered correctly, the SPA112 should achieve successful registration with Flowroute servers.  I have found that with the SPA112 , this can take up to 2 minutes following a REBOOT command.

If registration is successful, the Line-1 registration LED on the front of the SPA112 ATA will light up green.

If registration is not successful, go back and review all configuration settings as recommended.

That's it.... we are done!

That's It In a Nutshell
So now, I have covered the bare-bones essentials of getting started configuring your Cisco SPA112 ATA with Flowroute.

If you started with the SPA112 configuration default values, and only changed the values and entries described in the above bullet points, you should now be able to make VoIP calls via your Flowroute account connection.

Making Test Calls From The SPA112 With Flowroute
I have listed a few Free Test Calls that you can make regardless of the calling balance in your account.
  • 1-800-FREE-411  (1-800-373-3411)   Directory advertisement based 411 service.  This will allow you to test 11-digit dialing.  Or, dial (800-373-3411) to test 10-digit dialing.
  • 1-866-210-2157    Plantronics Audio Tuning Wizard - Toll Free Plantronics Automated Sound Test Machine for Wireless headsets.  Or, dial 866-210-2157) to test 10-digit dialing.
  • iNum network Echo Test:   011-883-5100-0000-0091#
  • iNum network Caller-ID Talk-Back:   011-883-5100-0000-0093#  
  • iNum network DTMF digit entry Talk-Back Test:   011-883-5100-0000-0092#

    iNum numbers are 15 digits in length.  However, because iNum calls are considered non-geographic international numbers, they are dialed as an international number, which means from the USA and Canada, you need to precede the iNum number dialed with the International Direct Dialing (IDD) Access Code of 011 (as illustrated in the above examples).  Note however, iNum calling is free via Flowroute network.

You can do further test calling to any 11 digit PSTN or mobile phone number of someone you know for test calls through the PSTN network.  Your Flowroute cash balance will be decremented by about 1-cent/minute for outbound calls.

  1. Calling 1-8xx toll-free numbers are free via Flowroute.
  2. Calling to PSTN landlines and mobiles phone numbers requires Flowroute calling credits.
  3. e911 service is available with Flowroute - but must be activated with a paid subscription.
  4. To ensure speedy dialing of any number, you can press the # key after the last entered digit.  Entering the # key will initiate an "immediate send" on that dial string, and speed things up.

Obviously, there are numerous additional settings for tweaking the configuration and performance of your ATA.  But, configuring and enabling the bare bones basics was the theme of this article.   It's working for me.  I hope it works as well for you, too!

Happy VoIPing !
Jeff - VoipDIY