Update of /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/event
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27194/src/java/net/sf/asterisk/manager/event
Modified Files:
StatusEvent.java
Log Message:
Added callerIdName property that is contained in Asterisk from CVS HEAD
Index: StatusEvent.java
===================================================================
RCS file: /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/event/StatusEvent.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -p -r1.2 -r1.3
--- StatusEvent.java 23 Feb 2005 22:50:58 -0000 1.2
+++ StatusEvent.java 16 Mar 2005 09:49:49 -0000 1.3
@@ -32,6 +32,7 @@ public class StatusEvent extends Respons
private static final long serialVersionUID = -3619197512835308812L;
private String channel;
private String callerId;
+ private String callerIdName;
private String account;
private String state;
private String context;
@@ -66,7 +67,7 @@ public class StatusEvent extends Respons
}
/**
- * Returns the caller id of this channel.
+ * Returns the Caller*ID of this channel.
*/
public String getCallerId()
{
@@ -74,7 +75,7 @@ public class StatusEvent extends Respons
}
/**
- * Sets the caller id of this channel.
+ * Sets the Caller*ID of this channel.
*/
public void setCallerId(String callerId)
{
@@ -82,6 +83,22 @@ public class StatusEvent extends Respons
}
/**
+ * Returns the Caller*ID Name of this channel.
+ */
+ public String getCallerIdName()
+ {
+ return callerIdName;
+ }
+
+ /**
+ * Sets the Caller*ID Name of this channel.
+ */
+ public void setCallerIdName(String callerIdName)
+ {
+ this.callerIdName = callerIdName;
+ }
+
+ /**
* Returns the account code of this channel.
*/
public String getAccount()
|