Automatically show information about inquirers
Kun slutbruger-hjælpen er for tiden oversat til dansk. Hjælp til installation og administration af Zylinc-løsninger er for tiden på engelsk.
Dette emne er fortrinsvis for administratorer og/eller folk som bestyrer en Zylinc-løsning
You can set up Zylinc clients to show information about an inquirer. The system can search for the inquirer’s phone number, e-mail address, or other information that identifies the person behind the inquiry.
In the simplest form, agents can view this information inside their Zylinc clients.
A more advanced feature lets you pass the same parameters to a third-party system, for example a CRM system. When an agent handles an inquiry, the third-party system automatically pops up on the agent's screen, and finds and shows relevant information based on parameters supplied by the Zylinc solution. It's also possible to make this a manual solution, where the agent must click a Lookup button.

If you're an administrator, you can set up caller information lookup to show, for example, number, name, company, or street address, in the Zylinc applications when you get a call, an e-mail, or a chat inquiry.
The system searches for the caller’s phone number, e-mail address, or other information that identifies the person behind the inquiry. The system can search in the internal ZyDB database as well as externally, such as in an external database, or in a third-party system.
For web chat inquiries, the inquirer enters their name, phone number, e-mail address, or other information that identifies them, before the chat session begins, and the system then uses that information for the lookup.
For voice calls, you can set up an IVR menu for the caller to enter an account number, social security number, case number, or similar, and the system then uses that information for the lookup.

-
Users or contacts in the ZyDB database, which you can set up to also include users or contacts synchronized from Active Directory, a PBX, or a CSV file import
-
External MS SQL Database that contains a custom stored procedure
-
CSV file that maps phone numbers, e-mail addresses, or other information that identifies inquirers, to fields that caller lookup information can return
-
Third-party web service
-
Markedsdata
-
Geomatic
-
TDC DK 118

When the system looks up a phone number, e-mail address, or another value (or tag) that uniquely identifies an inquirer, caller lookup information returns a set of obvious parameters, for example, number, name, company, or street address.
Other parameters have a special purpose:
RoutingPriority: Assigns different priorities to different callers. This is useful if you use caller-rated distribution.
QueueName: Assigns Zylinc queue names to different callers. This is useful if you use caller-rated queueing.
For more information about RoutingPriority, QueueName, caller-rated distribution, and caller-rated queueing, see How Zylinc distributes inquiries to agents
Dn: Foreign database key to the dn column in the table usr_workset in the ZyDB database. The foreign key uniquely identifies the matching user, so that Zylinc clients can display for example a picture of the user, or a link to search for other users in the same department. Dn is only meaningful for internal lookups, where the caller matches a user who's already present in the ZyDB user database.

A stored procedure in a Microsoft SQL database is similar to a procedure in other programming languages. It accepts input parameters and returns multiple values in the form of output parameters.
In the Zylinc Administration Portal, you can download a template for a stored procedure. This is useful when you want to have custom lookup information returned from a phone number, e-mail address, or other information that identifies the inquirer.
-
In the Administration Portal menu, select INSTALL > Portal Configuration
-
Select ID Lookup, and click Save
-
In the Administration Portal menu, select SYSTEM > ID Lookup
-
Click Download Template
A software developer who's familiar with Microsoft SQL database development can edit the template source code to meet your requirements. The edited stored procedure should be able to look up phone numbers, e-mail addresses, or other information that identifies the inquirer in a custom (or third-party) system, and return, for example, name, title, or company.
The edited stored procedure should be able to handle the fact that the argument number can be in several different formats depending on the PBX. For example (+45x, 0045x without prefix, 0045123, 123, 0045-123, 12 3, etc.). The argument number can also be represented in the form of an e-mail address, or in any custom format (tag) that identifies the inquirer.
Save the edited stored procedure directly in the custom (or third-party) database, or create a new database to contain the stored procedure.
You can save your customized stored procedure with any name that you want, as long as the return result is as specified.
Zylinc doesn't let you customize tables or programmability or make any changes in ZyDB.

-
In the Administration Portal menu, select SYSTEM > ID Lookup
-
In ID Lookup - External, Provider, select SQL Database
-
In Type, select Microsoft SQL Server
-
In Host, enter the hostname or address of the SQL server that hosts the database that contains the custom stored procedure, for example sqlserver01
-
In Port, enter 1433
-
In Username and Password, specify a user with permission to execute the stored procedure and return data.
-
In DB name, enter the name of the database that contains the customized stored procedure.
-
In Procedure, enter the name of the stored procedure, for example: sel_user_from_number_ext

You can configure the Zylinc solution to look up information in a third-party external web service, if the web service uses the following structure:
HTTP request
Number lookup with HTTP GET that uses the following request URI format:
http://some-specified-address?number=213&directory=A
Request structure
Parameter | Type | Information | Mandatory |
---|---|---|---|
number | string | Number on which to perform lookup | Yes |
directory | string | Directory in which to perform lookup | No |
HTTP response
The HTTP response is a combination of the status code and potentially also a body containing an XML object with information
Response structure
Status code | When | XML |
---|---|---|
200 OK | Match found | Contains XML object with information about the match |
404 Not Found | No match found | Shouldn't return any XML |
Other status codes | Error occurred | May return XML with error message |
XML structure
XML name | Type | Information | Mandatory |
---|---|---|---|
name | string | Matched person's name | Yes |
street_address | string | Matched person's street address | No |
city | string | Matched person's city | No |
company | string | Matched person's company | No |
title | string | Matched person's title | No |
number | string | Matched person's number | Yes |
number_type | string | Matched person's number type | No |
info | string | Additional info about matched person | No |
priority | int | The number's priority | No |
response_message | string | Can be used to deliver a message for logging | No |
Example: Success
Request
GET /lookup?number=%2B4512345678 HTTP/1.1
Host: localhost:49020
Accept: application/xml; charset=utf-8
Response
HTTP/1.1 200 OK
Content-Length: 572
<?xml version="1.0" encoding="utf-8"?>
<number_lookup_response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://numberlookup.example.com">
<name>John Doe</name>
<street_address>77 Sunset Strip</street_address>
<city>12345 Hollywood</city>
<company>Acme Corp.</company>
<title>Software Developer</title>
<number>+112345678</number>
<number_type>MobilePhone</number_type>
<info>Acme Corp. HQ</info>
<priority>1</priority>
</number_lookup_response>
Example: No match
Request
GET /lookup?number=213 HTTP/1.1
Host: localhost:49020
Accept: application/xml; charset=utf-8
Response
HTTP/1.1 404 Not found
Content-Length: 0
Connection: close
Example: Failure
Request
GET /lookup?number=+45273a1232 HTTP/1.1
Host: localhost:49020
Accept: application/xml; charset=utf-8
Response
HTTP/1.1 400 Bad request
Content-Length: 351
<?xml version="1.0" encoding="utf-8"?>
<number_lookup_response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://numberlookup.example.com">
<response_message>Unable to parse number</response_message>
</number_lookup_response>

You can use call lookup to pass parameters about an inquiry in the Zylinc solution to a third-party system, for example, Salesforce, ZenDesk, or many other CRM systems.
When an agent handles an inquiry, the third-party system automatically pops up on the screen, and finds and shows relevant information based on parameters supplied by the Zylinc solution. It's also possible to make this a manual solution, where the agent must click a Lookup button.
Examples of parameters that, if available, the Zylinc solution can supply for different queue types:
-
For voice queues: The A-number of the caller ($ano$), or a number that the caller has been asked to enter on the telephone keypad via an IVR menu ($ivrdigits$). The latter can, for example, be a case reference number, customer id, subscription number, or social security number.
-
For e-mail queues: The e-mail address of the sender who initiated the inquiry ($ano$).
-
For chat queues: A phone number entered by the person who initiated the inquiry ($ano$).
In other words, the $ano$ parameter may contain either a phone number or an e-mail address.
In the Administration Portal, you can choose different invocation methods, depending on the interface of your third-party system:
-
Link Call: Open a URL in the default web browser. The URL can contain parameters about the Zylinc inquiry.
-
Command (Windows Executable): Open a Windows program in the same user session as the agent's Zylinc client. The command line, that you use to start the program, can contain parameters about the Zylinc inquiry.
-
Advanced custom integrations for software developers: Useful for numerous usage scenarios, for example ZenDesk support ticket creation, dynamic data exchange (DDE), or a call to a custom DLL.
You can also pass the statistics database key for the call ($zytag$) to a custom application or web page that then uses the key to query additional data about the call from the Zylinc statistics database (ZyStatDB).

You can use the following example to set up a call lookup that passes a case reference number parameter entered by the caller to a third-party Windows application that runs in the same user session as the agent’s Zylinc client.
In this example, case reference number is a number of up to 5 numerical digits that the caller is asked to enter on their telephone keypad, before the call in the queue will be offered to agents.
The process where a caller is asked to enter digits is known as IVR digit collection. The name of the call lookup parameter that you're going to pass to the application is therefore $ivrdigits$.
If the caller doesn’t enter a case reference number within 10 seconds, the system starts to offer the call to agents, but the lookup button and any automatic lookup for the call will be deactivated. In such cases, there isn't any content in the $ivrdigits$ parameter to pass to the third-party application.

-
In the Administration Portal menu, select INSTALL > Portal Configuration
-
Select Call Lookup and click Save
-
In the Administration Portal menu, select SYSTEM > Call-Lookup
-
Click Add new Call Lookup
-
In Configuration Name, enter a name for the call lookup.
Example: CRM open case by number
-
In Method, select Command (Windows Executable)
-
In Call Answer/ Click, enter cmd.exe /k echo Case reference number=$ivrdigits$
In this example, cmd.exe /k echo just opens a command prompt window on the agent’s screen. The window will simply display the digits that the caller entered.
To set up a real-life integration, replace cmd.exe /k echo with the path to the third-party Windows application and the command line parameter to open the case in the CRM system, for example: "C:\Program Files (x86)\CRM Application\CRM.exe" /OpenCase $ivrdigits$

Set up a voice queue to collect up to five IVR digits about the caller's case reference number:
-
In the Administration Portal menu, select QUEUES > Voice Queues
-
Click the queue that you want to collect IVR digits from
-
Click ADVANCED (in the top-right corner)
-
In Digit Collection Announcement, select Zylinc-dc-enter-case-id-none.wav
That audio file contains a narration of the following text: Please enter your case reference number, followed by the hash key. If you have no reference number, please wait.
-
In Digits Max, enter 5
-
In Digits Timeout, enter 10
-
In Digits Attempts, enter 1
With this setup, the caller is asked once (Digits Attempts), to enter up to 5 digits (Digits Max). When the fifth digit has been entered, or if the user presses the hash key, the system knows that no more digits will follow, and starts to offer the call to agents. If the user doesn't enter any digits within 10 seconds (Digits Timeout), the system starts to offer the call to agents, and the call will not offer lookup.

You can now set up the queue to use the call lookup and the digit collection that you've created.
- In the Administration Portal menu, select INSTALL > Portal Configuration
- Select Queue Advanced and click Save
- In the Administration Portal menu, select QUEUES > Voice Queues
- Click the queue that you want to add the call lookup to
- Click ADVANCED (in the top-right corner)
- In Call Lookup, select the call lookup that you previously created
- Click Save

As an administrator, you can set up ZyDesk to automatically invoke a call lookup, without the need for agents to manually click the Lookup button.
- Log in to ZyDesk as an administrator
- In the ZyDesk menu, select File > Settings > Interface > Switch > Lookup
- Select Automatically perform lookup on incoming call
- In the tree structure, right-click Lookup and select Access level > Administrator
- In the tree structure, right-click Lookup and select Configuration level > Database
- Click OK
- Restart ZyDesk
Related: How Zylinc distributes inquiries to agents
Related: Use A-numbers to change incoming calls' priority
Related: Use A-numbers to send incoming calls to specific queues
Dette er hjælp til Zylinc version 6.5. Du kan vælge hjælp til andre versioner her.
© 2021 Zylinc A/S • Ansvarsfraskrivelse
Zylinc unified help har vundet UK Technical Communication Awards
Hjælpeversion: 24 februar 2021 15:41:38
Del denne side med andre: