login
   
User name
   
Password
 
HomeRate PlansAvailabilityFeaturesSupportSign Up
Support Center

Installation of BYOD Devices

Asterisk PBX and Asterisk@Home

To use the Asterisk PBX with your BroadVoice VoIP phone service, please follow these instructions:

Installation:

  1. Patching -
    This step is no longer necessary as the BroadVoice patch has been merged in 1.0.4 stable.

  2. Build -
    Follow the standard Asterisk instructions.

Configuration:

  1. Sip.conf

    • Pedantic
      In the [general] section ensure pedantic is set to no
      pedantic=no


    • Registration
      In the [general] section of the config file create a line like this:
      register => <phonenumber>@sip.broadvoice.com:<password>:<phonenumber>@sip.broadvoice.com/<extension>

    • Replace phonenumber with your account phone number,
    • Replace password with your password
    • Replace extension with one of your accessible extensions in the dial plan.



  2. BroadVoice Peer

    • Add a new section towards the bottom of the file to insure you don't overwrite any important data in [general]
      [sip.broadvoice.com]
      type=peer
      user=phone
      host=sip.broadvoice.com
      fromdomain=sip.broadvoice.com
      fromuser=<phone number>
      secret=<register password>
      username=<phone number>
      insecure=very
      context=from-broadvoice
      authname=<phone number>
      dtmfmode=inband
      dtmf=inband
      ;Disable canreinvite if you are behind a NAT
      canreinvite=no

    • Be sure you fill in fromuser with your phone number.



  3. /etc/hosts

    • Finding the right proxy
      Ping the following hosts and select for the best time:

      proxy.lax.broadvoice.com
      proxy.dca.broadvoice.com
      proxy.mia.broadvoice.com
      proxy.atl.broadvoice.com
      proxy.chi.broadvoice.com
      proxy.bos.broadvoice.com
      proxy.nyc.broadvoice.com


      After you have chosen the one with the best ping time, do a dnslookup by running nslookup on the hostname.

    • Modifying /etc/hosts
      Using the IP Address you received from nslookup add a line like this to /etc/hosts:
      {ip} sip.broadvoice.com

      Insert the IP appropriately



  4. extensions.conf

    • Default Dial Plan
      Put the following block in your extensions.conf as it will be your default dial plan:

      [default]

      exten => _1NXXNXXXXXX, 1, dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten => _1NXXNXXXXXX, 2, congestion()
      exten => _1NXXNXXXXXX, 102, busy()



      ; This extended Dial Plan will enable International Dialing on The Unlimited World PLUS Plan
      ; This dial plan enables World Plus countries
      ; there are no built in ways to prevent calls to cell phone users (except in germany where Cell phone prefix's are
      ; carried by 1 and has been accounted for)

      exten=_01130.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01131.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01132.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01133.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01134.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_011351.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_011352.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_011353.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_011378.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01139.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01141.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_011420.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01143.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01144.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01145.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01146.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01147.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01148.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01149[2-9].,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01154.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01155.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01156.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01160.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01161.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01164.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01165.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01181.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01182.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_011852.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_01186.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_011886.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_011972.,1,dial(SIP/${EXTEN}@sip.broadvoice.com,30)
      exten=_011.,2,congestion() ; No answer, nothing
      exten=_011.,102,busy() ; Busy

 

More info

Learn more about Asterisk PBX: