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.
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.
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.
Command:
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.
Command:
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
Dialing
Calling
Ringing on VitalPBX
Answered on VitalPBX