cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
759
Views
0
Helpful
1
Replies

CRA Editor/Access to script variables after contact inactive exception

andrewpasetti
Level 1
Level 1

Hello,

It appears that script variables such as callingNumber (Contact) are no longer are no longer available after a contact inactive exception. I stored them in local variables, but I still cannot gain access to them.

Am I doing something wrong? Perhaps someone can suggest a way around this.

Thanks,

Andrew

1 Reply 1

venkasub
Level 4
Level 4

Hi,

If the contact hangups and scripts tries to execute any media/any step which relies on contact will throw an exception, if the same is not handled the application get aborted and the system will execute the default treatment which will play the "System Problems" message or whatever has been defined as the Default script. You will see exceptions in MIVR logs. To avoid this you need to catch the ContactInactive Exception by using On Exception Goto step and clear the same.

If you are using some steps that doesn't relies on contact, continues to execute even after

the contact hangups (eg: database steps, XML steps) till it reaches the end step.

Do send me the script(s) with detail information about your requirement, I can take a look at it.

Regards

Venkat