I'm trying to redirect calls from a VDN.
I setup a CallListener adapter to hear when calls come to the VDN. When my callActive method receive the notification, I consult in a Database and if exists I try redirect, taking the connection(CallControlConnection) and invoking redirect(newVdnAddress).
I received the next Exception:
2014-04-23 08:26:34,797 pool-4-thread-16 AvayaVdn [ERROR] CSTA Error: 12
com.avaya.jtapi.tsapi.TsapiPlatformException: CSTA Error: 12
at com.avaya.jtapi.tsapi.tsapiInterface.TSErrorMap.throwCSTAException(TSErrorMap.java:100)
at com.avaya.jtapi.tsapi.tsapiInterface.TsapiSession.send(TsapiSession.java:562)
at com.avaya.jtapi.tsapi.tsapiInterface.TsapiSession.send(TsapiSession.java:471)
at com.avaya.jtapi.tsapi.tsapiInterface.Tsapi.deflectCall(Tsapi.java:1419)
at com.avaya.jtapi.tsapi.impl.core.TSConnection.redirect(TSConnection.java:508)
at com.avaya.jtapi.tsapi.impl.TsapiConnection.redirect(TsapiConnection.java:297)
at com.ho1a.dao.AvayaVdn.callActive(AvayaVdn.java:114)
at com.avaya.jtapi.tsapi.impl.monitor.TsapiCallMonitor.deliverEventToCallback(TsapiCallMonitor.java:1732)
at com.avaya.jtapi.tsapi.impl.monitor.TsapiCallMonitor.deliverListenerEvents(TsapiCallMonitor.java:1719)
at com.avaya.jtapi.tsapi.impl.monitor.TsapiCallMonitor.run(TsapiCallMonitor.java:1699)
at com.avaya.jtapi.tsapi.impl.core.JtapiEventDeliveryThread.run(JtapiEventDeliveryThread.java:35)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thanks in advance
Felix Ayala
|