Hi Kubig,
I have put code something like this
Endpoint tserverEndpoint = new Endpoint("TServer","Hostname",3030);
TServerProtocol tserverProtocol = new TServerProtocol(tserverEndpoint);
tserverProtocol.open();
RequestRegisterAddress requestRegisterAddress = RequestRegisterAddress.create("DNRP1",RegisterMode.ModeShare,
ControlMode.RegisterDefault,AddressType.DN);
Message response = tserverProtocol.request(requestRegisterAddress);
RequestRegisterAddress requestRegisterAddress1 = RequestRegisterAddress.create("DNRP2",RegisterMode.ModeShare,
ControlMode.RegisterDefault,AddressType.DN);
Message response1 =tserverProtocol.request(requestRegisterAddress1);
RequestRegisterAddress requestRegisterAddress2 = RequestRegisterAddress.create("DNExtension",RegisterMode.ModeShare,
ControlMode.RegisterDefault,AddressType.DN);
Message response2 =tserverProtocol.request(requestRegisterAddress2);
RequestMakePredictiveCall requestMakePredictive = RequestMakePredictiveCall.create("DNRP1", "DNRP2", 60);
Message requestMakePredictive1 = tserverProtocol.request(requestMakePredictive);
When i am executing the request, am getting Invalid DN error.
and if I executes the request as
RequestMakePredictiveCall requestMakePredictive = RequestMakePredictiveCall.create("DNRP1", "DNExtension", 60);
Message requestMakePredictive1 = tserverProtocol.request(requestMakePredictive);
Call hits to extension. But I need to make the calls hit to Route point instead of Extension.
Can you check this and let me know what I missed here.
Thank You.