Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@
* @version $Id$
*/
public abstract class AbstractMeetMeEvent extends ManagerEvent {
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 2L;
private String channel;
private String uniqueId;
private String meetMe;
private Integer user;
private String language;
private String accountCode;
private String linkedId;

/**
* @param source
Expand Down Expand Up @@ -143,4 +146,44 @@ public Integer getUser() {
public void setUser(Integer userNum) {
this.user = userNum;
}

/**
* Get the account code associated with the current channel.
*
* @return the channel's account code
*/
public String getAccountCode() {
return accountCode;
}

public void setAccountCode(String accountCode) {
this.accountCode = accountCode;
}

/**
* Get the language associated with the current channel.
*
* @return the channel's language
*/
public String getLanguage() {
return language;
}

public void setLanguage(String language) {
this.language = language;
}

/**
* Get the linked ID of the channel, which ties this event to other related
* channel's events.
*
* @return the channel's linked ID
*/
public String getLinkedId() {
return linkedId;
}

public void setLinkedId(String linkedId) {
this.linkedId = linkedId;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,24 @@ public class DAHDIChannelEvent extends ManagerEvent {
/**
*
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 2L;

private Integer dahdigroup;
private String dahdichannel;
private String dahdispan;
private String uniqueid;
private String channel;
private String language;
private String accountCode;
private String linkedId;

public Integer getDahdigroup() {
return this.dahdigroup;
}

public void setDahdigroup(Integer dahdigroup) {
this.dahdigroup = dahdigroup;
}

public String getDahdichannel() {
return dahdichannel;
Expand Down Expand Up @@ -46,6 +59,30 @@ public void setChannel(String channel) {
this.channel = channel;
}

public String getLinkedId() {
return this.linkedId;
}

public void setLinkedId(String linkedid) {
this.linkedId = linkedid;
}

public String getLanguage() {
return this.language;
}

public void setLanguage(String language) {
this.language = language;
}

public String getAccountCode() {
return this.accountCode;
}

public void setAccountCode(String accountcode) {
this.accountCode = accountcode;
}

public DAHDIChannelEvent(Object source) {
super(source);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ public class MeetMeMuteEvent extends AbstractMeetMeEvent {
/**
* Serializable version identifier.
*/
private static final long serialVersionUID = -8554403451985143184L;
private static final long serialVersionUID = 1664651272460031885L;

private Integer duration;
private Boolean status;

/**
Expand All @@ -40,6 +41,19 @@ public MeetMeMuteEvent(Object source) {
super(source);
}

/**
* Returns how long the user has been in the conference.
*
* @return the duration, in seconds, the user has been in the conference
*/
public Integer getDuration() {
return duration;
}

public void setDuration(Integer duration) {
this.duration = duration;
}

/**
* Returns whether the user was muted or unmuted.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,28 @@ public class MeetMeTalkingEvent extends AbstractMeetMeEvent {
/**
* Serializable version identifier.
*/
private static final long serialVersionUID = -8554403451985143184L;
private static final long serialVersionUID = -1749014689947720722L;

private Integer duration;
protected Boolean status = Boolean.TRUE;

public MeetMeTalkingEvent(Object source) {
super(source);
}

/**
* Returns how long the user has been in the conference.
*
* @return the duration, in seconds, the user has been in the conference
*/
public Integer getDuration() {
return duration;
}

public void setDuration(Integer duration) {
this.duration = duration;
}

/**
* Returns whether the user has started or stopped talking.<p>
* Until Asterisk 1.2 Asterisk used different events to indicate start
Expand Down