Class Number


  • public class Number
    extends TwiML
    TwiML wrapper for <Number>
    • Method Detail

      • getSendDigits

        public String getSendDigits()
        DTMF tones to play when the call is answered
        Returns:
        DTMF tones to play when the call is answered
      • getUrl

        public URI getUrl()
        TwiML URL
        Returns:
        TwiML URL
      • getMethod

        public HttpMethod getMethod()
        TwiML URL method
        Returns:
        TwiML URL method
      • getStatusCallbackEvents

        public List<Number.Event> getStatusCallbackEvents()
        Events to call status callback
        Returns:
        Events to call status callback
      • getStatusCallback

        public URI getStatusCallback()
        Status callback URL
        Returns:
        Status callback URL
      • getStatusCallbackMethod

        public HttpMethod getStatusCallbackMethod()
        Status callback URL method
        Returns:
        Status callback URL method
      • getByoc

        public String getByoc()
        BYOC trunk SID (Beta)
        Returns:
        BYOC trunk SID (Beta)
      • 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
      • getPhoneNumber

        public PhoneNumber getPhoneNumber()
        Phone Number to dial
        Returns:
        Phone Number to dial