[Asterisk-java-users] Asterisk Java - Creating Instance of AsteriskServer via Manager API throws er
Brought to you by:
srt
From: $angaran <san...@gm...> - 2016-08-04 22:05:04
|
Hi All, I am trying to create the AstersikServer instance with the following code. AsteriskServer asteriskServer = new DefaultAsteriskServer(hostAddress, amiLogin, amiPassword); It throws an exception as follows java.lang.IllegalArgumentException: Parameters passed to AsteriskAgentImpl() must not be null. at org.asteriskjava.live.internal.AsteriskAgentImpl.<init>(AsteriskAgentImpl.java:39) at org.asteriskjava.live.internal.AgentManager.handleAgentsEvent(AgentManager.java:114) at org.asteriskjava.live.internal.AgentManager.initialize(AgentManager.java:93) at org.asteriskjava.live.internal.AsteriskServerImpl.initializeIfNeeded(AsteriskServerImpl.java:294) *Asterisk Version:* 11.17.1 *Asterisk Java Version:* 1.0.0.final Please let me know, whether this version is supported. If so, how to resolve the error. Thanks in Advance Sangaran |