Sv translation | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
The jtel MiniClient EXE provides APIs which can be used to integrate external systems. These cover the following use-cases:
See also MiniClient Settings for all required settings. Automatic REST CallAn automatic REST call can be made by the Mini-Client when an incoming call is received. To use this feature, the CRM URL must be passed via the standard ACD features (CRM URL in the ACD Group, or via an IVR Application, using the IVR Object "Save additional info and user data". The following must be configured in the MiniClient configuration:
Automatic .EXE Call
|
...
|
...
The following parameters must be set:
Outbound Call |
...
- Start Mini-Client with Dial ParameterTo request the MiniClient to dial a number, call it as follows |
...
from the command line.
Note: an instance of the mini client must already be running for a logged in ACD user. Mini Cllient Start with REST CallWhen the mini client EXE is started, it may be desirable to communicate information from the local workstation to the jtel system, such as:
Use CaseThe first use case for this is a specific CRM integration where it is desired to have a screen popup on the local workstation when the agent receives an incoming call.
How it WorksStarting the MiniClient EXEThe MiniClient EXE is no longer started using a shortcut or a link directly to the .EXE itself, but is started using a .cmd file, which in turn calls a powershell script to perform the REST operation. The following scripts can be used: CMD ScriptCreate this script, to call the powershell script.
You can create a shortcut for autostart or as a link which can be used to call this script.
Powershell ScriptYou will need to modify the following script when you create it. Particularly, the following lines must be modified:
The URI should go through the load balancer. If you have setup an FQDN for this, then use that, otherwise you can also use the IP address of the load balancer. Also, the ID of the routing application must be provided in the URI. Swap the 1234 in the example script with the actual ID of the routing application you want to use (see below). The API_TOKEN should be retrieved from Client Master Data.
Consuming the Provided InformationThe next step, is to write a routing application to "consume" the provided information in the jtel system. This is a standard Routing Application written in the jtel Workflow GUI - so here you can do ... anything you can do in a jtel workflow (which is just about anything). In our example, we will update the user's NickName to the provided Workstation Name. The routing application required to do this could look as follows. Note, when a routing application is started by the REST function routingApplications/run, any JSON data received will be parsed to variables prefixed with $workData. In our example, we are posting the JSON body created by this part of the script:
This will result in a JSON object which looks something like this:
And in turn, this will be parsed to the following variables:
These variables will be immediately available to use in the routing application. The User Search object looks like this: This will search for the User who has the LDAP User Name configured in the jtel portal which is the same as what the powershell script determined when it was started. I.e. the local user name stored in the environment variable USERNAME. If found, we want to update the user: Note the call to a stored procedure to achieve this:
The parameters are provided using variables:
Finally, we return a result to the REST API, which in turn will be returned to the PowerShell script: Since the powershell script does not check the result, it doesn't really matter what we return.
|
Sv translation | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Der jtel MiniClient EXE bietet APIs, die zur Integration externer Systeme verwendet werden können. Diese decken die folgenden Anwendungsfälle ab:
Sehen Sie auch Mini Client Einstellungen für alle erforderlichen Einstellungen. Automatischer REST-AnrufEin automatischer REST-Anruf kann durch den Mini-Client erfolgen, wenn ein eingehender Anruf empfangen wird. Um diese Funktion nutzen zu können, muss die CRM-URL über die Standard-ACD-Funktionen (CRM-URL in der ACD-Gruppe) oder über eine IVR-Anwendung mit dem IVR-Objekt "Speichern Zusatzinfo. und Benutzerdaten" übergeben werden. In der MiniClient-Konfiguration muss Folgendes konfiguriert werden:
Automatischer .EXE Call
Die folgenden Parameter müssen eingestellt werden:
Abgehend Telefonieren - Aufruf vom Mini-Client mit Dial ParameterUm mit dem MiniClient einen Anruf zu tätigen, rufen Sie den Mini-Client mit folgende Kommandozeile auf.
Voraussetzung ist, für den angemeldeten ACD-Benutzer läuft bereits eine Instanz vom Mini-Client. |
Sv translation | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Le MiniClient EXE de jtel fournit des API qui peuvent être utilisées pour intégrer des systèmes externes. Ceux-ci couvrent les cas d'utilisation suivants :
Voir aussi MiniClient Settings pour tous les réglages requis. Appel automatique RESTUn appel REST automatique peut être effectué par le mini-client lorsqu'un appel entrant est reçu. Pour utiliser cette fonctionnalité, l'URL du CRM doit être transmise via les fonctionnalités standard de l'ACD (URL CRM dans le groupe ACD, ou via une application IVR, en utilisant l'objet IVR "Enregistrer des informations supplémentaires et des données utilisateur". Les éléments suivants doivent être configurés dans la configuration du MiniClient :
Automatic appel .EXE
Les paramètres suivants doivent être définis :
Appel sortant en utilisant la numérotationPour demander au MiniClient de composer un numéro, appelez-le comme suit (en supposant qu'une instance est déjà en cours d'exécution pour un utilisateur ACD connecté) :
|
...
|