org.echarts.servlet.sip.features.click2DialFlow4
Class Click2DialFlow4Bean

java.lang.Object
  extended by org.echarts.servlet.sip.features.click2DialFlow4.Click2DialFlow4Bean

public class Click2DialFlow4Bean
extends java.lang.Object

Class representing a request to set up a call between two specified parties.


Constructor Summary
Click2DialFlow4Bean()
           
 
Method Summary
 boolean getEarlyMediaReinvite()
           
 java.lang.String getParty1()
           
 java.lang.String getParty2()
           
 int getTimeoutSec()
           
 java.lang.String getUid()
           
 void setEarlyMediaReinvite(boolean earlyMediaReinvite)
          Specifies whether or not the first party should receive a re-INVITE if the party returns an early media response.
 void setParty1(java.lang.String party1)
          Sets the address of the desired first party (String representation of SIP URI)
 void setParty2(java.lang.String party2)
          Sets the address of the desired second party (String representation of SIP URI)
 void setTimeoutSec(int timeoutSec)
          Sets an optional timeout in seconds for first party to answer.
 void setUid(java.lang.String uid)
          Set value of X-ECHARTS-UID header in INVITE to first party.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Click2DialFlow4Bean

public Click2DialFlow4Bean()
Method Detail

getParty1

public java.lang.String getParty1()
Returns:
first party address (SIP URI)

setParty1

public void setParty1(java.lang.String party1)
Sets the address of the desired first party (String representation of SIP URI)

Parameters:
party1 - SIP URI

getParty2

public java.lang.String getParty2()
Returns:
second party address (SIP URI)

setParty2

public void setParty2(java.lang.String party2)
Sets the address of the desired second party (String representation of SIP URI)

Parameters:
party2 - SIP URI

getTimeoutSec

public int getTimeoutSec()
Returns:
timeout value for first party to answer in seconds

setTimeoutSec

public void setTimeoutSec(int timeoutSec)
Sets an optional timeout in seconds for first party to answer. If no answer in the specified number of seconds, then the call will abort. Default: -1 (no timeout)

Parameters:
timeoutSec - timeout value in seconds (-1 for no timeout)

getEarlyMediaReinvite

public boolean getEarlyMediaReinvite()
Returns:
current setting of earlyMediaReinvite

setEarlyMediaReinvite

public void setEarlyMediaReinvite(boolean earlyMediaReinvite)
Specifies whether or not the first party should receive a re-INVITE if the party returns an early media response. Default: true.

Parameters:
earlyMediaReinvite -

setUid

public void setUid(java.lang.String uid)
Set value of X-ECHARTS-UID header in INVITE to first party. Default: null.

Parameters:
uid - X-ECHARTS-UID header value - should be unique

getUid

public java.lang.String getUid()
Returns:
value of uid

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object