[Asterisk-java-cvs] CVS: asterisk-java/src/net/sf/asterisk/manager/action OriginateAction.java,1.4,1
Brought to you by:
srt
|
From: Stefan R. <sr...@us...> - 2005-02-18 11:41:35
|
Update of /cvsroot/asterisk-java/asterisk-java/src/net/sf/asterisk/manager/action In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25452/src/net/sf/asterisk/manager/action Modified Files: OriginateAction.java Log Message: added attribute callingPres Index: OriginateAction.java =================================================================== RCS file: /cvsroot/asterisk-java/asterisk-java/src/net/sf/asterisk/manager/action/OriginateAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -p -r1.4 -r1.5 --- OriginateAction.java 29 Sep 2004 15:18:21 -0000 1.4 +++ OriginateAction.java 18 Feb 2005 11:41:26 -0000 1.5 @@ -40,6 +40,7 @@ public class OriginateAction extends Man private Integer priority; private Integer timeout; private String callerId; + private Boolean callingPres; private String variable; private String account; private String application; @@ -89,6 +90,22 @@ public class OriginateAction extends Man } /** + * Returns <code>true</code> if Caller ID presentation is set on the outgoing channel. + */ + public Boolean getCallingPres() + { + return callingPres; + } + + /** + * Set to <code>true</code> if you want Caller ID presentation to be set on the outgoing channel. + */ + public void setCallingPres(Boolean callingPres) + { + this.callingPres = callingPres; + } + + /** * Returns the name of the channel to connect to the outgoing call. */ public String getChannel() @@ -202,7 +219,8 @@ public class OriginateAction extends Man /** * Sets the timeout (in milliseconds) for the origination.<br> * The channel must be answered within this time, otherwise the origination - * is considered to have failed and an OriginateFailureEvent is generated. + * is considered to have failed and an OriginateFailureEvent is generated.<br> + * If not set, asterisk assumes a default value of 30000 meaning 30 seconds. */ public void setTimeout(Integer timeout) { |