Mapping Information to Directory Fields

If you need to add mappings to Sinch Contact Pro cloud, contact Sinch.

You need a file called mapping.xml. There is an example file Example_Directory_Fields_mapping.xml that you can get from Sinch. The file contains the following rows:

<mapping>
<map src="User.Field.DefaultQueue"  dest="[field ID]" />
<map src="User.Field.ForwardNumber" dest="[field ID]" />
<map src="User.Field.ExternalAgentNumber"   dest="[field ID]" />
<map src="User.Extension.24" dest="[field ID]" />
</mapping> 
Note:

Do not add comments or any other features to the file.

You can map the following data sources:

Table 1. Data Sources

Source

Description

User.Field.DefaultQueue

The switchboard queue

User.Field.ForwardNumber

The number where the call is forwarded if it is not answered

User.Field.ExternalAgentNumber

The number the user uses when in External Agent mode

User.Extension.24

Voicemail number

Use this procedure to map desired information to be displayed in the CP directory fields.

  1. Add a new directory field in Directory Management > Directory Fields with appropriate name:
    • Enter appropriate name and description. Other fields are irrelevant in this procedure.

    • Save your entries.

    For more information, see Creating Directory Fields.

  2. Search for directory fields, and make sure that the ID is displayed in the list. To display it, click Personalize and select ID.
  3. Edit the mapping.xml file.
    • Copy the id of the field you created above and paste it so that it replaces the [field ID] text of appropriate row.

    • Remove the rows you are not interested in.

    • Save the mapping.xml file in the \etc folder on the virtual unit where the Batch Job Server (BJS) is installed.

  4. Restart the BJS module in Infrastructure Administrator (IA).
  5. Edit the directory template that the user(s) use: go to Directory Management > Directory Templates and search for the template, or add a new one:
    • Choose Tab Sheet List where you want to add the new field, or make a new one

    • Choose the field, and add it to the selected Tab Sheet.

    • Save your entries.

    For more information, see Creating Templates.