Sv translation | ||
---|---|---|
| ||
Pre-Requisites
|
...
JTAPI InstallationInstallationInstall the Cisco JTAPI Libraries on an appropriate server. This example assumes that the PRES role has been installed on a windows server. Installing simply requires clicking through the defaults, it is not necessary to change the paths. ConfigurationFrom the directory in which Cisco JTAPI is installed (on a windows server, usually C:\Program Files\Cisco\JTAPI64Tools), run jtprefs.bat. The following screens show the settings which can be made: DebuggingIf debugging and logging is desired, settings can be made on this page to specify the debug level: LoggingThese are the recommended logging settings: Cisco Unified CMAdd all available call manager servers on the next page: Further SettingsThe settings on the remaining pages can be left "as is", and do not need to be changed. Copy JTAPI.INIClick on OK, to create a JTAPI.INI file. This file will be stored in: C:\Program Files\Cisco\JTAPI64Tools Copy this file to the bin directory of the presence aggregator, for example: C:\presence-aggregator\bin Portal Configuration |
To use the connector, and new presence connector is created as sysadmin in the jtel Web Portal.
Give the connector a good name, and select CiscoCUCM Jtapi (Version) as the connector type.
The Configuration of the connector uses XML. The following example XML is used in the table below, to explain the settings.
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?>
<config>
<implementation>
<jar>
<base>jtel-system-presence-connectors-cisco</base>
<version>1.0</version>
</jar>
<class>de.jtel.system.presence.connectors.cisco.v10.CiscoJTAPIImplementation</class>
</implementation>
<parameters>
<providerName>IP_ADDRESS</providerName>
<user>JTAPI_USER</user>
<password><![CDATA[JTAPI_USER_PASSWORD]]></password>
</parameters>
<addressTranslators>
<translator>
<match>^1(..)$</match>
<replace>498946149501$1</replace>
</translator>
<translator>
<match>^2(..)$</match>
<replace>498946149502$1</replace>
</translator>
</addressTranslators>
<behavior>
<syncAcdUsers>0</syncAcdUsers>
<syncPbxUsers>1</syncPbxUsers>
</behavior>
</config> |
Settings
...
implementation jar base
...
jtel-system-presence-connectors-cisco
...
1.0
...
Use the password of the configured user with JTAPI access in the CUCM Server.
Note: if special characters (not allowed in XML) are included in the password, these must be escaped inside a CDATA section as shown in the example configuration above.
...
In some CUCM, the numbers reported by the CUCM server via JTAPI are not fully qualified E.164.
The address translator mechanism provides a way to normalise the numbers before they are used to update presence information in the jtel System.
A translator consists of two parts:
Match
A regular expression, which matches the number as reported by the CUCM.
For example, the following regex:
^1(..)$
Matches all 3 digit telephone numbers beginning with a 1. A grouping is used to isolate the last two digits of the number into group 1, referred to in the replacement as $1
Replace
The replacement to be made.
For example:
498946149501$1
This would cause the two digit matched group from the regex to be appended to the string 498946149501.
Example
Input: 123
Output: 49894614950123
Recommendations
Any number of translators can be used. They are all applied in sequence, so a little thought might be required to get the desired effect. It is recommended always to work with groupings and a specific length. Also, to prevent erroneous matches, the ^ (begin of string) and $ (end of string) regex operators should be used.
...
Causes all reported extensions to be created as an ACD user. Setting this to 1 is not recommended.
Note: even if this is set to 0, the ACD users presence status will still be set according to the current Tel1 field in the user record, and TelActive (the active telephone number).
Starting / Stopping ConnectorsConnectors can be started or stopped in the web interface, by clicking on the red / green dot next to the name: Trunk GroupsThe following settings are recommended for the creation / use of Trunks and Trunk Groups in the jtel System:
User ConfigurationUsers can be configured either:
The second method may be the best method to use on multi-site CUCM installations, if the numbering plan in the CUCM was never E.164 and has become "untidy" over time. Example |
Sv translation | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Sv translation | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
Prérequis
Installation JTAPIInstallationInstallez les bibliothèques JTAPI de Cisco sur un serveur approprié. Cet exemple suppose que le rôle PRES a été installé sur un serveur Windows. L'installation nécessite simplement de cliquer sur les valeurs par défaut, il n'est pas nécessaire de changer les chemins d'accès. ConfigurationDepuis le répertoire dans lequel Cisco JTAPI est installé (sur un serveur Windows, généralement C:\Program Files\Cisco\JTAPI64Tools), lancer jtprefs.bat. Les écrans suivants montrent les réglages qui peuvent être effectués : DébogageSi le débogage et la journalisation sont souhaités, des réglages peuvent être effectués sur cette page pour spécifier le niveau de débogage : EnregistrementVoici les paramètres d'enregistrement recommandés : Cisco Unified CMAjoutez tous les serveurs de gestion d'appels disponibles sur la page suivante : Autres paramètresLes paramètres des pages restantes peuvent être laissés "tels quels", et n'ont pas besoin d'être modifiés. Copier JTAPI.INICliquez sur OK, pour créer un fichier JTAPI.INI. Ce fichier sera stocké dans : C:\Program Files\Cisco\JTAPI64Tools Copiez ce fichier dans le répertoire bin de l'agrégateur de présence, par exemple : C:\presence-aggregator\bin Configuration du portailConfiguration du portail du connecteur Cisco Démarrage / arrêt des connecteursLes connecteurs peuvent être démarrés ou arrêtés dans l'interface web, en cliquant sur le point rouge / vert à côté du nom : Groupes de troncLes paramètres suivants sont recommandés pour la création / l'utilisation de troncs et de groupes de troncs dans le système jtel :
Configuration de l'utilisateurLes utilisateurs peuvent être configurés soit :
La deuxième méthode peut être la meilleure à utiliser sur les installations CUCM multi-sites, si le plan de numérotation dans le CUCM n'a jamais été E.164 et est devenu "désordonné" au fil du temps. Exemple |
...