Author Message
MdAyub
Joined: Nov 19, 2013
Messages: 17
Offline
Team,

I'm extending CallControlTerminalConnectionListenerAdapter class and ProviderListener interface for my CallEventUpdater class, CallEventUpdater object is added as callListener to my terminal.

Overriden methods list:-
providerEventTransmissionEnded(ProviderEvent)
providerInService(ProviderEvent)
providerOutOfService(ProviderEvent)
providerShutdown(ProviderEvent)
singleCallMetaProgressStarted(MetaEvent)
singleCallMetaProgressEnded(MetaEvent)
multiCallMetaTransferStarted(MetaEvent)
multiCallMetaTransferEnded(MetaEvent)
multiCallMetaMergeStarted(MetaEvent)
multiCallMetaMergeEnded(MetaEvent)
singleCallMetaSnapshotStarted(MetaEvent)
singleCallMetaSnapshotEnded(MetaEvent)
connectionAlerting(CallControlConnectionEvent)
connectionInitiated(CallControlConnectionEvent)
connectionEstablished(CallControlConnectionEvent)
terminalConnectionHeld(CallControlTerminalConnectionEvent)
terminalConnectionInUse(CallControlTerminalConnectionEvent)
terminalConnectionTalking(CallControlTerminalConnectionEvent)
terminalConnectionUnknown(CallControlTerminalConnectionEvent)
connectionDisconnected(CallControlConnectionEvent)
terminalConnectionDropped(CallControlTerminalConnectionEvent)
connectionUnknown(CallControlConnectionEvent)
connectionFailed(CallControlConnectionEvent)
connectionOffered(CallControlConnectionEvent)
connectionQueued(CallControlConnectionEvent)
terminalConnectionBridged(CallControlTerminalConnectionEvent)
terminalConnectionRinging(TerminalConnectionEvent)
terminalConnectionRinging(CallControlTerminalConnectionEvent)
connectionDialing(CallControlConnectionEvent)
connectionNetworkAlerting(CallControlConnectionEvent)
connectionNetworkReached(CallControlConnectionEvent)
callActive(CallEvent)
callEventTransmissionEnded(CallEvent)
callInvalid(CallEvent)


When I'm holding the call, 'terminalConnectionHeld(CallControlTerminalConnectionEvent)' method is getting called. But when I'm retrieving or unholding the call none of the method is getting called, Please let me know what is the signature of the method which gets invokde when I unhold the call. Do I've to add any other listener? Am I missing something.

Regards,
Ars
ShantanuJoshi
Joined: Dec 12, 2013
Messages: 21
Offline
You should override the CallControlTerminalConnectionListener.terminalConnectionTalking() or CallControlConnectionListener.connectionEstablished() methods in your listener.

For more details on the mapping between TSAPI events and JTAPI listener events, refer to Appendix C of the JTAPI Programmer's Guide.
MdAyub
Joined: Nov 19, 2013
Messages: 17
Offline
Thanks for response Shantanu, As mentioned in the above section I'm already having connectionEstablished(CallControlConnectionEvent) & terminalConnectionTalking(CallControlTerminalConnectionEvent) events, do you mean to say whenever I'll unhold the call, these two methods will get called simultaneously?

Thanks,
Ars
ShantanuJoshi
Joined: Dec 12, 2013
Messages: 21
Offline
Yes, those two events should get called when you unhold the call. The order of the methods is not fixed, they can be caleld in any order.
MdAyub
Joined: Nov 19, 2013
Messages: 17
Offline
Thanks Shantanu, Have programmed to handle the case. :)
Go to:   
Mobile view