Author Message
YoshihiroKiyama
Joined: Jan 24, 2014
Messages: 12
Offline
I want to answer (run to cstaAnswerCall() ) an incoming call. The next events occur in the order to the client.

1.CSTAAnswerCallConfEvent
2.CSTAEstablishedEvent
3.CSTADivertedEvent

What kind of vent or occur when you disconnected between "2.CSTAEstablishedEvent" from "1.CSTAAnswerCallConfEvent" ?

I was confirmed in the lab. The following events occur in the order to the client.
Do you have in addition to this?

1.CSTAAnswerCallConfEvent
2.CSTAEstablishedEvent
3.CSTADivertedEvent
4.CSTAConnectionClearedEvent
5.CSTAConnectionClearedEvent

Thank you.
JohnBiggs
Joined: Jun 20, 2005
Messages: 1139
Location: Rural, Virginia
Offline
Virtually any event (I can think of relatively few exceptions e.g. RouteRequest) may occur between the application sending
cstaAnswerCall()

and it receiving
1.CSTAAnswerCallConfEvent ()
2.CSTAEstablishedEvent()

Why?
Two things... you need to allow for what the topology of the call is that the alerting device is involved in.
(1) It could be originator and ringing party, or it could be originator and multiple alerting parties (thus the Established event may be for a different party and occur before the CSTAAnswerCallConfEvent()), or
(2) it could be a conference or transfer situation where there are multiple established parties along with one or more alerting parties. The established parties could go on hold, or complete conferences themselves which would alter the topology of the call and thus cause events into the call you are monitoring prior to the response to your application's cstaAnswerCall().

Thus your application will need to be prepared for all event types to properly track the call and the changes that may be occurring to it.
MartinFlynn
Joined: Nov 30, 2009
Messages: 1922
Offline
The events you receive will depend on exactly what occurred and in which order.

For example, if the Communication Manager received the disconnect just before the Answer, you would probably get an error response to the CSTAAnswerCall rather than a CSTAAnswerCallConfEvent.
Go to:   
Mobile view