Developer Documentation Library > Dialer SDK > Features > Call outcome mapping
 
Call outcome mapping
Call outcomes can be selected by the dialer or the interviewer. Call outcomes selected by the dialer need to be mapped to UNICOM Intelligence Interviewer return codes so that they can be referenced in reports. Return codes chosen by the interviewer might have to be mapped to dialer call outcomes for dialer based reports.
The call outcomes selected by the dialer are mapped using a mapping collection (setup during installation). The following DPM Explorer example shows an dialer collection named YourDialerTypeName and the DefaultDialerCallOutcomes call outcome mapping collection. The dialer return code, named BadNumber with code 1, is mapped to the UNICOM Intelligence Interviewer return code WrongNumber.
DPM Explorer
This graphic is described in the surrounding text.
Map each dialer call outcome to a UNICOM Intelligence Interviewer return code. It is recommended that you map to existing return codes, as they are setup by default in Interviewing Options and in the sample management script. If you want a new UNICOM Intelligence Interviewer return code, update the default return codes: see Changing the default settings. You also to provide an updated default sample management script that handles the new return code.
Return codes chosen by the interviewer are passed to the dialing provider in IDialingProvider.Return. The return code XML contains a name and a numeric code. The dialer might map these to dialer return codes or simply use the UNICOM Intelligence Interviewer name for reporting. Note hat many clients add their own return codes; if the dialing provider chooses to map UNICOM Intelligence Interviewer return codes to dialer call outcomes, then the client must be provided with a method for mapping new return codes.
See also
Features