Re: Exception in Transfering a call

"Potluri, Mohan" <[email protected]>
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <6677B3346233B94EBB11C0609351012009F66DE1@vtg-um-e2k1.sj21ad.cisco.com>
I prefer using consult and transfer API's to do transfer instead of
doing hold,connect and transfer. You may want to try consult and
transfer APIs.

-----Original Message-----
From: Discussion list for Java Telephony API
[mailto:[email protected]] On Behalf Of Kumkum Bagchi
Sent: Wednesday, March 02, 2005 9:55 AM
To: [email protected]
Subject: Re: [JTAPI] Exception in Transfering a call

Mohan - Thanks for your reply.

I have changed the code and it took care of "
com.cisco.jtapi.InvalidStateExceptionImpl: Unable to set
transferEnable."
Problem.  Now when I call
((CallControlCall)callNew).transfer(callOnTerminal);
I get "com.cisco.jtapi.InvalidStateExceptionImpl: Call state not valid"

I have checked the call states for both the call obj before invoking
transfer and they (both the calls) are in ACTIVE state. Any idea what
else
could be wrong?

Dose anyone have a working transfer code that I can refer to?

Thanks.

========================================================================
===
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".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.