Re: Incoming Call redirect or transfer
Stephan Steiner <[email protected]> Mon, 7 Mar 2005 00:27:53 -0700
| Newsgroups | gmane.comp.java.sun.jtapi |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Hi I'm afraid I don't have any sample code for you, but your scenario sounds like something for a RouteTerminal. Register a CTI Routepoint for routing facilities (you'll find an example in this very group, just look up the archive for February 05), then you'll be informed if the call is not taken, it comes back to your RP and you can route it to the next destination. If that for whatever reasons might not work out, you'll run into the "Cisco didn't implement" problem: you can make a call from your RP to the cellphone, then if that call is picked up, pick up the incoming call on the RP and connect the two together - only that Cisco apparently forgot to implement the transfer facilities, even though the RP, when queried, says it can transfer just fine (I hope somebody from Cisco is listening and puts that onto the todo list). In your case however, it's solvable as you only need one outgoing call at the same time. So, the working alternative is using a CTI Port, and upon getting the incoming call you make an outgoing one, start a timer, and after X seconds if the outgoing call hasn't been picked up, you discard it, make another call to the 2nd destination, and once that call has been picked up, you pick up the incoming call and transfer the two. CTI Ports, unlike CTI RPs actually have a working transfer. But if you ever want to call two destinations at the same time, you need the RP (or work with multiple CTI Ports which is about as ugly and error prone as it can get) and thus Cisco's cooperation to implement that missing feature into their JTAPI implementation. =========================================================================== 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".