Class Sip


  • public class Sip
    extends TwiML
    TwiML wrapper for <Sip>
    • 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