Fromaddress - Nortel Meridian Meridian 1 Scripting Manual

Contact center manager
Hide thumbs Also See for Meridian Meridian 1:
Table of Contents

Advertisement

October 2007

FROMADDRESS

This intrinsic returns the e-mail address from which an e-mail contact was sent.
This intrinsic is available for e-mail contacts only.
Syntax
The intrinsic must be used in conjunction with the CONTACT DATA intrinsic
and must be assigned to a script call variable before use.
ASSIGN CONTACT DATA "FROMADDRESS" TO contact_fromAddress_cv
Return type
This intrinsic returns a STRING variable. For example, johnsmith@online.com.
Example
The following example assigns the from address value to a call variable and then
increases the priority of the contact if the customer is identified as a priority
customer.
ASSIGN CONTACT DATA "FROMADDRESS" TO contact_fromAddress_cv
ASSIGN CONTACT DATA "SKILLSET" TO contact_skillset_cv
ASSIGN CONTACT DATA "PRIORITY" TO contact_priority_cv
IF CONTACT TYPE = c_EMAIL_gv THEN
/* Identify a Priority Customer by their e-mail address */
IF (contact_fromAddress_cv = "johnsmith@online.com") THEN
END IF
END IF
QUEUE TO SKILLSET contact_skillset_cv WITH PRIORITY
contact_priority_cv
WAIT 2
Scripting Guide for Communication Server 1000/Meridian 1 PBX
ASSIGN 1 TO contact_priority_cv
Scripting for Multimedia and Outbound
631

Advertisement

Table of Contents
loading

Table of Contents