ACD and attendant console
Make scripts reachable through Microsoft Teams
Direct Routing, Operator Connect through Teams forwarding or over a public destination number.
In EasyUC: Calling Features → Calls → Calling Features → Edit → Reachable via MS Teams
What it is for
A script can answer calls that are dialled in Microsoft Teams or that arrive from the telephone network through Teams. The call then reaches EasyUC through the integrated Session Border Controller and runs through the same call flow as a CUCM call.
There are three entries. With Direct Routing, EasyUC manages the voice route to its own SBC itself. With Operator Connect through Teams forwarding, a Teams service account carries the Operator Connect number and forwards immediately to a Direct Routing pilot number; the SBC assigns the call to the script through the History-Info. With Operator Connect over a public destination, the number stays with the operator and is forwarded over the telephone network to a separate destination number; EasyUC does not set up a runtime path of its own for this.
Microsoft does not document the path through the Teams forwarding. The user interface therefore marks it with not documented by Microsoft.
Prerequisites
- Licence module
teams. For scripts with a CUCM number, additionallycucm. - Permission for scripts:
ROLE_APP_ACD_WORKSPACEwithROLE_APP_ACD_SCRIPTSandROLE_APP_ACD_SCRIPTS_EDIT, without the ACD moduleROLE_APP_TEAMS_WORKSPACEwithROLE_APP_TEAMS_SCRIPTSandROLE_APP_TEAMS_SCRIPTS_EDIT. Administrators withROLE_APP_ADMIN,ROLE_OWNER,ROLE_ADMINorROLE_SUPER_ADMINhave all permissions of the area. - A connected, active Teams tenant with SBC and trunk set up (chapters "Set up the Teams SBC" and "Teams tenant and Graph connection"). Without a tenant, the form shows: No Teams tenant is connected yet. Add one under Session Border Controller first.
- For setting the voice route automatically: an app registration at the tenant. Without it, the route is only set while a Teams admin is signed in on the tenant page.
- For Operator Connect through Teams forwarding: for each inbound number, a separate Teams service account with a Teams Phone licence and Enterprise Voice, to which the Operator Connect number is assigned, and a free Direct Routing number as the pilot.
ForwardCallHistorymust be switched on at the EasyUC gateway in Teams.
Step by step: Direct Routing
Step by step: Operator Connect through Teams forwarding
Step by step: Operator Connect over a public destination
Fields and options
| Field / action | Meaning and use |
|---|---|
| Reachable via MS Teams | Switch. Locked when no tenant is connected; always on for Teams-only scripts. |
| Teams tenant | Required. A tenant that is switched off shows the note This tenant is switched off. Calls only arrive once it is active again. |
| Number dialled in Teams | Direct Routing only. + followed by country code and number, 7 to 16 digits in total, input of at most 40 characters. Spaces, hyphens and brackets are removed. Per tenant, a number leads to exactly one script. |
| Operator Connect numbers | Teams forwarding only. In each row OC number and Teams service account (UPN), plus the Status of the last check: OK, Note, Error, not checked, unknown. |
| Pilot number (Direct Routing) | Teams forwarding only. EasyUC includes it in the voice route, never the Operator Connect number. A shared pilot number for several scripts is possible; the scripts are then distinguished only through the History-Info, and a direct call to the pilot is rejected. |
| Check now | Reads the state in Teams. Check items per number: Teams user exists, OC number assigned, Enterprise Voice active, Teams Phone licence present, voice routing policy contains the EasyUC usage, forwarding active (immediately), forwarding destination is the pilot number, not a Teams device of an attendant console. For pilot and trunk: pilot is in the EasyUC voice route, pilot is not assigned to any object, gateway sends History-Info, Global policy without EasyUC usage, SBC accepts the pilot. |
| Set up forwarding | Changes only the selected user through the PowerShell service. The Global policy remains unchanged. Under State before, the result shows the previous policy and forwarding for the way back. |
| Manual setup guide | Seven steps to follow in the Teams admin center if the PowerShell service is not to be used. |
| Operator Connect number | Public destination number only. Selection from the numbers that Microsoft reports for the tenant. |
| Public EasyUC destination | Public destination number only. International format. Must differ from the Operator Connect number. |
Check the result and narrow down errors
- In the script list, the Teams number with the entry is shown below the number. With the Teams forwarding, additionally via pilot with the pilot number and the check status.
- The route in Teams was not updated or Updating the route in Teams failed, each with a reason: Open the tenant with Open the tenant page and check the app registration or the Teams admin sign-in.
- Die Teams-Nummer muss im internationalen Format mit führendem + angegeben werden, zum Beispiel +49 40 1234567. (The Teams number must be given in international format with a leading +, for example +49 40 1234567.)
- Bitte den Teams-Tenant auswählen, über den das Script erreichbar sein soll. (Please select the Teams tenant through which the script is to be reachable.)
- The Operator Connect number and the pilot number must differ so that no call loop arises.
- The number … is the Teams device of an attendant console. A transfer to it would run back into EasyUC through the forwarding (call loop). Please use a dedicated service account.
- The number … is already used in this tenant (script "…"). Per tenant, a number leads to exactly one script.
- Das EasyUC-Gateway in Teams sendet keine History-Info (ForwardCallHistory ist aus). (The EasyUC gateway in Teams does not send History-Info; ForwardCallHistory is off.) Without it, the SBC cannot assign a forwarded Operator Connect number. Switch on
ForwardCallHistoryat the gateway. - The PowerShell service for Microsoft Teams is not reachable. Check and setup are then not possible; use the manual setup guide.
- Limits of the Teams forwarding according to the user interface: Each inbound number needs a service account with a Teams Phone licence. How many calls run through one user number at the same time has not been tested. The user can change the forwarding on their own, so check the state regularly.