« Back to Cisco JTAPI Questions

Transfer rescinding / Transfer callback

Combination View Flat View Tree View
Threads [ Previous | Next ]
Does anyone know how to rescind a transfer, if the party, to which the call was transferred, does not answer? The call should go back to the party that transferred it.

If you are talking about blind transfer, use Redirect instead.  This method provides an option to control the behaviour on failure.  From the Developer Guide:
-------------
Applications choose the desired behavior, by passing one of the following INT parameters in the
overloaded redirect method from the CiscoConnection interface:
    Redirect drop on failure¿When a call is directed to a busy or an invalid destination, Cisco Unified
 ¿
    Communications Manager can either drop the call if the redirect fails or leave the call at the redirect
    controller. The JTAPI application can then take corrective action, such as redirecting the call to
    another destination. The option for the redirect mode parameter follow:
     ¿ CiscoConnection.REDIRECT_DROP_ON_FAILURE
     ¿ CiscoConnection.REDIRECT_NORMAL

Yep - this was a good tip. I read further in the manual and found, that even connections in state ESTABLISHED may be redirected. This means, that not only a blind transfer can be done, but also a transfer with a prior consultation call.
The interesting case however, if the transfer/redirect is successful, but after some time, nobody answers there, is not yet covered. But I think, the solution could be to observe the call on the returned connection. If the party to which the call was moved answers, some events are released and indicate success - or the timeout kicks in first, indicating that nobody answers. Thank you.