Package com.twilio.twiml.voice
Class Sip
- java.lang.Object
-
- com.twilio.twiml.TwiML
-
- com.twilio.twiml.voice.Sip
-
public class Sip extends TwiML
TwiML wrapper for<Sip>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSip.BuilderCreate a new<Sip>elementstatic classSip.Event
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAmdStatusCallback()The URL we should call to send amd status information to your applicationHttpMethodgetAmdStatusCallbackMethod()HTTP Method to use with amd_status_callbackStringgetMachineDetection()Enable machine detection or end of greeting detectionIntegergetMachineDetectionSilenceTimeout()Number of milliseconds of initial silenceIntegergetMachineDetectionSpeechEndThreshold()Number of milliseconds of silence after speech activityIntegergetMachineDetectionSpeechThreshold()Number of milliseconds for measuring stick for the length of the speech activityIntegergetMachineDetectionTimeout()Number of seconds to wait for machine detectionHttpMethodgetMethod()Action URL methodStringgetPassword()SIP PasswordURIgetSipUrl()SIP URLURIgetStatusCallback()Status callback URLList<Sip.Event>getStatusCallbackEvents()Status callback eventsHttpMethodgetStatusCallbackMethod()Status callback URL methodURIgetUrl()Action URLStringgetUsername()SIP Username-
Methods inherited from class com.twilio.twiml.TwiML
equals, getChildren, getOptions, getTagName, hashCode, toUrl, toXml
-
-
-
-
Method Detail
-
getUsername
public String getUsername()
SIP Username- Returns:
- SIP Username
-
getPassword
public String getPassword()
SIP Password- Returns:
- SIP Password
-
getUrl
public URI getUrl()
Action URL- Returns:
- Action URL
-
getMethod
public HttpMethod getMethod()
Action URL method- Returns:
- Action URL method
-
getStatusCallbackEvents
public List<Sip.Event> getStatusCallbackEvents()
Status callback events- Returns:
- Status callback events
-
getStatusCallback
public URI getStatusCallback()
Status callback URL- Returns:
- Status callback URL
-
getStatusCallbackMethod
public HttpMethod getStatusCallbackMethod()
Status callback URL method- Returns:
- Status callback URL method
-
getMachineDetection
public String getMachineDetection()
Enable machine detection or end of greeting detection- Returns:
- Enable machine detection or end of greeting detection
-
getAmdStatusCallbackMethod
public HttpMethod getAmdStatusCallbackMethod()
HTTP Method to use with amd_status_callback- Returns:
- HTTP Method to use with amd_status_callback
-
getAmdStatusCallback
public String getAmdStatusCallback()
The URL we should call to send amd status information to your application- Returns:
- The URL we should call to send amd status information to your application
-
getMachineDetectionTimeout
public Integer getMachineDetectionTimeout()
Number of seconds to wait for machine detection- Returns:
- Number of seconds to wait for machine detection
-
getMachineDetectionSpeechThreshold
public Integer getMachineDetectionSpeechThreshold()
Number of milliseconds for measuring stick for the length of the speech activity- Returns:
- Number of milliseconds for measuring stick for the length of the speech activity
-
getMachineDetectionSpeechEndThreshold
public Integer getMachineDetectionSpeechEndThreshold()
Number of milliseconds of silence after speech activity- Returns:
- Number of milliseconds of silence after speech activity
-
getMachineDetectionSilenceTimeout
public Integer getMachineDetectionSilenceTimeout()
Number of milliseconds of initial silence- Returns:
- Number of milliseconds of initial silence
-
getSipUrl
public URI getSipUrl()
SIP URL- Returns:
- SIP URL
-
-