Skip to main content

How do I configure Grandstream UCM to work with my UniTel SIP Trunks?

Updated over 5 months ago

Notes / Conventions:

  1. This guide will walk through steps to create your UniTel SIP trunk in your Grandstream UCM. Additionally, we provide general instructions to create your Inbound & Outbound Routes. Refer to the end of this guide for Troubleshooting Tips.

  2. Configurations and references for your UniTel Toll Free & Local DIDs require e.164 format (11-digit format). Note use of the placeholder {11-digit-phone-number} where we expect substitution with the number we service i.e. 16305551234.

  3. Note use of placeholder {service_passcode}. Each Unitel Trunk has different credentials, availalbe from the Trunks page.


1. Login to your Grandstream UCM:

Prequisites:

  • The default login for your Grandstream UCM is: admin

  • You will find the default password printed on a label on the bottom of your UCM device. If your Grandstream UCM is older than 2017, the default password is: admin


Steps:

  1. From a computer that is on the same network as your UCM device, open a web browser and enter the IP address you see on the screen of your UCM device. It should be in the following format: https://ipaddress:8089. Note: The default protocol is HTTPS and the default port number is 8089. i.e. https://10.0.0.205:8089

2. Create your SIP Trunk(s)

In this step, you will add and configure your UniTel SIP Trunk in your Grandstream UCM device.

Prerequisites: You will need the following information from the UniTel Portal.
Trunk credentials are available navigating to Settings > Trunks > [Trunk Info]

SIP Trunk Info

Value

Provider address

sip.unitelgroup.com

Username

Your UniTel SIP Trunk ID

Authenticate ID

Your UniTel SIP Trunk ID

Password

Your UniTel SIP Trunk Password

UniTel Number

Your 11-digit Phone Number

Provided DIDs

(optional) other Phone Numbers on your UniTel Account

Steps:

  1. Log into the UCM6xxx portal through your web browser.

  2. Navigate to Extension/Trunk > VoIP Trunks.

  3. Click on the Add SIP Trunk button. On the Basic Settings tab, provide the following information:

    1. Type: Choose Register SIP trunk

    2. Provider Name: UniTel

    3. Host Name: sip.unitelgroup.com

    4. Keep Trunk CID: unchecked

    5. Caller ID Name: This is your caller ID. You can choose whatever you like, but keep in mind the following naming conventions:

      1. Caller ID Name should be in capital letters. This will appears more clearly/visible on some devices.

      2. You must NOT use any special characters, as they will not be displayed. Spaces are allowed.

      3. Some of regular Canadian providers will not show more than 15 characters. We suggest shrinking or adapt your caller ID.

    6. From Domain: sip.unitelgroup.com

    7. Username: Your UniTel SIP Trunk ID

    8. Password: Your Trunk’s Password

    9. Transport: UDP

  4. Compare your settings to the example:

  5. Click on the Advanced Settings tab and enable the following settings:

    1. Codec Preference:

      1. PCMU

      2. PCMA

      3. G.722

      4. G.729

    2. Passthrough PAI Header: checked

    3. DID Mode: To-header

    4. DTMF Mode: Default (The default DTMF mode is RFC2833)

    5. Enable Heartbeat Detection: checked – enable this option to keep local SIP Ports open in your Router/Modem

    6. Heartbeat Frequency: 60

    7. The Maximum Number of Call Lines: 10

    8. SRTP: Disabled

  6. Compare your settings to the example:

  7. Click Save

  8. Click Apply Changes

  9. Navigate to System Status > Dashboard and check the status of your SIP Trunk.

  1. Navigate to Settings > Trunks

  2. Click the info button [Trunk Info] next to view the Trunks credentials. You will observe the Username, Passcode, and Domain. This information will be used to add/configure your VoIP Trunk in the Grandstream UCM device.



3. Configure your inbound route

Inbound routes will make it so that you only need to use a single SIP trunk to receive incoming calls to one of your UniTel Numbers. Inbound routes will receive all your calls and route them to the specified destination in the UCM.

  1. Log into your Grandstream UCM portal through your web browser.

  2. Click on Extension/Trunk > Inbound Routes.

  3. Click Add

  4. Configure the following settings:

    1. Trunks: Choose your UniTel trunk where incoming calls should be sent

    2. Patterns: Type your 11-digit UniTel Number. This number should be prefixed by the character "_" i.e. _16305551234

    3. Default Destination: Choose the default destination for the PBX to send incoming call.

  5. Compare your settings to the example:

4. Configure your outbound routes

  1. Log into your Grandstream UCM portal through your web browser

  2. Click Extension/Trunk > Outbound Routes.

  3. Click Add

  4. Calling Rule Name: Any name you want for this route.

  5. Pattern: The desired pattern your callers will need to dial.

  6. Trunk: Choose your UniTel trunk your call will be sent

  7. Privilege Level: Choose the desired privilege your extensions must have to be able to use this route. – see tooltip and documentation for additional information

  8. Strip: If you are using a dial-out prefix, use this field to specify the number of digits to strip off after the "_" character in your dial patterns.
    For example: If you want to use "9" to dial out, then your pattern will need to be _91NXXXXXXXXX To strip off this number "9" when dialing out, set the Strip field to 1 to remove this single number following the "_"

5. Additional Resources:

6. Troubleshooting

General Troubleshooting

Troubleshooting Trunk Registration

Troubleshooting Inbound calls

  1. Whitelist IP Addresses listed in our Getting Started Guide > Whitelist section

  2. Confirm Trunk is registered:

    1. In the UniTel Portal, confirm the Trunk status is Online/Registered: Navigate to Settings > Trunks, click [Trunk Info] and check the Registration Status. The status should show "Registered". If you observe "Not Registered", refer to section Troubleshooting Trunks

    2. In your Grandstream UCM, check the status of your Trunk Registration. Login to the Grandstream UCM > System Status > Dashboard. In the section Trunks, your UniTel Trunk should show Registered

  3. Check your Inbound Route Settings:

    1. Confirm inbound route definition has a leading underscore and uses 11-digit number. i.e. _18335551234

    2. Create a catchall inbound route to identify if the issue is related to the Inbound Rule Pattern. Create a new Inbound Rule using the catchall Pattern "_x." (underscore lower-case-x period).
      Note: This catchall pattern will match all inbound calls. With this Inbound Rule configured, place a test call to your UniTel DID. If the inbound call completes, you can then further change the Pattern to perform DID matching. More specific patterns can also be used in conjunction to the above Inbound Rule.

    1. You are allowed to have overlapping DID patterns. The order of patterns does not affect calling.

    2. When evaluating which route to use, routing choices are selected from most specific to least specific. i.e. no variables and exact match, will match first, before a route with variables, followed by the catchall route.

Troubleshooting Outbound calls

  1. Call termination for Destinations located in the United States must be sent to our network in 11-digit number format (e.164 format). i.e. 16305551234 not 6305551234

  2. If you observe an announcement "This call is not covered by your Tariff Plan", reattempt the call ensuring it was dialed properly. If the issue persists contact us reporting the date/time and number dialed.

  3. Check the status of your UniTel Trunk confirming it is registered/online. Navigate to Settings > Trunks. Click [Trunk Info] and confirm "Registration Status" shows "Registered". If "Not Registered" refer to section Troubleshooting Trunks

  4. Ensure any internal dial codes are not being passed in your calls to UniTel Trunks.

  5. Outbound calls must send Caller ID of an existing UniTel DID (Local or Toll Free). Configuration of a DID number not serviced on your UniTel account will result in outbound calls being rejected. Contact us if you have need to pass Outbound Caller ID as a number not serviced on your Unitel account.

Did this answer your question?