Differenze tra le versioni di "AdminGuide:Service:Phonebook/en"

Da Kalliope Wiki.
Jump to navigation Jump to search
(Creata pagina con "! XLSX and CSV !! JSON and XML |- | FirstName || firstName |- | lastName || lastName |- | organization || organization |- | organizationalUnit || organizationalUnit |- | conta...")
 
(2 versioni intermedie di uno stesso utente non sono mostrate)
Riga 3: Riga 3:




<div class="mw-translate-fuzzy">
==Description==  
==Description==  
The phonebook allows the display of contacts that are in the "Local phonebook" and the "Shared phonebook".  
The phonebook allows the display of contacts that are in the "Local phonebook" and the "Shared phonebook".  
Riga 8: Riga 9:
By logging in with a non-admin user, but associated with an extension, you can have management of a '''user phonebook''', accessible only via the web interface and via the CTI client.
By logging in with a non-admin user, but associated with an extension, you can have management of a '''user phonebook''', accessible only via the web interface and via the CTI client.
Through CTI desktop, you can only make editing and add contacts to the personal phonebook, to add contacts to the shared phonebook, you have to go to the web interface.
Through CTI desktop, you can only make editing and add contacts to the personal phonebook, to add contacts to the shared phonebook, you have to go to the web interface.
</div>




Riga 21: Riga 23:
'''N.B.''' A non-administrator user does not see the mobile number of other extensions because the mobile number is meant to be a reachability number through the Fork2Mobile service and may be personal and not exclusively business.
'''N.B.''' A non-administrator user does not see the mobile number of other extensions because the mobile number is meant to be a reachability number through the Fork2Mobile service and may be personal and not exclusively business.


<div class="mw-translate-fuzzy">
[[File:Click2call.png|destra|350px]]
[[File:Click2call.png|destra|350px]]
'''The non-administrator user''' displays the phonebook list of extensions in the same way as the administrator user, but has an extra feature: when the mouse hovers over the extension number, '''“Click2Call”''' appears. When you click on the contact, the central unit starts a call to the extension and you have 10 seconds to answer. When you answer, the central unit starts a call to the destination number.
'''The non-administrator user''' displays the phonebook list of extensions in the same way as the administrator user, but has an extra feature: when the mouse hovers over the extension number, '''“Click2Call”''' appears. When you click on the contact, the central unit starts a call to the extension and you have 10 seconds to answer. When you answer, the central unit starts a call to the destination number.
<br>
<br>
You can export the phonebook in the following formats: XLSX, CSV, JSON, and XML.
You can export the phonebook in the following formats: XLSX, CSV, JSON, and XML.
</div>


 
<div class="mw-translate-fuzzy">
* '''According to LDAP publishing rule''': exposes the extension number with manipulation to convert it to a geographic number.
* '''Presenting the telephone number below''': exposes the extension number with a specified number
* '''According to the LDAP publication rule applied to the extension below''': assigns a dummy extension and the masking specified in the LDAP panel is applied
[[File:Rubrica interni.png|centro|800px]]
 
===Shared phonebook===
===Shared phonebook===
The shared phonebook contains the contacts visible to all extensions in the pbx.  
The shared phonebook contains the contacts visible to all extensions in the pbx.  
[[File:Rubrica condivisa.JPG|centro|800px]]
[[File:Rubrica condivisa.JPG|centro|800px]]
</div>


<br>
<br>
Riga 53: Riga 53:
* If you want to make a call to an extension, by running the Click2Call - feature for '''the non-administrator user''' - the central unit calls the user and then triggers a call to the selected extension. For non-internal numbers, the system calls the user and, when answered, starts a call to the selected number by prefixing "0".
* If you want to make a call to an extension, by running the Click2Call - feature for '''the non-administrator user''' - the central unit calls the user and then triggers a call to the selected extension. For non-internal numbers, the system calls the user and, when answered, starts a call to the selected number by prefixing "0".


<div class="mw-translate-fuzzy">
On the CTI client, in the phonebook, the contact details are marked with different icons.
On the CTI client, in the phonebook, the contact details are marked with different icons.
<br>
<br>
Adding a new card - thus a new contact - is not immediately visible within the CTI client, because the phonebook is updated periodically every 10 minutes.
Adding a new card - thus a new contact - is not immediately visible within the CTI client, because the phonebook is updated periodically every 10 minutes.
If you want to force the update due to urgencies, you can log out and then log back in, so the phonebook import is done automatically when the client starts up.   
If you want to force the update due to urgencies, you can log out and then log back in, so the phonebook import is done automatically when the client starts up.
</div>  


====Export and import====
====Export and import====
'''The export of the shared address book''' can be done via XLSX, CSV, JSON and XML.  
'''The export of the shared phonebook''' can be done via XLSX, CSV, JSON and XML.  
Exporting it in EXCEL (XLSX) format is helpful because the downloaded file will be the same one you can use to do a bulk import.
Exporting it in EXCEL (XLSX) format is helpful because the downloaded file will be the same one you can use to do a bulk import.
On excel, the contact information for a single card is represented on different rows.
On excel, the contact information for a single card is represented on different rows.


<div class="mw-translate-fuzzy">
The option '''Phonebook''' allows you to:
The option '''Phonebook''' allows you to:
* '''Replace the current phonebook with the imported one''': if this option is not checked, the existing phonebook is integrated with the new one
* '''Replace the current phonebook with the imported one''': if this option is not checked, the existing phonebook is integrated with the new one
* '''Choose whether speed dials in the file include the prefix''' (of the numbering plan).
* '''Choose whether speed dials in the file include the prefix''' (of the numbering plan).
</div>


If you perform the import by not replacing the current phonebook with the imported one, the warning field highlights the operation with the icon [[File:MergeIcon.JPG|30px]].
If you perform the import by not replacing the current phonebook with the imported one, the warning field highlights the operation with the icon [[File:MergeIcon.JPG|30px]].
Riga 91: Riga 95:
|}
|}


====Delegate the ability to manage in "write" the Shared Address Book====
====Delegate the ability to manage in "write" the Shared phonebook====
It may be necessary for some '''non-administrator users''' to be able to edit the shared phonebook. It is possible through the role mechanism to assign a user permission to make changes to contacts in the shared phonbook.
It may be necessary for some '''non-administrator users''' to be able to edit the shared phonebook. It is possible through the role mechanism to assign a user permission to make changes to contacts in the shared phonbook.
Via the "User and Role Management" panel, in the ''Role Management'' panel, press on "Add new role."
Via the "User and Role Management" panel, in the ''Role Management'' panel, press on "Add new role."
Priority and description are entered, and in the "Manage Shared Address Book" action, "Write" is checked.
Priority and description are entered, and in the "Manage Shared phonebook" action, "Write" is checked.




Riga 102: Riga 106:


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
[[File:LDAP contatti di sistema.JPG|centro|500px]]
You can make use of the phonebook via LDAP clients.
You can make the phonebook available to external LDAP clients: from the phone, via keypad, you can search the central office phonebook. You can also access remote phonebooks exposed by other LDAP servers to make them available to Kalliope users.
<br>
LDAP (Lightweight Directory Access Protocol) is a protocol that organizes data in the form of a tree hierarchy. The leaves (object class) of the tree are the objects that contain the attributes (first name, last name, email, phone numbers), so each contact record can be considered a leaf of the LDAP tree.
A lot of information can be held in LDAP, so when defining the leaf type, you have to provide the object class representing what attributes can be obtained from these objects.
</div>
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
The organization of information in the LDAP tree is as follows:
L’organizzazione delle informazioni nell’albero LDAP è la seguente:
<br>
<br>
'''Radice''': ''dc=root''
'''root''': ''dc=root''
<br>
<br>
'''Sottoalberi''': ''dc=default'' (dove default è il nome di dominio del mono tenant predefinito)
'''Subtrees'''': '''dc=default''' (where default is the domain name of the default mono tenant)
<br>
<br>
Invece, in un nodo multi tenant, ogni volta che si crea un nuovo tenant, viene fuori un nuovo sottoalbero con ''dc=nome dominio''
Instead, in a multi tenant node, every time a new tenant is created, a new subtree comes up with ''dc=domain name''
Per ogni tenant ci sono due sottoalberi:
For each tenant, there are two subtrees:
* ''dc=users''  
* ''dc=users''  
* ''dc=phonebook''
* ''dc=phonebook''
Quest’ultimo contiene altri sottoalberi
The latter contains other subtrees
* ''dc=extension'' (contiene i contatti della rubrica degli interni)
* ''dc=extension'' (contains extension phonebook contacts)
* ''dc=system'' (contiene la rubrica dei contatti di sistema)
* ''dc=system'' (contains the phonebook of system contacts)
Quando l’utente si logga sul phonebook, ottiene la visibilità di tutto ciò che è contenuto sotto il sottoalbero phonebook del proprio dominio.
When the user logs on to the phonebook, they get visibility of everything under the phonebook subtree of their domain.
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
<div lang="it" dir="ltr" class="mw-content-ltr">
Riga 128: Riga 134:
</div>
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
In the panel, there are enablers for the two subtrees. In the central unit, there is an LDAP server on which you can enable the publication of contacts separately between the internal and shared phonebooks.
Nel pannello ci sono le abilitazioni per i due sottoalberi e nella centrale c’è un server LDAP su cui si può abilitare la pubblicazione dei contatti in modo separato tra la rubrica interni e quelli condivisi.
On LDAP, exposing contacts from the personal phonebook isn't possible.
Su LDAP non è possibile esporre i contatti della rubrica personale.
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
===System contacts===
===Contatti di Sistema===
Configure system contacts unlocks the publication on the ''dc=system'' subtree of contacts in the shared phonebook:
Configurare i contatti di sistema sblocca la pubblicazione sul sottoalbero ''dc=system'' dei contatti presenti nella rubrica condivisa:
* '''System contacts publication tree''': the tree is displayed.
* '''Albero di pubblicazione dei contatti di sistema''': è visualizzato l’albero
* '''Enable publication of system contacts''': publication of contacts in the shared phonebook is enabled.
* '''Abilita pubblicazione dei contatti di sistema''': si attiva la pubblicazione dei contatti presenti nella rubrica condivisa
* '''Add prefix for outgoing calls''': when the central unit publishes contacts to LDAP, it adds a prefix "0" to all numbers, except those marked as extensions, to make outgoing calls. In this way, the client accessing the phonebook, finds the numbers already ready (including the "0") to be called
* '''Aggiungi il prefisso per le chiamate uscenti''': nel momento in cui la centrale pubblica i contatti su LDAP aggiunge a tutti i numeri, ad eccezione di quelli marcati come interni, un prefisso “0” per effettuare le chiamate uscenti. In questo modo il client che accede alla rubrica, ritrova i numeri già pronti (comprensivi dello “0”) per poter essere chiamati
</div>




<div lang="it" dir="ltr" class="mw-content-ltr">
===Extensions===
===Interni===
You can enable the export of the extension directory to LDAP as a global function.
È possibile abilitare come funzione globale l’esportazione della rubrica degli interni su LDAP.
* '''Extensions publication tree''': the tree is displayed.
* '''Albero di pubblicazione degli interni''': è visualizzato l’albero
* '''Extensions publish enabled''': the phonebook of extensions can be found searchable via LDAP.
* '''Abilita pubblicazione degli interni''': si può trovare consultabile via LDAP la rubrica degli interni
* '''Extension prefix strip''': standard extension publishing rule that is used in case you want to display extension numbers not with the extension number, but with the full geographic number
* '''Numero di cifre da rimuovere in testa dagli interni''': regola standard di pubblicazione degli interni che serve nel caso si volessero esporre i numeri di interno non con il numero del derivato, ma con quello completo geografico.
* '''Extension prefix prepend'''
* '''Prefisso da aggiungere agli interni'''
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
[[File:LDAP interni.JPG|centro|500px]]
[[File:LDAP interni.JPG|centro|500px]]
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
[[File:LDAP contatti di sistema.JPG|centro|500px]]
[[File:LDAP contatti di sistema.JPG|centro|500px]]
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
Saving the configuration populates the LDAP tree with the contents of the system phonebook and extensions.
Salvando la configurazione viene popolato l’albero LDAP con il contenuto della rubrica di sistema e degli interni.
You must authenticate with a user who has the right to see the phonebook to access the LDAP phonebook.  
È necessario autenticarsi con un utente che abbia il diritto di vedere la rubrica per accedere alla rubrica LDAP.  
An LDAP client can be used to consult it.
Per consultarla è possibile utilizzare un client LDAP.
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
===Configurazione del client LDAP===
===LDAP client configuration===
* '''Indirizzo IP''' del server e porta
* '''IP address''' of the server and port
* '''Base DN''': radice dell’albero che voglio consultare
* '''Base DN''': root of the tree that you want to consult
* '''Credenziali di accesso da specificare''': username e password di utente autorizzato a leggere l’albero LDAP
* '''Login credentials to be specified''': username and password of user authorized to read the LDAP tree
<br>
<br>
Gli utenti di Kalliope, che sono definiti all’interno del pannello “Gestione utenti e ruoli”, sono di default autorizzati ad accedere ad LDAP.
Kalliope users, defined within the "User and Role Management" panel, are by default authorized to access LDAP.
Quindi nelle credenziali da specificare si inserisce l’utente tramite una sintassi specifica:
So in the credentials to be specified you enter the user via a specific syntax:
''cn=utente@dominio, dc=users, dc=dominio, dc=root''
''cn=user@domain, dc=users, dc=domain, dc=root''
Successivamente, in automatico, il client farà la connessione a LDAP.
</div>
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
Then, automatically, the client will make the connection to LDAP.
'''N.B.''' Autenticazione degli utenti
 
<div class="mw-translate-fuzzy">
'''N.B.''' Authentication of users
<br>
<br>
Per poter accedere via LDAP gli utenti devono avere un metodo di autenticazione locale, gli utenti con autenticazione sul dominio non possono accedere a LDAP.
To gain access via LDAP, users must have a local authentication method; users with domain authentication cannot access LDAP.
[[File:Autorizzazioni ruolo.png|centro|650px]]
[[File:Autorizzazioni ruolo.png|centro|650px]]
<br>
<br>
Riga 187: Riga 182:




<div lang="it" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
La centrale, non sapendo le password utente, non potrebbe scrivere sui telefoni le password di ciascun singolo utente. Quindi l’utilizzo di credenziali personali per accedere alla rubrica non viene mai eseguito.
The PBX, not knowing the user passwords, could not write the passwords of each user to the phones. Therefore, using personal credentials to access the phonebook is never performed.
All’interno della centrale esiste un utente predefinito, '''phonebook''', che ha diritto di accesso e modifica della rubrica condivisa, è un ente di default disabilitato, ma si può abilitare una volta assegnata una password.
Within the PBX, there is a default user, '''phonebook,''' who has the right to access and edit the shared phonebook; it is a disabled entity by default, but it can be enabled once a password is assigned.
È necessaria l’abilitazione dell’accesso GUI (per consultare la rubrica e fare le modifiche da web), al contrario, l’accesso API non è necessario.
Enabling GUI access (to consult the phonebook and make changes from the web) is required; API access is unnecessary.
</div>
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
Once the connection is made, if you look at the ''dc=extension'' subtree, you will see that it is empty. It is a domain, but it has no leaves.
Una volta effettuata la connessione, se si osserva il sottoalbero ''dc=extension'' si vede che è vuoto. È un dominio, ma non ha foglie.
It is empty because it is not enough to apply the [[AdminGuide:Service:Phonebook/en#Extensions|extension publication]] in the LDAP settings. Still, each extension has a flag that checks whether it should be published to the internal phonebook and/or LDAP phonebook.  
È vuoto perché non è sufficiente applicare la [[AdminGuide:Service:Phonebook#Interni|pubblicazione degli interni]] nelle impostazioni LDAP, ma ciascun interno ha un flag che verifica se deve essere pubblicato sulla rubrica interna e/o sulla rubrica LDAP.  
In the [[AdminGuide:BasicConcepts:Extensions_and_SIP_accounts/en#Phonebook|template default extension]], the '''"LDAP publishing mode"''' must be enabled.
Nel [[AdminGuide:BasicConcepts:Extensions_and_SIP_accounts#Rubrica_telefonica|template di default dell’interno]], la '''“modalità di pubblicazione LDAP”''' deve essere abilitata.
There are also ways to make the extension's presence visible on the LDAP phonebook.
Sono anche presenti le modalità con cui rendere visibile la presenza dell’interno sulla rubrica LDAP.
 
* '''Secondo la regola di pubblicazione LDAP''': espone il numero dell’interno con una manipolazione per convertirlo in un numero geografico
* '''According to LDAP publishing rule''': exposes the extension number with a manipulation to convert it to a geographic number.
* '''Presentando il numero telefonico sottoindicato''': espone il numero dell’interno con un numero specificato
* '''Presenting the telephone number below''': exposes the extension number with a specified number
* '''Seconda la regola di pubblicazione LDAP applicata all’interno sottoindicato''': assegna un interno fittizio e viene applicata la mascheratura specificata nel pannello LDAP
* '''According to the LDAP publication rule applied to the extension below''': assigns a dummy extension and the masking specified in the LDAP panel is applied
</div>
 
If the ''dc=system'' subtree has leaves, the system contact directory has been correctly populated with all the attributes of the tab.


<div lang="it" dir="ltr" class="mw-content-ltr">
Se il sottoalbero ''dc=system'' presenta delle foglie, la rubrica dei contatti di sistema è stata popolata correttamente con tutti gli attributi della scheda.
* '''givenName'''
* '''givenName'''
* '''sn''': surname
* '''sn''': surname
* '''cn''': common name, si costruisce facendo la concatenazione del nome (givenName) e cognome (surname)
* '''cn''': common name, is constructed by doing concatenation of first name (givenName) and last name (surname)
* '''o''': organization
* '''o''': organization
* '''ou''': organizion unit
* '''ou''': organizion unit
<br>
<br>
Gli oggetti che vengono raccolti e descritti sotto un albero LDAP si caratterizzano per avere una catena di object class. Ciascuna object class ha un set di attributi obbligatori o opzionali. Un client LDAP che voglia leggere la rubrica, se attiva un filtro su un object class, può decidere come effettuare una ricerca.
Objects collected and described under an LDAP tree are characterized by a chain of object classes. Each object class has a set of mandatory or optional attributes. If it activates a filter on an object class, an LDAP client that wants to read the phonebook can decide how to perform a search.
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
===Mapping of contact types in the shared phonebook in LDAP===
===Mappatura dei tipi di contatti nella rubrica condivisa in LDAP===
{| class="wikitable"
{| class="wikitable"
! Attributo XML !! Attributo GUI !! Attributo LDAP !! Presenza
! XML attribute !! GUI attribute !! LDAP attribute!! Presence
|-
|-
| firstName || Nome || givenName || opzionale
| firstName || Name || givenName || optional
|-
|-
| lastName || Cognome || sn || obbligatoria
| lastName || Surname || sn || required
|-
|-
|  ||  || cn || obbligatoria
|  ||  || cn || required
|-
|-
| organization || Ente || o || opzionale
| organization || Organization || o || optional
|-
|-
| organizationalUnit || Reparto || ou || opzionale
| organizationalUnit || Organizational unit|| ou || optional
|-
|-
| Home || Casa || homePhone || opzionale
| Home || Home phone|| homePhone || optional
|-
|-
| Work || Lavoro || telephoneNumber || opzionale
| Work || Work phone|| telephoneNumber || optional
|-
|-
| Mobile || Cellulare || mobile || opzionale
| Mobile || Mobile phone|| mobile || optional
|-
|-
| Work Mobile || Cellulare di lavoro || mobile || opzionale
| Work Mobile || Cellulare di lavoro || mobile || optional
|-
|-
| Fax || Fax || facsimileTelephoneNumber || opzionale
| Fax || Fax || facsimileTelephoneNumber || optional
|-
|-
| Extension || Interno || telephoneNumber || opzionale
| Extension || Extension|| telephoneNumber || optional
|-
|-
| Email || E-mail || mail || opzionale
| Email || E-mail || mail || optional
|}
|}
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
'''WARNING''': all contacts to be published in LDAP must have at least the last name.
'''ATTENZIONE''': tutti i contatti che devono essere pubblicati su LDAP devono avere almeno il cognome.
<br>
<br>
'''ATTENZIONE''':
'''WARNING''':
I client LDAP sui telefoni non sempre supportano tutti gli attributi delle object class.
LDAP clients on phones do not always support all object class attributes.
Ogni telefono ha un set di attributi sui quali può effettuare la ricerca ed è in grado di restituire al cliente, tramite display, solo gli attributi che supporta.
Each phone has a set of attributes it can search and return to the client, via display, only the attributes it supports.
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
==Importing remote phonebooks==
==Importazione rubriche remote==
[[File:Rubrica telefonica, importazione.png|destra|450px]]
[[File:Rubrica telefonica, importazione.png|destra|450px]]
L'importazione delle rubriche remote è raggiungibile cliccando su "Rubrica > Importazione rubriche remote".
The import of remote phonebooks can be reached by clicking on "Phonebook > Import Remote Phonebooks."
<br>
<br>
Questa sezione offre la possibilità di importare nella centrale Kalliope i contatti presenti nelle rubriche LDAP.
This section offers the possibility of importing contacts in LDAP phonebooks into the Kalliope central unit.
<br>
<br>
Non viene fatta una query in tempo reale tutte le volte che c’è bisogno di consultare la rubrica, ma viene fatta un’importazione completa dei contatti presenti nella rubrica e vengono inseriti dentro il database interno al Kalliope. Questa importazione viene fatta periodicamente.
A real-time query is not done every time there is a need to consult the phonebook, but a complete import of the contacts in the phonebook is done and entered inside the Kalliope internal database. This import is done periodically.
È possibile definirne più di una.
It is possible to define more than one.
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
Pressing on "Add a new LDAP remote phonebook" will take you to the remote phonebook creation page.
Premendo su "Aggiungi una nuova rubrica remota LDAP" si raggiunge la pagina di creazione della rubrica remota.
</div>




<div lang="it" dir="ltr" class="mw-content-ltr">
=== LDAP server settings ===
===Impostazioni del server LDAP===
[[File:Impostazioni server LDAP.JPG|destra|350px]]
[[File:Impostazioni server LDAP.JPG|destra|350px]]
* Nome
* Host address
* Indirizzo del server
* Host port
* Porta del server
* Version: V3 / V2 (obsolete)
* Versione: V3 / V2 (obsoleta)
* RDN: root of the subtree you want to query.
* RDN: radice del sottoalbero che si vuole consultare
* Authentication enabled
* Abilita autenticazione
* Username
* Nome utente
* Password
* Password
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
===Impostazioni di ricerca===
===Search settings===
[[File:Impostazioni di ricerca.JPG|destra|450px]]
[[File:Impostazioni di ricerca.JPG|destra|450px]]
Si possono filtrare solo i contatti che hanno come ObjectClass person, organizationalPerson, inetOrgPerson
You can filter only contacts that have as ObjectClass person, organizationalPerson, inetOrgPerson
* Tipologia di server remoto: generico/estos MetaDirectory
* Provider type: Generic / estos MetaDirectory
* Includi risultati in (ObjectClass=person)
* Include results in (ObjectClass=person)
* Includi risultati in (ObjectClass=organizationalPerson)
* Include results in (ObjectClass=organizationalPerson)
* Includi risultati in (ObjectClass=inetOrgPerson)
* Include results in (ObjectClass=inetOrgPerson)
Non è previsto l’accesso tramite SSL.
Access via SSL is not provided.
<br>
<br>
Metadirectory è un software che agisce da aggregatore di rubriche: prende dati da diverse fonti (server LDAP, file di testo, database), li legge e li ripubblica sotto forma di LDAP per essere letti da client LDAP.
Metadirectory is software that acts as a phonebook aggregator: it takes data from different sources (LDAP servers, text files, databases), reads it and republishes it in LDAP form to be read by LDAP clients.
</div>
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
<div class="mw-translate-fuzzy">
===Impostazioni di importazione===
===Import Settings===
[[File:Impostazioni di importazione.JPG|destra|450px]]
[[File:Impostazioni di importazione.JPG|destra|450px]]
</div>
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
* '''Import enabled'''
* '''Abilita importazione'''
* '''Import periodicity''': repeated every (tot hours)/repeated every day at the
* '''Periodicità d’importazione''': ripetuta ogni (tot ore)/ripetuta ogni giorno alle
* '''Incoming call phonebook loopup enabled''': contacts in this phonebook are used to set first and last name based on the calling number
* '''Abilita lookup per le chiamate in ingresso''': i contatti presenti in questa rubrica vengono usati per impostare nome e cognome in base al numero chiamante
* '''Export to cti enabled''': CTI clients receive the contacts in the LDAP phonebook from the central office when importing
* '''Abilita esportazione verso i client CTI''': i client CTI ricevono dalla centrale i contatti presenti nella rubrica LDAP quando si importano
* '''Show in GUI enabled''': the client accessing the interface sees the contacts that are on the remote phonebook in the phonebook
* '''Abilita visualizzazione in GUI''': il cliente che accede all’interfaccia vede i contatti che sono sulla rubrica remota nella rubrica
* '''Import contacts as extensions''': phone numbers found in the remote phonebook are entered into the local import database as extensions (extensions). When you then go to show them to clients, they will be treated as internal numbers. Any click2call will occur to the exact number, without putting the "0" in.
* '''Importa i contatti come interni''': i numeri di telefono che vengono trovati nella rubrica remota vengono inseriti nel database locale d’importazione come extension (interni). Quando poi si vanno a mostrare ai client, verranno trattati come numeri interni. Un eventuale click2call avverrà al numero preciso, senza metterci lo "0".
</div>


<div lang="it" dir="ltr" class="mw-content-ltr">
===Import settings===
===Impostazioni di pubblicazione===
[[File:Impostazioni di pubblicazione.JPG|destra|350px]]
[[File:Impostazioni di pubblicazione.JPG|destra|350px]]
* '''Abilita pubblicazione su LDAP locale''': se si vogliono esportare i contatti che ho importato, quindi per renderli accessibili ai telefoni Questa funzione è utile per aggregare: in questo modo la centrale presenta sia i contatti presenti nella rubrica condivisa, sia nelle rubriche remote.
* '''Enable publishing to local LDAP''': if you want to export the contacts that I imported, make them accessible to phones. This function is
* '''Aggiungi il prefisso per le chiamate uscenti''': come nella pubblicazione dei contatti di sistema, si può aggiungere lo “0” per contattare questi numeri come se fossero esterni.  
helpful for aggregating: this way the central unit presents both the contacts in the shared phonebook and the remote phonebooks.  
Se si spunta l’opzione sopraindicata “importa i contatti come interni”, lo “0” si omette perché si raggiungono con il numero breve.
* '''Add outbound prefix''': as in publishing system contacts, you can add the "0" to contact these numbers as if they were external.  
</div>
If you check the above option "import contacts as internal," the "0" is omitted because they are reached with the short number.


<div lang="it" dir="ltr" class="mw-content-ltr">
Contacts in the remote phonebook are visible in the shared phonebook to the administrator; non-administrator users can only see them in the shared phonebook if the "Enable display in GUI" flag is present.
I contatti della rubrica remota vengono resi visibili nella rubrica condivisa all’amministratore, agli utenti non amministratori vengono fatti vedere nella rubrica condivisa solo se è presente il flag di “Abilita visualizzazione in GUI”.
With each incoming call, the central unit consults whether the calling number is in a phonebook. If so, it goes to edit the call display name (caller name) to insert the value present in the phonebook and corresponding to that caller number.
Ad ogni chiamata in ingresso, la centrale consulta se il numero chiamante è presente in una rubrica. In caso affermativo, va a modificare il display name della chiamata (nome chiamante) per inserire il valore presente nella rubrica e corrispondente a quel numero chiamante.
In the case of direct calls to an extension, the personal phonebook is used as a priority, while for calls to groups or queues, the shared phonebook is used.
Nel caso di chiamate dirette ad interno, viene usata a priorità la rubrica personale, invece, per chiamata a gruppi o code, viene usata la rubrica condivisa.
</div>

Versione attuale delle 09:09, 21 set 2022

Altre lingue:

Return to AdminGuide:Service


Description

The phonebook allows the display of contacts that are in the "Local phonebook" and the "Shared phonebook". The phonebook can be used via the web interface or the CTI client, in this way you can see phonebook contacts and extensions. By logging in with a non-admin user, but associated with an extension, you can have management of a user phonebook, accessible only via the web interface and via the CTI client. Through CTI desktop, you can only make editing and add contacts to the personal phonebook, to add contacts to the shared phonebook, you have to go to the web interface.


Configuration

Local phonebook

Mostra nella rubrica.JPG

The local phonebook is populated by extensions that have a particular configuration: the "Show in local phonebook" parameter is active. In the extension settings there is a way to make the presence of the extension visible in the LDAP phonebook. "Organization" and "Organizational unit" can also be entered in the configuration to have these fields populated within the phonebook. In addition, the extension can have associated e-mail address and mobile number, see the Extensions configuration

N.B. A non-administrator user does not see the mobile number of other extensions because the mobile number is meant to be a reachability number through the Fork2Mobile service and may be personal and not exclusively business.

Click2call.png

The non-administrator user displays the phonebook list of extensions in the same way as the administrator user, but has an extra feature: when the mouse hovers over the extension number, “Click2Call” appears. When you click on the contact, the central unit starts a call to the extension and you have 10 seconds to answer. When you answer, the central unit starts a call to the destination number.
You can export the phonebook in the following formats: XLSX, CSV, JSON, and XML.

Shared phonebook

The shared phonebook contains the contacts visible to all extensions in the pbx.

Rubrica condivisa.JPG


The shared phonebook is populated by the admin or other users - if delegated - and contains several tabs that can be added manually or imported from EXCEL files.

Aggiungi nuova scheda.JPG

Through Add New Contact, a contact can be added manually by entering:

  • First name
  • Last Name
  • Organization
  • Organizational unit

One or more contact information can be associated with the card: the extension, home, work, cell phone, work cell phone, fax, or e-mail. Each contact number, except e-mail, can be associated with a Speed-Dial, a speed-dial code that the user can type in to initiate a call to a particular number without having to remember it and/or without knowing it.

Thus, the phonebook contains the contact numbers entered, which are not directly callable by the central unit.

  • If you want to make the call to an external number, you must prefix the external line commitment prefix ("0").

The user can remove the "0" for external calls or decide to use a different prefix, this is changed in the "general settings" panel, via the dl box "Outgoing call prefix". See General Settings.

  • If you want to make a call to an extension, by running the Click2Call - feature for the non-administrator user - the central unit calls the user and then triggers a call to the selected extension. For non-internal numbers, the system calls the user and, when answered, starts a call to the selected number by prefixing "0".

On the CTI client, in the phonebook, the contact details are marked with different icons.
Adding a new card - thus a new contact - is not immediately visible within the CTI client, because the phonebook is updated periodically every 10 minutes. If you want to force the update due to urgencies, you can log out and then log back in, so the phonebook import is done automatically when the client starts up.

Export and import

The export of the shared phonebook can be done via XLSX, CSV, JSON and XML. Exporting it in EXCEL (XLSX) format is helpful because the downloaded file will be the same one you can use to do a bulk import. On excel, the contact information for a single card is represented on different rows.

The option Phonebook allows you to:

  • Replace the current phonebook with the imported one: if this option is not checked, the existing phonebook is integrated with the new one
  • Choose whether speed dials in the file include the prefix (of the numbering plan).

If you perform the import by not replacing the current phonebook with the imported one, the warning field highlights the operation with the icon MergeIcon.JPG. Note: If there are contacts in the phonebook that have Speed-Dial, when adding new contacts via import, you must put any Speed-Dial without prefix.


Depending on the export format, the fields vary in nomenclature:

XLSX and CSV JSON and XML
FirstName firstName
lastName lastName
organization organization
organizationalUnit organizationalUnit
contactType typeString
contactValue -
speedDial speedDial

Delegate the ability to manage in "write" the Shared phonebook

It may be necessary for some non-administrator users to be able to edit the shared phonebook. It is possible through the role mechanism to assign a user permission to make changes to contacts in the shared phonbook. Via the "User and Role Management" panel, in the Role Management panel, press on "Add new role." Priority and description are entered, and in the "Manage Shared phonebook" action, "Write" is checked.


LDAP settings

Impostazioni LDAP.png

To reach the LDAP settings panel, click on "Phonebook > LDAP Settings"

You can make use of the phonebook via LDAP clients. You can make the phonebook available to external LDAP clients: from the phone, via keypad, you can search the central office phonebook. You can also access remote phonebooks exposed by other LDAP servers to make them available to Kalliope users.
LDAP (Lightweight Directory Access Protocol) is a protocol that organizes data in the form of a tree hierarchy. The leaves (object class) of the tree are the objects that contain the attributes (first name, last name, email, phone numbers), so each contact record can be considered a leaf of the LDAP tree. A lot of information can be held in LDAP, so when defining the leaf type, you have to provide the object class representing what attributes can be obtained from these objects.

The organization of information in the LDAP tree is as follows:
root: dc=root
Subtrees': dc=default (where default is the domain name of the default mono tenant)
Instead, in a multi tenant node, every time a new tenant is created, a new subtree comes up with dc=domain name For each tenant, there are two subtrees:

  • dc=users
  • dc=phonebook

The latter contains other subtrees

  • dc=extension (contains extension phonebook contacts)
  • dc=system (contains the phonebook of system contacts)

When the user logs on to the phonebook, they get visibility of everything under the phonebook subtree of their domain.

In the panel, there are enablers for the two subtrees. In the central unit, there is an LDAP server on which you can enable the publication of contacts separately between the internal and shared phonebooks. On LDAP, exposing contacts from the personal phonebook isn't possible.

System contacts

Configure system contacts unlocks the publication on the dc=system subtree of contacts in the shared phonebook:

  • System contacts publication tree: the tree is displayed.
  • Enable publication of system contacts: publication of contacts in the shared phonebook is enabled.
  • Add prefix for outgoing calls: when the central unit publishes contacts to LDAP, it adds a prefix "0" to all numbers, except those marked as extensions, to make outgoing calls. In this way, the client accessing the phonebook, finds the numbers already ready (including the "0") to be called


Extensions

You can enable the export of the extension directory to LDAP as a global function.

  • Extensions publication tree: the tree is displayed.
  • Extensions publish enabled: the phonebook of extensions can be found searchable via LDAP.
  • Extension prefix strip: standard extension publishing rule that is used in case you want to display extension numbers not with the extension number, but with the full geographic number
  • Extension prefix prepend
LDAP interni.JPG
LDAP contatti di sistema.JPG

Saving the configuration populates the LDAP tree with the contents of the system phonebook and extensions. You must authenticate with a user who has the right to see the phonebook to access the LDAP phonebook. An LDAP client can be used to consult it.

LDAP client configuration

  • IP address of the server and port
  • Base DN: root of the tree that you want to consult
  • Login credentials to be specified: username and password of user authorized to read the LDAP tree


Kalliope users, defined within the "User and Role Management" panel, are by default authorized to access LDAP. So in the credentials to be specified you enter the user via a specific syntax: cn=user@domain, dc=users, dc=domain, dc=root

Then, automatically, the client will make the connection to LDAP.

N.B. Authentication of users
To gain access via LDAP, users must have a local authentication method; users with domain authentication cannot access LDAP.

Autorizzazioni ruolo.png


Autenticazione ruolo.png


The PBX, not knowing the user passwords, could not write the passwords of each user to the phones. Therefore, using personal credentials to access the phonebook is never performed. Within the PBX, there is a default user, phonebook, who has the right to access and edit the shared phonebook; it is a disabled entity by default, but it can be enabled once a password is assigned. Enabling GUI access (to consult the phonebook and make changes from the web) is required; API access is unnecessary.

Once the connection is made, if you look at the dc=extension subtree, you will see that it is empty. It is a domain, but it has no leaves. It is empty because it is not enough to apply the extension publication in the LDAP settings. Still, each extension has a flag that checks whether it should be published to the internal phonebook and/or LDAP phonebook. In the template default extension, the "LDAP publishing mode" must be enabled. There are also ways to make the extension's presence visible on the LDAP phonebook.

  • According to LDAP publishing rule: exposes the extension number with a manipulation to convert it to a geographic number.
  • Presenting the telephone number below: exposes the extension number with a specified number
  • According to the LDAP publication rule applied to the extension below: assigns a dummy extension and the masking specified in the LDAP panel is applied

If the dc=system subtree has leaves, the system contact directory has been correctly populated with all the attributes of the tab.

  • givenName
  • sn: surname
  • cn: common name, is constructed by doing concatenation of first name (givenName) and last name (surname)
  • o: organization
  • ou: organizion unit


Objects collected and described under an LDAP tree are characterized by a chain of object classes. Each object class has a set of mandatory or optional attributes. If it activates a filter on an object class, an LDAP client that wants to read the phonebook can decide how to perform a search.

Mapping of contact types in the shared phonebook in LDAP

XML attribute GUI attribute LDAP attribute Presence
firstName Name givenName optional
lastName Surname sn required
cn required
organization Organization o optional
organizationalUnit Organizational unit ou optional
Home Home phone homePhone optional
Work Work phone telephoneNumber optional
Mobile Mobile phone mobile optional
Work Mobile Cellulare di lavoro mobile optional
Fax Fax facsimileTelephoneNumber optional
Extension Extension telephoneNumber optional
Email E-mail mail optional

WARNING: all contacts to be published in LDAP must have at least the last name.
WARNING: LDAP clients on phones do not always support all object class attributes. Each phone has a set of attributes it can search and return to the client, via display, only the attributes it supports.

Importing remote phonebooks

Rubrica telefonica, importazione.png

The import of remote phonebooks can be reached by clicking on "Phonebook > Import Remote Phonebooks."
This section offers the possibility of importing contacts in LDAP phonebooks into the Kalliope central unit.
A real-time query is not done every time there is a need to consult the phonebook, but a complete import of the contacts in the phonebook is done and entered inside the Kalliope internal database. This import is done periodically. It is possible to define more than one.

Pressing on "Add a new LDAP remote phonebook" will take you to the remote phonebook creation page.


LDAP server settings

Impostazioni server LDAP.JPG
  • Host address
  • Host port
  • Version: V3 / V2 (obsolete)
  • RDN: root of the subtree you want to query.
  • Authentication enabled
  • Username
  • Password

Search settings

Impostazioni di ricerca.JPG

You can filter only contacts that have as ObjectClass person, organizationalPerson, inetOrgPerson

  • Provider type: Generic / estos MetaDirectory
  • Include results in (ObjectClass=person)
  • Include results in (ObjectClass=organizationalPerson)
  • Include results in (ObjectClass=inetOrgPerson)

Access via SSL is not provided.
Metadirectory is software that acts as a phonebook aggregator: it takes data from different sources (LDAP servers, text files, databases), reads it and republishes it in LDAP form to be read by LDAP clients.

Import Settings

Impostazioni di importazione.JPG
  • Import enabled
  • Import periodicity: repeated every (tot hours)/repeated every day at the
  • Incoming call phonebook loopup enabled: contacts in this phonebook are used to set first and last name based on the calling number
  • Export to cti enabled: CTI clients receive the contacts in the LDAP phonebook from the central office when importing
  • Show in GUI enabled: the client accessing the interface sees the contacts that are on the remote phonebook in the phonebook
  • Import contacts as extensions: phone numbers found in the remote phonebook are entered into the local import database as extensions (extensions). When you then go to show them to clients, they will be treated as internal numbers. Any click2call will occur to the exact number, without putting the "0" in.

Import settings

Impostazioni di pubblicazione.JPG
  • Enable publishing to local LDAP: if you want to export the contacts that I imported, make them accessible to phones. This function is

helpful for aggregating: this way the central unit presents both the contacts in the shared phonebook and the remote phonebooks.

  • Add outbound prefix: as in publishing system contacts, you can add the "0" to contact these numbers as if they were external.

If you check the above option "import contacts as internal," the "0" is omitted because they are reached with the short number.

Contacts in the remote phonebook are visible in the shared phonebook to the administrator; non-administrator users can only see them in the shared phonebook if the "Enable display in GUI" flag is present. With each incoming call, the central unit consults whether the calling number is in a phonebook. If so, it goes to edit the call display name (caller name) to insert the value present in the phonebook and corresponding to that caller number. In the case of direct calls to an extension, the personal phonebook is used as a priority, while for calls to groups or queues, the shared phonebook is used.