Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

IPCC Script - why would this be done?

I am reviewing a script developed by somebody not with our company anymore. Can anybody explain why the below would be done? This is logic handling sending a caller to voicemail.

1 - set some session information (understand this!)

2 - set a _contact = ******** (this is defined as a contact variable - value null - I am not sure how this gets set to ******* - when i go into the expression editor i cannot modify it)

3 - if (_contact != null) then

true -

set enterprise call info (_contact)

false - do nothing

4 - Call redirect(triggering contact--to VM Number)

What would the purpose of step 2 and step 3 be?


Re: IPCC Script - why would this be done?

New Member

Re: IPCC Script - why would this be done?

Maybe to check if the Contact is still active?

Do you mean Set Enterprise Server Data in step 3,True ?

New Member

Re: IPCC Script - why would this be done?

It is strange. When it gets to step 2, that contact variable has never been used before and has a null value. And I'm wondering how the set statement works? As I am unable to initialize a contact variable using the expression editor, unless I have my syntax incorrect.

In step 3, the true branch of the if statement is doing a 'set Enterprise Call Info' on the contact referenced in step 2.