Hello
I am trying to use CSTA Routeing services. I use cmapijava-sdk-6.1. Unfortunately I didn't find any routeing services usage examples. And no information on forum.
Now during registering routeing I get error: ch.ecma.csta.errors.InvalidParameterValueException
Can you please say what am I doing wrong?
In general code is:
routeingServices = (RouteingServices) provider.getService(ch.ecma.csta.routeing.Routeing Services.class.getName());
RouteRegister routeRegister = new RouteRegister();
routeRegister.setRouteingDevice(deviceID);
RouteRegisterResponse routeRegisterResponse = routeingServices.routeRegister(routeRegister);
DeviceID: [2425:KJCACM:10.244.241.30:0]
where 2425 is my phone extension number, KJCACM is name of our call server, 10.244.241.30 - IP address of call server.
On routeingServices.routeRegister(routeRegister); I get the following error:
WARNING: Received an unexpected Exception 1
ch.ecma.csta.errors.InvalidParameterValueException
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at com.avaya.mvcs.proxy.ClientNegAckToException.conve rtErrorToException(ClientNegAckToException.java:10 5)
at com.avaya.mvcs.proxy.XmlGatewayClient.handleReques t(XmlGatewayClient.java:233)
at com.avaya.mvcs.proxy.Pipeline.handleRequest(Pipeli ne.java:346)
at com.avaya.mvcs.proxy.ClientProxy.routeRequest(Clie ntProxy.java:612)
at com.avaya.mvap.svcproxy.ServiceProxy.marshallReque st(ServiceProxy.java:106)
at com.avaya.mvap.svcproxy.RouteingServicesProxy.rout eRegister(RouteingServicesProxy.java:82)
Can you please say what is wrong in my action.
I am trying to use CSTA Routeing services. I use cmapijava-sdk-6.1. Unfortunately I didn't find any routeing services usage examples. And no information on forum.
Now during registering routeing I get error: ch.ecma.csta.errors.InvalidParameterValueException
Can you please say what am I doing wrong?
In general code is:
routeingServices = (RouteingServices) provider.getService(ch.ecma.csta.routeing.Routeing Services.class.getName());
RouteRegister routeRegister = new RouteRegister();
routeRegister.setRouteingDevice(deviceID);
RouteRegisterResponse routeRegisterResponse = routeingServices.routeRegister(routeRegister);
DeviceID: [2425:KJCACM:10.244.241.30:0]
where 2425 is my phone extension number, KJCACM is name of our call server, 10.244.241.30 - IP address of call server.
On routeingServices.routeRegister(routeRegister); I get the following error:
WARNING: Received an unexpected Exception 1
ch.ecma.csta.errors.InvalidParameterValueException
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at com.avaya.mvcs.proxy.ClientNegAckToException.conve rtErrorToException(ClientNegAckToException.java:10 5)
at com.avaya.mvcs.proxy.XmlGatewayClient.handleReques t(XmlGatewayClient.java:233)
at com.avaya.mvcs.proxy.Pipeline.handleRequest(Pipeli ne.java:346)
at com.avaya.mvcs.proxy.ClientProxy.routeRequest(Clie ntProxy.java:612)
at com.avaya.mvap.svcproxy.ServiceProxy.marshallReque st(ServiceProxy.java:106)
at com.avaya.mvap.svcproxy.RouteingServicesProxy.rout eRegister(RouteingServicesProxy.java:82)
Can you please say what is wrong in my action.