Re: Exception in Transfering a call

Kenny Wong <[email protected]> Tue, 26 Apr 2005 01:47:01 +0800
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <[email protected]>
Hi Javier, 
Thanks for replying. actually, I wanted to place the terminal
connection of my call to be on hold. What happen was that when i check
the state of my terminal connection before I set it to be the transfer
controller, it return ACTIVE and I am trying to set it to be the HELD
state. I have tried the following:

TerminalConnection tc;

((CallCtlTerminalConnection)_tc).hold();

//then i did the test for the state of tc here...

I have consulted the API and found that even when
aCallCtlTerminalConnection is in HELD state, the corresponding
TerminalConnection is ACTIVE, is it true? Is there any way that i
could hold a call and force tc to the hold state.

On 4/26/05, Javier Estrada <[email protected]> wrote:
> Kenny,
> 
> The CallCtlTerminalConnection does not have a ACTIVE state...the Call
> does.  In order to place a CallCtlTerminalConnection on hold the current
> state must be TALKING--and the canHold member function must return true.
> 
> 
> -----Original Message-----
> From: Discussion list for Java Telephony API
> [mailto:[email protected]] On Behalf Of Kenny Wong
> Sent: Monday, April 25, 2005 7:25 AM
> To: [email protected]
> Subject: Re: [JTAPI] Exception in Transfering a call
> 
> 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".
>

===========================================================================
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".