+ Add Trunk
Select Add SIP (chan_pjsip) Trunk
Trunk Name: Voxtelesys_Teams
Outbound CallerID: Number from Voxtelesys
Maximum Channels: Line limit from Voxtelesys
Change to the pjsip Settings
tab.
Username: From Voxtelesys
Secret: From Voxtelesys
SIP Server: From Voxtelesys
Change to the Advanced
tab under pjsip Settings
Contact User: From Voxtelesys
From Domain: Same as SIP Server from Voxtelesys
Change to Codecs
tab under pjsip Settings
Set the following codecs to: ulaw
+ Add Outbound Route
Route Name: Voxtelesys_Teams
Route CID: Number from Voxtelesys
Trunk Sequence for Matched Routes: Voxtelesys Teams Trunk
Change to the Dial Patterns
tab.
Match the rules below:
Your Prefix Rule to route to Teams
XXXX
See guide here
If you haven't already set up your Voxtelesys SBC, please refer to these instructions.
Assign DID and Voice Routing to Users
part as you will do that a little differently below.Command:
Set-CsUser -Identity “[email protected]” -EnterpriseVoiceEnabled $true -HostedVoiceMail $true -OnPremLineURI Tel:2048
[email protected]
set the user's email that you want to assign the caller ID.2048
set the user's extension number on FreePBX.Command:
Grant-CsOnlineVoiceRoutingPolicy -Identity “[email protected]” -PolicyName “voxtelesys”