Sign in using DevConnect ID

Forgot password?

Trouble logging in?

Submit a ticket for Registration Support.

I have an SSO ID

?
sign in

Don't have a DevConnect or SSO ID ?

Create a DevConnect account or join the program.

register now
^
Forum Index » Engagement Designer » SuspendCall in a call intercept workflow   XML
 
Author Message
JackKlaren



Joined: 23/11/2016 08:46:28
Messages: 23
Offline

Consider the following ED workflow:

Start Call intercept -> do a lot of "Call REST Service" and "Read from DB" -> Call Allow / Drop / Transfer

Is it mandatory to use the SuspendCall step as the first step in my Call Intercept workflow when starting the flow?

Perhaps related: In the Avaya Breeze Snap-in Development Guide, Chapter 6 "Performance and scalability considerations", the call.suspend step is also mentioned to enhance performance:
- Important: Be sure to invoke the suspend method as shown above (call.suspend() ) before invoking the asynchronous method.

AnuragAggarwal



Joined: 01/06/2014 21:52:05
Messages: 107
Offline

suspend releases sip related resources, so that workflow can do some thing in background (like REST in your case), and then make decision on call and then sip would come back into picture

so yes suspend is useful in releasing sip threads
JackKlaren



Joined: 23/11/2016 08:46:28
Messages: 23
Offline

Ok thanks.

I will add the SuspendCall step at the beginning of the workflow.
 
 
Go to: