Re: Exception in Transfering a call

Richard Deadman <[email protected]> Mon, 25 Apr 2005 13:41:07 -0400
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <[email protected]>
Are you calling CallControlTerminalConnection.getCallControlState() or
TerminalConnection.getState()? The former should return HELD, if the provider suceeded in
holding the terminal connection, whereas the latter will return ACTIVE, since HELD is not
an option.

JTAPI defines CallControlTerminalConnection as a subinterface of TerminalConnection and
provides a different method for finding out the CallControl state. Applications that are
just accessing the object as a TerminalConnection and call "getState()" are expecting, and
should get, one of IDLE, RINGING, ACTIVE, PASSIVE, DROPPED, or UNKNOWN. According to the
JTAPI specification, CallControlTerminalConnection.HELD is mapped to
TerminalConnection.ACTIVE.


Richard

--
Richard Deadman
Deadman Consulting, Inc.
Web Services, Policy Management, Java Telephony, Software Architecture
mailto:[email protected]
http://www.deadman.ca
Office: 613-231-5112
Cell: 613-220-2469

On Apr 25, Kenny Wong <[email protected]> wrote:
>
> Richard,
> Can i know how do i set my TerminalConnection state to be on hold? I have
> tried using the ((CallCtlTerminalConnection)tc).hold() but the tc state is
> still ACTIVE.. Thanks a lot
>
> ===========================================================================
> To unsubscribe, send email to [email protected] and include in the body
> of the message "signoff JTAPI-INTEREST".  For general help, send email to
> [email protected] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JTAPI-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".