Hi Robert,
this warining is not important:
*Unsupported protocol version 'Asterisk Call Manager/2.9.0'. Use at your
own risk.*
if you need any property of any event you should implement it by yourself
otherwise the warning (*Unable to set property*) is not important.
for example if you need eventlist on Agents Complete Event you should edit
AgentCompleteEvent.java and add eventlist as a property like this:
public class AgentCompleteEvent extends AbstractAgentEvent
{
/**
* Serial version identifier.
*/
private static final long serialVersionUID = 2108033737226142194L;
private Long holdTime;
private Long talkTime;
private String reason;
private String eventlist;
public String getEventlist() {
return eventlist;
}
public void setEventlist(String eventlist) {
this.eventlist = eventlist;
}
you could create asterisk.java with maven after updating source files
On Fri, Sep 8, 2017 at 4:11 PM, Robert Samuel via Asterisk-java-users <
asterisk-java-users@lists.sourceforge.net> wrote:
> Hello
>
>
> I am new to Asterisk.
>
> In our project we will use Asterisk 13.13.
>
>
> I want to use the Java API for the AMI (https://github.com/asterisk-
> java/asterisk-java)
> I am testing with the latest final version available in Maven Central:
> org.asteriskjava:asterisk-java:1.0.0-final
>
> When following the tutorial http://asterisk-java.org/tutorial/ I get the
> following warnings:
>
>
> * Unsupported protocol version 'Asterisk Call Manager/2.9.0'. Use at your
> own risk.
>
> * Unable to set property 'eventlist' to 'Complete' on
> org.asteriskjava.manager.event.AgentsCompleteEvent: no setter. Please
> report at http://jira.reucon.org/browse/AJ
>
> (and other similar logs)
>
>
>
> The project does not seem to be very active. The version 2.0.0 is
> mentioned in the documentation but not available in Maven Central
> repository.
>
>
> Is there a new library/project for the recent versions of Asterisk?
>
>
> Thanks
>
> Samuel Robert
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Asterisk-java-users mailing list
> Asterisk-java-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Asterisk-java-users mailing list
Asterisk-java-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/asterisk-java-users