[Asterisk-java-cvs] CVS: asterisk-java/src/java/net/sf/asterisk/manager/event ParkedCallEvent.java,1
Brought to you by:
srt
From: Stefan R. <sr...@us...> - 2005-08-27 04:04:43
|
Update of /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/event In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7244/src/java/net/sf/asterisk/manager/event Modified Files: ParkedCallEvent.java Log Message: Added callerIdName attribute Index: ParkedCallEvent.java =================================================================== RCS file: /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/event/ParkedCallEvent.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -p -r1.2 -r1.3 --- ParkedCallEvent.java 23 Feb 2005 22:50:58 -0000 1.2 +++ ParkedCallEvent.java 27 Aug 2005 04:04:29 -0000 1.3 @@ -17,12 +17,11 @@ package net.sf.asterisk.manager.event; /** - * A ParkedCallEvent is triggered when a channel is parked (in this case no action id is set) and in - * response to a ParkedCallsAction.<br> + * A ParkedCallEvent is triggered when a channel is parked (in this case no + * action id is set) and in response to a ParkedCallsAction.<br> * It is implemented in <code>res/res_features.c</code> * * @see net.sf.asterisk.manager.action.ParkedCallsAction - * * @author srt * @version $Id$ */ @@ -37,6 +36,7 @@ public class ParkedCallEvent extends Res private String from; private Integer timeout; private String callerId; + private String callerIdName; private String uniqueId; /** @@ -97,7 +97,8 @@ public class ParkedCallEvent extends Res /** * Returns the number of seconds this call will be parked.<br> - * This corresponds to the <code>parkingtime</code> option in <code>features.conf</code>. + * This corresponds to the <code>parkingtime</code> option in + * <code>features.conf</code>. */ public Integer getTimeout() { @@ -113,7 +114,8 @@ public class ParkedCallEvent extends Res } /** - * Returns the caller id of the parked channel. + * Returns the Caller*ID number of the parked channel. + * @return the Caller*ID number of the parked channel. */ public String getCallerId() { @@ -121,7 +123,8 @@ public class ParkedCallEvent extends Res } /** - * Sets the caller id of the parked channel. + * Sets the Caller*ID number of the parked channel. + * @param callerId the Caller*ID number of the parked channel. */ public void setCallerId(String callerId) { @@ -129,6 +132,28 @@ public class ParkedCallEvent extends Res } /** + * Returns the Caller*ID name of the parked channel. + * + * @return the Caller*ID name of the parked channel. + * @since 0.2 + */ + public String getCallerIdName() + { + return callerIdName; + } + + /** + * Sets the Caller*ID name of the parked channel. + * + * @param callerIdName the Caller*ID name of the parked channel. + * @since 0.2 + */ + public void setCallerIdName(String callerIdName) + { + this.callerIdName = callerIdName; + } + + /** * Returns the unique id of the parked channel. */ public String getUniqueId() |