Re: AW: JTAPI-INTEREST Digest - 23 Sep 2005 to 27 Sep 2005 (#2005-78)
Ana Soares <[email protected]> Fri, 30 Sep 2005 09:21:55 +0100
| Newsgroups | gmane.comp.java.sun.jtapi |
|---|---|
| Message-ID | <[email protected]> |
Hi Stefan I already fix the error, and now I can tranfer the call. Than you Ana On 9/28/05, STEINER Stephan <[email protected]> wrote: > > Hi > > >TerminalConnection tc = term.getTerminalConnections()[0]; > >Connection con = tc.getConnection(); > >CallControlCall callControlCall = (CallControlCall)con.getCall(); > > >CiscoTerminalConnection incomingTC = (CiscoTerminalConnection)tc; > >incomingTC.answer(); > > >callControlCall.setTransferEnable(true); > >if(callControlCall.getState() == CallControlCall.ACTIVE){ > > if(tc.getState() == TerminalConnection.ACTIVE){ > > callControlCall.transfer(user.getExtension()); > > } > >} > > What error message are you getting? Also, I don't see you setting a > transfercontroller. I've found that it's not always necessary, but I > suppose > it's good practice to always do it as sometimes the transfer will not > succeed without you setting it. > > Regards > Stephan > > > =========================================================================== > 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".