Only 10 variables can be sent using GIVR IVR so we concatenate multiple variables then extract on AAEP.
SECTION AAEPTreatment
/* Concatenate variables into im */
ASSIGN PDN_CDNS_cv TO im /* CDN number */
APPEND "QQ" TO im
APPEND c_strCLIDs TO im /* CLID number */
APPEND "QQ" TO im
APPEND c_strDivCode TO im /* Division code */
APPEND "QQ" TO im
APPEND c_strDepCode TO im /* Department code */
APPEND "QQ" TO im
APPEND c_strBorPCode TO im
APPEND "QQ" TO im
APPEND c_strNorR TO im
APPEND "QQ" TO im
APPEND c_strNrType TO im
APPEND "QQ" TO im
APPEND c_strContactDetMesType TO im
APPEND "QQ" TO im
APPEND c_strReqRoute TO im /* Request Route string value */
/* Concatenate variables into im1 */
ASSIGN c_strReqRoutePriority TO im1 /* skillset priority */
APPEND "QQ" TO im1
APPEND c_strIDBefMenType TO im1 /* ask for ID before menu */
APPEND "QQ" TO im1
APPEND c_strAgentOptFrom TO im1
APPEND "QQ" TO im1
APPEND c_strMenuRetries TO im1 /* number of menu retries */
APPEND "QQ" TO im1
APPEND c_strConfUseGetID TO im1 /* new variables */
APPEND "QQ" TO im1
APPEND c_strConfUseIR TO im1
APPEND "QQ" TO im1
APPEND c_strGetIDRetries TO im1
ASSIGN CONTACT DATA "SIP_FROM_ADDRESS" TO c_sip_from_add_cv
ASSIGN CONTACT DATA "SIP_TO_ADDRESS" TO c_sip_to_add_cv
ASSIGN CONTACT DATA "ProviderContactID" TO externalid
ASSIGN c_sip_from_add_cv TO vxmlto
ASSIGN c_sip_to_add_cv TO vxmlfrom
ASSIGN "sip:__sip-xdialog@########" TO serviceuri
ASSIGN "invite" TO method
ASSIGN "VXML" TO apptype
ASSIGN "contextcreation" TO treatmenttype
GIVE IVR SERVICE URI serviceuri
WITH VXML TREATMENT AAEP_Test_VoiceXML
PARAMETERS vxmlto, vxmlfrom, method, apptype, treatmenttype, im, c_strIsEmergency, c_strIsAfterHours, c_strIsDebugMode, im1, externalid
RETURNS im_str
|