VitalPBX | Teams Setup

Tutorials / VitalPBX /
  • VitalPBX | Teams Setup
  • VitalPBX | Teams Setup


    Add Teams SIP Trunk to VitalPBX


    1. PBX > External > Trunks

    2. Set Technology to SIP

    3. General Settings

    • Description: VoxSBC_Teams
    • Profile: Default SIP Profile
    • Codecs: ulaw,alaw,g729
    • Trunk CID: Number from Voxtelesys

    • Local Username: Username from Voxtelesys

    • Remote Host: Domain from Voxtelesys

    • Insecure: Port,Invite

    • Remote Username: Username from Voxtelesys

    • Remote Secret: Password from Voxtelesys

    • From Domain: Domain from Voxtelesys

    • Register String: Username:Password@Domain

    • Update and your trunk will register!

    To check you can go to PBX > Tools > Asterisk CLI > run the command sip show registry


    Add Outbound Route to Teams


    1. PBX > External > Outbound Routes

    2. Create Route

    • Description: Teams
    • Trunks: Select your Voxtelesys Teams SIP Trunk
    • Prefix: 8080 (This can be any prefix you want.)
    • Pattern: XXXX (Set to the extension length of your Teams users.)

    5. Update


    Add Extension and Routes to a User in Teams


    1. Log in to your Teams account via PowerShell

    See guide here

    2. Add Voxtelesys SBC/PSTN

    If you haven't already set up your Voxtelesys SBC please refer to these instructions

    • Skip the "Assign DID and Voice Routing to Users" part as you will do that a little differently below.

    3. Add Extension Number to User

    Command: Set-CsUser -Identity “user@example.com” -EnterpriseVoiceEnabled $true -HostedVoiceMail $true -OnPremLineURI Tel:2048

    • For user@example.com, set the user's email that you want to assign the caller ID.
    • For 2048, set the user's extension number on the VitalPBX.

    4. Grant User Access to Voice Routing Policy

    Command: Grant-CsOnlineVoiceRoutingPolicy -Identity “user@example.com” -PolicyName “voxtelesys”

    5. Test calls in and out of Teams/VitalPBX

    From VitalPBX to Teams

    1. Dialing (Note: the prefix to route to Teams Trunk)

    2. Calling from VitalPBX

    3. Ringing/Answering on Teams


    From Teams to VitalPBX

    1. Dialing

    2. Calling

    3. Ringing on VitalPBX

    4. Answered on VitalPBX


    If you need help configuring your trunk or inbound numbers check out the guides below! More Voxtelesys Portal Guides here!

    For more VitalPBX Guides, click here!