Hi All,
I want to ask some questions about asterisk jtapi connections. First of all
i am trying to use asterisk-java-0.2.jar library to use jtapi
implementation, but i can't connect to asterisk server via
DefaultManagerConnection login method;
DefaultManagerConnection con = new
DefaultManagerConnection("172.20.165.82", 5038, "admin", "root01");
//con.setDefaultResponseTimeout(10000);
con.login();
I am getting "Timeout waiting for response to Challenge" error message on
console, and getting "2012-07-02 16:07:55,756 ERROR
[DefaultManagerConnection] Unable to retrieve internalActionId from
response: actionId 'null':
net.sf.asterisk.manager.response.ChallengeResponse: actionId='null';
message='null'; response='Success'; uniqueId='null';
systemHashcode=8694729" error message on client side.
I analyze the communication between the server and client via WireShark and
all things are same with jars.
On the other hand i can login to asterisk server via asterisk-java-0.3.jar
properly. I am trying to find differences between the jar files, but i
can't find anything which is important. So i need your help to use jtapi.
My asterisk server version is --> 1.8.7
Best regards.
|