cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1089
Views
1
Helpful
3
Replies

CVP Scripting - performing actions after call hang up

sylvain.auge
Level 1
Level 1

Hello,

I have a UCCE + CVP plateform on version 9.0 and got a CVP script that records a message and send the wav file by mail.

The issue that i'm facing is that some customers record the message and then hang up the call. The consequence is that the CVP script is terminating and not going to the "send the mail" part.

I've seen on cisco documentation that we can catch some events to know if call was disconnected and perform some other actions.

From what i read there could be different possibilities :

- HotKey element or another EventHandling element

- java OnEndCall class

I've seen many topics giving information about passing back datas to ICM even when call is disconnected but nothing telling me that i can perform other actions in a CVP script such as sending a mail.

Have you ever done this before ?

Do you have any advice to get me started with that kind of configuration ?

Thanks a lot for your answers.

Regards,

Sylvain

1 Accepted Solution

Accepted Solutions

Anything other than interacting with the caller

View solution in original post

3 Replies 3

janinegraves
Spotlight
Spotlight

If you know java, you can write an End of Call java class by

implementing EndCallInterface.

See the CVP Programming Guide and the CVP javadocs.

import com.audium.server.AudiumException;*

*import com.audium.server.proxy.EndCallInterface;*

*import com.audium.server.session.CallEndAPI;*

**

*public class EndClassSubRet implements EndCallInterface*

*{*

    • public void onEndCall(CallEndAPI endData) throws AudiumException**

    • { //your code here**

    • } **

*}

Hello Janine,

thank you for the reply.

So from what you are saying i can perform any action that i want even if call is hanged up ?

Well i'm not a java guy but i'll try to get some help on this part.

Sylvain

Anything other than interacting with the caller