Tutorials: Teams Setup

Under the "PBX" tab, select the "External" tab, then select "Trunks" from the drop-down menu.

Under the "General" tab, select "SIP" as the technology.

  • 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

Under the "PBX" icon, select the "External" tab, then select "Outbound Routes" from the drop-down menu.

  • 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.)

After creating a route, make sure you update it.

Add an extension and routes to a user in Teams. Log in to your Teams account via PowerShell.

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


Set-CsUser -Identity "[email protected]" -EnterpriseVoiceEnabled $true -HostedVoiceMail $true -OnPremLineURI Tel: 2048

For [email protected], set the user's email that you want to assign the caller ID.

For 2048, set the user's extension number on the VitalPBX.


Grant-CsOnlineVoiceRoutingPolicy -Identity "[email protected]" -PolicyName "voxtelesys"

From VitalPBX to Teams

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

Calling from VitalPBX

Ringing/Answering on Teams

From Teams to VitalPBX



Ringing on VitalPBX

Answered on VitalPBX