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
------------------------------------------------------------------------------
_______________________________________________
Asterisk-java-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/asterisk-java-users

Reply via email to