Monday, 8 August 2016

OBi200 - Manually Configure Flowroute Voip.ms CallCentric







In past articles, I described how to manually configure Flowroute, Voip.ms, or CallCentric independently as an only ITSP (Internet Telephony Service Provider) to be configured into the OBi200.

In this article, I will walk you through the basic process I use to configure my Obihai OBi200 with all three ITSP's packed into this one tiny box.

Why did I choose these three ITSP's - in this order? 

Over the past 12 years or so, I have tried and used at least a dozen different VoIP providers.  At some point, it became clear that I needed to narrow down the list to my top three providers who meet the following criteria:

  • Very low cost
  • BYOD and DIY
  • Prepaid and pay-as-you-go
  • No Contracts
  • No extra hidden fees or connect charges
  • Reliability
  • Good customer support
  • Features
  • Proven track record

With all the above in mind, I have chosen Flowroute, Voip.ms, and CallCentric to be my top three VoIP service providers....  in that order.  

Flowroute is my Primary ITSP; Voip.ms is my Secondary ITSP; and CallCentric is my backup ITSP service provider.  (Everyone should have at least one backup VoIP provider.)

The OBi200 allows me to now configure my primary, secondary, and backup service providers into one small box funneling all calls to and from a single connected analog telephone, or DECT base station with multiple cordless handsets.

This configuration allows me to receive inbound calls via any of the 3 registered ITSP's plus ObiTalk network connected devices. (Not to confuse the ObiTalk VoIP Network with the ObiTalk configuration portal dashboard).

As well, the OBi200 allows me to pick and choose which of the three ITSP's (plus ObiTalk) I want to direct outbound calls through.

I chose Flowroute as my Primary VoIP provider because they offer some of the lowest calling rates at high quality and reliability with low latency.  As well, they offer DID phone numbers in Kelowna, BC, Canada whereas Voip.ms does not, at this time.


Here's The Plan

In this tutorial, when I configure the OBi200, I will configure Flowroute into ITSP-A paired with SP1 (which is the default pairing of ITSPx/SPx pairs.  Thus, Flowroute will be my default outgoing line.

Then, I will configure Voip.ms into ITSP-B paired with SP2 as my secondary line. In this case, when I want certain calls to route through Voip.ms servers, I must precede those calls with **2 followed by the phone number or dial string I wish to call.

As my 3rd and alternate backup provider, I will configure CallCentric into ITSP-C paired with SP3. Thus, when I route calls through CallCentric, I must precede those calls with **3 followed by the phone number or dial string I wish to call.

By default, any incoming calls via any of the three configured ITSP's, or the ObiTalk network  will route directly to and ring the attached telephone device.

As is my standard practice, I will first point out preliminary assumptions and prerequisites before proceeding with configuration.




NOTE:
My procedures outlined here are based on the premise that your OBi200 is not, and will not be linked to the OBiTalk Dashboard web portal at www.obitalk.com using their "Add Device" feature.  If you "add your device" to the OBiTalk portal, the portal will takeover remote administration of your OBi device via the cloud (which is fine, if that is what you want.  However, my tutorials are not based on that premise).  If you are connected to the OBiTalk Dashboard portal, any local administration settings that you do here to your OBi200, via local LAN side administration could and likely will be over-written by the OBiTalk remote administration portal periodically, or upon device reboot.  Thus, to proceed with my procedures outlined here, and if your OBi200 is/was previously configured via OBiTalk portal, then I recommend you "unlink" and remove your OBi200 from OBiTalk portal (remove from "Add Device" list) first, and then followed by a local factory reset to ensure that you are starting with fresh default configuration values and no remote administration links or remnants left behind.

Please remember, the premise of all my tutorials are to allow you to locally and manually configure your ATA without any interaction with 3rd party control - which is how I configure all my VoIP devices.




Before proceeding, the following assumptions must be made and prerequisites met:

Assumptions and Prerequisites
  • You need to know how to login to the OBi200 -  I explain how:  HERE.
  • The OBi200 has not previously been "locked-down" by a reseller/VoIP Service Provider.
  • The OBi200 is not linked to OBiTalk Dashboard portal via "Add Device" method on OBiTalk website.
  • Make sure the OBi200 is Ethernet connected to a LAN port on your NAT-Router/switch.
  • Your NAT-Router must be set to issue DHCP IP addresses to LAN connected devices. (most are, by default)
  • You should have an analog telephone or DECT cordless base station plugged into the OBi200 Phone port.
  • You know how to perform a Factory Reset (Reset Configuration to Defaults) - I explain how:  HERE.
  • Once you know how to perform a Factory Reset, I recommend that you do so before proceeding with my configuration directions.   (This is an important step to be sure that what works for me will also work for you, too.)
  • Your OBi200 is running the latest Firmware version.  Don't know?   I explain how to check/update:  HERE.
  • Your OBi200 is powered-up and ready to be configured.
  • You have previously setup a Flowroute account and have your SIP account login Username/AuthUsername (aka: Tech Prefix) and password credentials handy.  For best experience, you should also have a DID phone number acquired with the account.
  • You have previously setup a Voip.ms account and have your SIP account login username and password credentials handy.   (You can use your Voip.ms "Main Account" credentials, or any of your Voip.ms "extension" sub-account credentials setup for specific use with your OBi200 connections).
  • You have previously setup a CallCentric account and have your SIP account login username and password credentials handy.  (You can use your CallCentric "Main Account" credentials, or any other CallCentric "extension" sub-account credentials setup for specific use with your OBi200 connections).

Now that all the assumptions and prerequisites out of the way, we are good to go.


Let's Get Started
  • Login to the OBi200 configuration utility.
  • Navigate to System Management --- WAN Settings page --- Time Service Settings
  • If your Local Time Zone is not GMT-08:00(Pacific Time), then uncheck its Default check box and select the LocalTimeZone that you live in from the drop-down list box.
  • If you do not live in a Daylight Savings Time Zone, you can disable the DaylightSavingTimEnable check box.


If you made any changes, scroll to the bottom of the page and click the SUBMIT button to save your changes.

If you clicked the Submit Button, you will be greeted with the "Are you sure" pop-up.
Click the OK button to ensure your changes are SAVED.



After clicking on OK, another window pops-up, which is the Configuration Update Successful window.

Do Not click on the Reboot button....at this time.  It is not necessary, just yet.  We will issue the reboot command at the end of this session after all changes have been made and submitted.  We will be repeating this sequence of events throughout the procedure.  Every page that is edited will require a repeat of :  Submit --- OK --- Return (or continue via navigation menu).   (However, if you need to take a break between configuring each ITSPx and SPx pair, feel free to reboot to solidify your config settings thus far.)







Configuring ITSP-A and SP1 for Flowroute  (default service)  (**1)

- Service Providers 

- - ITSP Profile A

Navigate to:  Service providers --- ITSP Profile A --- General 

Note:
When making configuration "Value" changes, uncheck the associated items Default check box first in order to make value edits and changes.

Set the following values:
  • Name:                     Flowroute   (optional)
  • DTMF Method:        RFC2833
  • X_UseFixedDurationRFC2833DTMF     (checkmark its Value box to Enable).
  • I'm recommending the following Digit Map for most people using Flowroute:   (optional)
(911|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)

With this dial plan (digit map), I included the addition of: 911.  This will enable quicker 911 dialing should you decide to enable e911 service with your Flowroute account.

Note:   (911 service must be purchased and enabled via your Flowroute user account dashboard in order to have 911 service access).

Copy and paste the above recommended digit map complete text string into the "Digit Map" text box field to replace the default OBi200 digit map.
(Delete/erase the entire default digit map first before pasting the new digit map.)  (After copy/pasting the above digit map, carefully double-check it for copy-paste accuracy.)
When finished, scroll to the bottom of the page and click the SUBMIT button to save your changes. 

    If you clicked the Submit button, you will be greeted with the "Are you sure" pop-up.
    Click the OK button to ensure your changes are SAVED.



    Note:  If you do not click Submit and OK on each and every page that you make changes to, those changes will not be saved when you navigate to another page.


    Once again, the Configuration Update Successful window appears:


    Do Not click on the Reboot button....at this time.  We will do that at the end of the procedure.



    • Next, click on the SIP menu item also listed under ITSP Profile A   

      Edit the following fields:
    • Proxy Server :                  sip.flowroute.com
    • Registration Period :       360 (seconds) (i.e. every 6 minutes) 
    • Registration Expires :     360 (seconds)
    When finished, scroll to the bottom and click the SUBMIT button before proceeding to the next page.


    When prompted, click the OK button to confirm and continue on.



    - Voice Services

    - - SP1 Service:
    • Navigate to and click on Voice Services menu item in the left navigation window pane.
    • Click on SP1 Service menu item.

    • X_ServProvProfile :       A   (default)
    • X_KeepAliveEnable :     Enable   (check its value checkbox)
    • X_UserAgentPort :         5060     (default)  (Can be changed if needed or desired - depending on circumstances.  Must not conflict with other SPx SIP ports in use.)


    Scroll down to the SIP Credentials section located in the middle of the SP1 Service page.


    • AuthUserName :       Your Flowroute Account Number (Tech Prefix)
    • AuthPassword :         Your Flowroute SIP Password
    • URI :                           11-digit DID phone number you purchased through Flowroute. (This field will determine your Caller-ID being transmitted with your outbound calls.  You can optionally enter another phone number that you will be able to receive inbound phone calls on (e.g. your cell phone#). If you don't enter any changes to this field (leave default box checked), then your Flowroute Tech Prefix/AuthUserName ID number will be the CID transmitted.   Also, inbound calls to your Flowroute DID will not ring your OBi phone if this does not reflect your correct DID for this line registration.)
    • X_EnforceRequestUserID :        Enable   (check-mark its value check box)


    Scroll down to Calling Features section
    • Caller ID Name :      Your Name, or Number   (optional)

    When finished editing, scroll to the bottom and click the SUBMIT button.







    Configuring ITSP-B and SP2 for Voip.ms   (**2)

    - Service Providers

    - - ITSP Profile B

    Navigate to:   Service providers----ITSP Profile B----General  

    Set the following values:
    • Name:                     Voip.ms    (optional)
    • DTMF Method:        RFC2833
    • X_UseFixedDurationRFC2833DTMF     (check-mark its Value box to Enable).

    • I'm recommending the following Digit Map for most people using Voip.ms:
    ([34589]11S0|*97|*225|*?xxxx|1?[2-9]xxxxxxxxx|011xx.|xx.)

    This digit map dial plan includes "rules" that allow you to check your Voip.ms Voicemail: *97, your account balance: *225 (if you enabled that feature), *75xx Voip.ms hosted phone book speed dial (if populated), as well as Voip.ms server hosted Echo Test: 4443 and DTMF test: 4747.

    I also included the rule:  [34589]11S0.  This will enable quicker 311, 411, 511, 811 and 911 dialing should your area support these features.

    Note:   (911 service must be purchased and enabled via your voip.ms user account dashboard in order to have 911 service access).

    The modified rule:  1?[2-9]xxxxxxxxx will accommodate both 10 and 11 digit North America dialing.

    You can copy and paste the above recommended digit map complete text string into the "Digit Map" text box field as a replacement for the default OBi200 digit map.
    (Delete/erase the entire default digit map first before pasting the new digit map.)  (After copy/pasting the above digit map, carefully double-check it for copy-paste accuracy)

    When finished editing this page, scroll to the bottom and click the SUBMIT button to save changes.



    Click on the SIP menu item, listed under ITSP Profile B.

    While in ITSP Profile B, SIP settings window, edit the following fields:
    • Proxy Server:                 city.voip.ms  (see list of servers below)
    • Registrar Server:           city.voip.ms  (Must be same name as Proxy Server Name.)
    • Registration Period :       360 (seconds) (i.e. every 6 minutes) 
    • Registration Expires :     360 (seconds)

    Below is a list of Voip.ms proxy servers available at the time of this article:
    For myself, I use Vancouver server because of its very low latency of 17ms from my location in the Okanagan Valley, BC, Canada.

    When finished editing this page, scroll to the bottom and click the SUBMIT button to save changes.



    - Voice Services

    - - SP2 Service:


    Navigate to and click on Voice Services menu item in the left navigation window pane.
    Click on SP2 Service menu item.

    Set, check, and/or edit the following values:
      • X_ServProvProfile :       B  
      • X_KeepAliveEnable :     Enable   (check its value checkbox)
      • X_UserAgentPort :         5061     (default)  (Can be changed if needed or desired - depending on circumstances.  Must not conflict with other SPx SIP ports in use.)
      Scroll down and locate the SIP Credentials section located in the middle of the SP2 Service page.

      • AuthUserName :            Your Voip.ms Account Number   (Main or Sub-Account number/name)
      • AuthPassword :              Your Voip.ms SIP Password    (Main or Sub-Account Password) 
      • X_EnforceRequestUserID :           Enable   (check-mark its value check box)
      Scroll down to:  Calling Features section
      • CallerIDName :           Your Name, or number   (optional)
      • MWIEnable :                Enable
      • X_VMWIEnable :         Enable
      When finished editing this page, scroll to the bottom and click the SUBMIT button to save changes.








      Configuring ITSP-C and SP3 for CallCentric   (**3)


      - Service Providers

      - - ITSP Profile C:


      Navigate to:   Service providers ---- ITSP Profile C ---- General  

      Set the following values:
      • Name:                     CallCentric    (optional)
      • DTMF Method:        RFC2833
      • X_UseFixedDurationRFC2833DTMF     (check-mark its Value box to Enable).

      • I'm recommending the following Digit Map for use with CallCentric:
      ([49]11S0|*?xxxx?S2|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.)

      This digit map dial plan includes the rule:  [49]11S0.  This enables quicker 411/911 dialing (no timer delay).

      Note:   (911 service must be purchased and enabled via your CallCentric user account dashboard in order to have 911 service access).

      This digit map dial plan also includes rules that allow you to check your CallCentric Voicemail: *123 and your CallCentric hosted phone book speed dial (if populated) : *75xx 

      The digit map will also accommodate 10 or 11 digit North America dialing.

      You can copy and paste the above recommended digit map complete text string into the "Digit Map" text box field as a replacement for the default OBi200 digit map.
      (Delete/erase the entire default digit map first before pasting the new digit map.)  (After copy/pasting the above digit map, carefully double-check it for copy-paste accuracy)


      When finished editing, scroll to the bottom and click the SUBMIT button to save changes.


      On the left side of the window,  click on the SIP menu item, listed under ITSP Profile C


      Edit the following fields with callcentric.com as the server:

      Proxy Server:                    callcentric.com
      Registrar Server:              callcentric.com
      User Agent Domain:         callcentric.com
      Outbound Proxy:              callcentric.com 

      Registration Period :           360 (seconds) (i.e. every 6 minutes)  
      Registration Expires :         360 (seconds)








      Scroll down to near the bottom of the page.
      • X_DnsSrvAutoPrefix :      Enable by un-checking its Default box and checking its Value box.

      When finished editing this page, scroll to the bottom and click the SUBMIT button to save changes.


      - Voice Services

      - - SP3 Service:

      Navigate to and click on Voice Services menu item in the left navigation window pane.

      Click on SP3 Service menu item.


      Set, check, and/or edit the following values:
        • X_ServProvProfile :       C       (For CallCentric, we want SP3 to be paired with ITSP-C.) 
        • X_KeepAliveEnable :     Enable   (check its value checkbox)
        • X_UserAgentPort :         5062     (default)  (Can be changed if needed or desired - depending on circumstances.  Must not conflict with other SPx SIP ports in use.)
        Scroll down and locate the SIP Credentials section located in the middle of the SP3 Service page.

        • AuthUserName :            Your CallCentric Account Number  (or, Acct# + Ext#)
          (This is your 11-digit 1777xxxxxxx account number,  or 11-digit number + 3-digit Extension number - i.e. 1777xxxxxxx1xx)
        • AuthPassword :              Your CallCentric SIP Password    (Main/Extension SIP PW) 
        • X_EnforceRequestUserID :           Enable   (check-mark its value check box)


        Scroll down to:  Calling Features section
        • CallerIDName :           Your Name, or number   (optional)
        • MWIEnable :                Enable
        • X_VMWIEnable :         Enable
        When finished editing this page, scroll to the bottom and click the SUBMIT button to save changes.


        We have finally reached the final step to complete our OBi200 triple configuration settings for service with Flowroute, Voip.ms, and CallCentric:



        Once the "Configuration Update Successful" window appears:
        • Click the REBOOT button located in the window upper-right corner:
        Rebooting your OBi200 only takes about 15-20 seconds.

        Once rebooted and if you made all the above required edit changes correctly, your OBi200 Phone Port LED should now be On and a steady GREEN.     When the Phone port LED is GREEN, this means you have successful service registration with your default line (SP1), which in this case is Flowroute.

        If the Phone port is Not GREEN (not lit), then take this opportunity to review all settings that we changed earlier for correct values.  We have made a lot of edits and changes.  Making a mistake is easy to do.... believe me.... I've made plenty myself, but diligent checking and re-checking can save the day... :)

        As mentioned, the GREEN LED only indicates that the default SPx line is successfully registered.

        If in doubt about the remaining lines registration status, visit the STATUS ---- System Status page for full status information about all SPx service lines, as illustrated below:

        Once you have confirmed that all 3 configured lines are registered with their respective ITSP service providers, all that is left to do is to make test calls.

        Making test calls is actually a very important step to ensure that the DIGIT MAP Dial Plans are functioning appropriately and as expected for each ITSP service provider.




        Selecting Outbound Lines/Trunks


        Each ITSP service provider can be considered a Trunk line.  For the purposes of this article, each trunk line can be selected using the following Star Codes:

        **1   -   SP1   -   Flowroute   (Default line)
        **2   -   SP2   -   Voip.ms
        **3   -   SP3   -   CallCentric
        **9   -   OBi   -   ObiTalk

        By default, any number that you dial from your connected telephone will be directed through SP1.
        Thus, prepending your calls with **1 is not necessary, when making calls via SP1 (i.e. Flowroute).

        However, any calls via Voip.ms, CallCentric, and ObiTalk trunks will require that you begin each call with **2, **3, or **9 as required.

        The following section outlines test calls you can make through each ITSP trunk line.






        Making Outbound Test Calls


        Flowroute  -  SP1  (default line) 
        **1 prepending can be omitted for this line.

        Because Flowroute is a pure ITSP carrier, they don't have any test numbers for test calls like Voip.ms and CallCentric who are essentially IP-PBX's in the cloud between you and the PSTN networks. However, I have listed a few iNum and Toll Free numbers below that you should be able to call for free.  Flowroute provides free Toll-Free calling as well as free iNum calling.

        1-800-FREE-411  (1-800-373-3411)   Directory advertisement based 411 service
        This will allow you to test 11-digit dialing.

        888-FREE-411  (888-373-3411)  Alternate number for Free411
        This will test your ability to dial 10-digit dialed numbers.

        1-866-210-2157    Plantronics Audio Tuning Wizard - Toll Free
        Plantronics Automated Sound Test Machine for Wireless headsets

        011-883-5100-0000-0091#     iNum network free Echo Test
        Dialed as an International call, but is free via iNum Network.

        011-883-5100-0000-0092#     iNum network free DTMF Test
        Dialed as an International call, but is free via iNum Network.
        Tests that your DTMF touch pad tones are working as expected.

        011-883-5100-0000-0093#     iNum network free Caller-ID Test
        Dialed as an International call, but is free via iNum Network.
        Will talk-back your Caller-ID associated with your outbound call.

        Note
        Ending a call with the # key will circumvent the send timer-delay and speed-up dialed wait time.  Otherwise, Long Timer Delay is 10 secnds.  It is possible to edit digit map dial plans to accomodate quicker iNum dialing...


        Voip.ms  -  SP2  -  **2 
        Requires **2 before each call

        In many ways, Voip.ms emulates an IP-PBX in the cloud.  Thus, they are able to add extra features at no extra cost.  The following test numbers can be tested via their servers.

        (**2) *97   Voice Mail access
        (**2) 4443  Voip.ms hosted Echo Test
        (**2) 4747  Voip.ms hosted DTMF Test
        Once connected (beep), press any number on keypad to hear confirmation of DTMF digits pressed.

        (**2) *225  Your Voip.ms Account Balance Talk-Back.
        Must be enabled for the sub-account connected to.

        (**2) 1-555-555-0911   Caller-ID Talk-Back and 911 Service Status.
        This is not a 911 call.  It only validates whether or not your Voip.ms DID CID has been activated for e911 access.

        (**2) 555-555-0911   Caller-ID Talk-Back and 911 Service Status. (10-digit test)
        Repeat previous test to confirm 10-digit dialing is functioning.

        (**2) 011-883-5100-0000-0091#    iNum network free Echo Test
        Dialed as an International call, but is free via iNum Network.

        (**2) 011-883-5100-0000-0092#     iNum network free DTMF Test
        Dialed as an International call, but is free via iNum Network.
        Tests that your DTMF touch pad tones are working as expected.

        (**2) 011-883-5100-0000-0093#     iNum network free Caller-ID Test
        Dialed as an International call, but is free via iNum Network.
        Will talk-back the Caller-ID associated with your outbound call.
        Note:  For some reason, this call always talks-back my Voip.ms associated iNum number, even though my sub-account is set to use my local area DID number.... not sure why?


        CallCentric  -  SP3  -  **3 

        Requires **3 before each call

        In many ways, CallCentric emulates an IP-PBX in the cloud.  Thus, they are able to add extra features at no extra cost.  The following test numbers can be tested via their servers.

        (**3) *123    Voice Mail access
        (**3) 1-777-000-0001   CallCentric Test Announcement
        (**3) 1-777-123-4567   CallCentric Free411 redirect
         (**3) 411   CallCentric Free411 redirect

        (**3) 011-883-5100-0000-0091#     iNum network free Echo Test
        Dialed as an International call, but is free via iNum Network.

        (**3) 011-883-5100-0000-0092#     iNum network free DTMF Test
        Dialed as an International call, but is free via iNum Network.
        Tests that your DTMF touch pad tones are working as expected.

        (**3) 011-883-5100-0000-0093#     iNum network free Caller-ID Test
        Dialed as an International call, but is free via iNum Network.
        Will talk-back your Caller-ID associated with your outbound call.




        OBiTalk  -  SP9  -  **9 
        Requires **9 before each call

        (**9) 222-222-222       OBi Echo Test
        (**9) xxx-xxx-xxx       Call someone you know that also has an OBIHAI device.



        That's it..... we are done.
        This was a long one.  This has got to be the longest tutorial procedure I have ever written...

        Good luck and Happy VoIPing !