Voip.com | Voip Calls Contact Sales Contact Support Login to your account
Home Residential Business SIP Trunking International Features Why VoIP How VoIP Works

Voip.com - Internet Phone Service

voip.com Internet Phone Service

Voip > Help > Installation Guide > BYOD Devices > Asterisk PBX Software

Asterisk PBX Software

Installation Instructions:


To use the Asterisk PBX with your VOIP.com VoIP phone service, please follow these instructions:
  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 => <username>@<domain>:<password>:
      <username>@<domain>/<extension>

    • Replace username with your VOIP.com provided user name
    • Replace password with your VOIP.com provided password
    • Replace extension with one of your accessible extensions in the dial plan.



  2. VOIP.com Peer

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



  3. /etc/hosts

    • Modifying /etc/hosts
      Using the IP Address you received from nslookup add a line like this to /etc/hosts:
      {ip} <domain>

      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}@<domain>,30)
      exten => _1NXXNXXXXXX, 2, congestion()
      exten => _1NXXNXXXXXX, 102, busy()



      ; This extended Dial Plan will enable International Dialing
      ; 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}@<domain>,30)
      exten=_01131.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01132.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01133.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01134.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_011351.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_011352.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_011353.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_011378.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01139.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01141.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_011420.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01143.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01144.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01145.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01146.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01147.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01148.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01149[2-9].,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01154.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01155.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01156.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01160.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01161.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01164.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01165.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01181.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01182.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_011852.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_01186.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_011886.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_011972.,1,dial(SIP/${EXTEN}@<domain>,30)
      exten=_011.,2,congestion() ; No answer, nothing
      exten=_011.,102,busy() ; Busy

 

More info

Learn more about Asterisk PBX:

 


NOTE: VOIP.com cannot provide full technical support for BYOD devices. The BYOD option is intended for technically advanced users. VOIP.com can not provide full technical support for these devices. If your device is not working as expected, you may need to contact the device manufacturer for technical support.