EasyUC for Microsoft Teams
Choose the telephony connection of a tenant
Set for each tenant whether calls from Microsoft Teams reach EasyUC through the integrated SBC, through your own SBC or not at all.
In EasyUC: EasyUC Teams → Telephony → Connection
Images come from the EasyUC lab. Names and example values provide orientation. A different interface language is indicated beside the relevant image.
What it is for
From version 4.9.61, every Teams tenant has exactly one type of telephony connection. It defines how calls from Microsoft Teams reach EasyUC. Up to 4.9.60, every tenant was a tenant of the integrated SBC and always needed a hostname, a port and a certificate.
There are three types: No telephony, Integrated SBC and Own SBC. Managing users, phone numbers, presence, meetings and the User Map needs no connection. Operator Connect and Calling Plans are not connection types. They appear as the call entry of a script and as a number type.
With the same version, the pages of a tenant moved into the main menu. The second column next to the menu (the tenant bar) no longer exists. Tenants from older versions are set to Integrated SBC after the update and keep working unchanged. Older bookmarks lead to the matching page in the new menu.
Prerequisites
- Licence module
teamsand the permission Enable EasyUC Teams (ROLE_APP_TEAMS_WORKSPACE). - View Microsoft 365 tenants (
ROLE_APP_TEAMS_TENANTS) to read, Edit Microsoft 365 tenants (ROLE_APP_TEAMS_TENANTS_EDIT) to create tenants and to change the connection. Administrators may do everything. - For Integrated SBC: the integrated SBC is enabled (chapter “Enable the Teams SBC and set the network details”). The tenant gets a public hostname from a domain that is verified in the Microsoft 365 tenant, with a DNS A record pointing to the public IP of the SBC.
- For Own SBC: the Calling Features are licensed and enabled. Under Calling Features → SIP trunks there is a SIP trunk to your SBC. Only administrators may create SIP trunks. Your SBC is already set up in the Microsoft 365 tenant as a PSTN gateway for Direct Routing. EasyUC does not create this gateway.
- For everything EasyUC writes or removes in Microsoft Teams (trunk, voice routes): a sign-in to Teams PowerShell under Settings of the tenant (chapter “Graph access and Teams admin sign-in”).
The menu of a tenant
- At the top of the menu is the tenant switcher with the name of the selected tenant. A click opens the list of tenants, plus All tenants and, with the edit permission, Add tenant.
- If there is exactly one tenant, the EasyUC Teams workspace opens with that tenant’s Users page. With several tenants, the tenant selected last opens. The browser remembers it. Without a remembered tenant, the Teams tenants list appears.
- If you switch the tenant while on a tenant page, the page stays the same: Number plan of one tenant becomes Number plan of the other. From any other page, Users of the new tenant opens.
- Pages of every tenant: Users, Phones, Number plan, Presence sync, Presence Live, Meetings, User Map, Microsoft management (from 4.9.67) and Settings. Meetings needs the permission View meetings, User Map the permission View user map.
- Under the heading Telephony, every tenant has Connection. Only for a tenant with the integrated SBC do Calls, Call history, SIP log, Recordings and Captures follow.
- The General group applies to all tenants: Teams tenants (list and creation), Microsoft management and Integrated SBC (the SBC as a whole). The scripts are listed here only in installations without the Calling Features. Otherwise you find them in the Calling Features workspace.
- The dot at the Connection menu item shows the state of the connection while a page of this tenant is open. For a tenant without telephony it is grey and always shown. The number at Calls counts the running calls. A dot at Recordings or Captures shows a running recording or a running capture.
- As long as no tenant has been created, the menu shows only Meetings, User Map and the General group.
- Users without the permission View Microsoft 365 tenants see only those items in the workspace for which they hold a separate permission: Integrated SBC, scripts, Meetings, User Map or Microsoft management.
The three types compared
| Field / action | Meaning and use |
|---|---|
| No telephony | Manage users, phone numbers, presence and meetings only. No SBC, no hostname, no certificate, no port and no SIP trunk are needed. EasyUC creates nothing for telephony in Microsoft Teams for this tenant: no gateway, no PSTN usage, no voice route, no voice routing policy. Users, Phones, Number plan, Presence sync, Presence Live, Meetings and User Map work as usual. Microsoft Graph and the sign-in to Teams PowerShell in the Settings are enough for that. |
| Integrated SBC | Direct Routing ends directly on EasyUC. The tenant gets its own hostname, its own TLS port and its own certificate. EasyUC creates the PSTN gateway, PSTN usage, voice routes and voice routing policy in Microsoft Teams. Only this type offers Calls, Call history, SIP log, Recordings and Captures per tenant. It is required for the Teams queue of the attendant console and for Operator Connect through Teams forwarding. |
| Own SBC | Your SBC stays the Direct Routing endpoint for Microsoft Teams. A SIP trunk leads from there to EasyUC. In Microsoft Teams, EasyUC writes only its PSTN usage, its voice routes for the numbers of the scripts and its voice routing policy. The gateway is yours: EasyUC does not create it, does not change it and does not remove it. EasyUC enters the Direct Routing numbers of the scripts into the SIP trunk by itself. Calls appear in the SIP trunk monitor of the Calling Features, not under the tenant. |
| Scripts per type | With No telephony, a script can only use the call entry “Operator Connect over a public destination”. With Own SBC, Direct Routing and Operator Connect over a public destination are possible, Operator Connect forwarding is not. With Integrated SBC, all paths are possible. |
| Connection page per type | With Integrated SBC: SBC hostname, TLS port, Trunk active, the call history settings, certificate, trunk in Teams and Scripts over this trunk. With Own SBC: gateway and SIP trunk, the box Where your SBC sends to, the scripts, Voice routes in Microsoft Teams and the box Good to know with the link Open the SIP trunk call monitor. With No telephony: a short explanation and, where needed, the clean-up boxes. |
| Teams tenants list | Columns Tenant, Connection, Certificate, Trunk and Calls. The Connection column names the type, for the integrated SBC also hostname and port, for an own SBC the FQDN of the gateway. Certificate, trunk and calls are filled only for tenants with the integrated SBC. If an entry is missing for an own SBC, the column shows “Gateway or SIP trunk missing”. |
Step by step: Create a tenant with a connection
Step by step: Enter your own SBC
-
Under SBC in the tenant for the voice routes, enter the FQDN under which your SBC is entered in Microsoft Teams as a PSTN gateway. If a sign-in to Teams PowerShell is active, the page offers the gateways of the tenant for selection under “Found in the Teams tenant:”. The icon Read the gateways from Microsoft Teams again reloads the list.
Step by step: Change the connection
-
If you leave the integrated SBC and the trunk still exists in Microsoft, the box shows the checkbox Remove the trunk … in Microsoft Teams first. Leave it ticked. Otherwise the gateway of EasyUC and voice routes stay behind in Teams and point to an SBC that no longer serves this tenant. Removing needs a sign-in to Teams PowerShell.
What happens on a change
| Field / action | Meaning and use |
|---|---|
| Away from Integrated SBC | The integrated SBC no longer accepts calls for this tenant. SIP trace, call recording and network capture are switched off. Calls, Call history, SIP log, Recordings and Captures disappear from the menu. Hostname, TLS port and certificate stay stored, and the port stays reserved. This keeps the way back short. |
| To Integrated SBC | The integrated SBC must be enabled, and the tenant needs a hostname, the stored one or a new one. If a port is missing, EasyUC assigns a free one. A stored, valid certificate stays in use. Until the trunk is set up in Teams, calls do not reach the scripts of this tenant. |
| To Own SBC | The Calling Features must be enabled. Gateway and SIP trunk must be specified. EasyUC enters the Direct Routing numbers of the scripts into the chosen SIP trunk. The voice routes then count as not up to date until you run Update routes. |
| Away from Own SBC | The numbers of the scripts are removed from the SIP trunk. The trunk can then be deleted again under Calling Features. The entered gateway stays stored so that the voice routes of EasyUC in Teams can still be cleaned up. It can be cleaned up and discarded only with No telephony. |
| Different gateway with Own SBC | EasyUC names the PSTN usage, voice routes and voice routing policy after the first part of the gateway name (EasyUC-<name part>). If the new FQDN starts differently, new objects are created. The page therefore offers the checkbox Remove the voice routes of EasyUC for the previous gateway … in Microsoft Teams first. Without the tick, the previous objects stay in Teams. EasyUC no longer reports or removes them afterwards. |
| To No telephony | Possible without conditions. EasyUC no longer writes anything to Microsoft Teams for this tenant and no longer reconciles routes. What was created in Teams before stays there until you remove it. |
| Users in Teams | If the gateway changes, the voice routing policy of EasyUC has a different name afterwards. Users who are assigned the previous policy reach the EasyUC numbers again only once the new one is assigned to them. |
| Scripts | The type can be changed while scripts with a Direct Routing number point to the tenant. Scripts whose call entry the new type does not allow stay stored. The script then shows a warning with the link Open the tenant’s connection and cannot be saved in that state. |
| Change in progress | The change continues if you leave the page in the meantime. As long as a change to the trunk or the voice routes is still running in Microsoft Teams for the tenant, the connection cannot be saved. The reason is shown next to the button. |
Check the result and narrow down errors
- Success: the Teams tenants list shows the new type in the Connection column. The tenant’s menu shows the matching entries under Telephony.
- “The integrated SBC is switched off.” on the card: enable the SBC under General → Integrated SBC. Without the permission for that, ask an administrator with the Session Border Controller permission.
- “Needs the Calling Features (SIP trunks).” on the card: the module is not enabled on this system. The type Own SBC exists only with the Calling Features.
- “Please enter the hostname (FQDN) of your SBC in the Teams tenant, for example sbc.example.com.” or “Please choose the SIP trunk that leads from your SBC to EasyUC.” One of the two entries for Own SBC is missing.
- “This gateway is not in the list of the Teams tenant.” Create the gateway in Microsoft Teams or correct the FQDN before you update the voice routes. EasyUC does not create it.
- “The trunk can only be removed with a sign-in to Teams PowerShell.” Sign in under Settings, or untick the box if the trunk is to stay in Microsoft Teams.
- “The trunk could not be removed in Microsoft Teams. The connection stays as it is.” Fix the stated cause and change the connection again.
- “The connection was not changed. The trunk has already been removed in Microsoft Teams, however …” Removing succeeded, saving did not. The tenant is still set to Integrated SBC and cannot be reached from Teams. Fix the cause and change the connection again, or cancel and set up the trunk again.
- Two tenants with the same Directory (tenant) ID cannot both be connected through an own SBC whose FQDN starts with the same first name part. Both would use the same objects
EasyUC-<name part>in Microsoft. EasyUC rejects this. - A hostname of the integrated SBC must not be entered or still stored as the gateway of an own SBC for any tenant, and vice versa. Release a stored former gateway: set the tenant to No telephony, clean up, Discard the stored gateway.
- A SIP trunk that is entered as the connection of a tenant cannot be deleted. First choose another trunk or another type for the tenant.
- Calls to an EasyUC number do not arrive with an own SBC: check in this order whether your SBC routes the number to the EasyUC address, whether it sends from an address entered at the trunk, whether the script is switched on and the number is listed there under Direct Routing, and whether the routes in Teams are up to date (Update routes).
- Interworking with the SBC products of individual vendors has not been tested on real devices. Plan a test with your SBC for commissioning.