Class Sip.Builder

    • Constructor Detail

      • Builder

        public Builder​(URI sipUrl)
        Create a <Sip> with sipUrl
      • Builder

        public Builder​(String sipUrl)
        Create a <Sip> with sipUrl
    • Method Detail

      • statusCallbackEvents

        public Sip.Builder statusCallbackEvents​(List<Sip.Event> statusCallbackEvent)
        Status callback events
      • statusCallbackEvents

        public Sip.Builder statusCallbackEvents​(Sip.Event statusCallbackEvent)
        Status callback events
      • statusCallback

        public Sip.Builder statusCallback​(URI statusCallback)
        Status callback URL
      • statusCallback

        public Sip.Builder statusCallback​(String statusCallback)
        Status callback URL
      • statusCallbackMethod

        public Sip.Builder statusCallbackMethod​(HttpMethod statusCallbackMethod)
        Status callback URL method
      • machineDetection

        public Sip.Builder machineDetection​(String machineDetection)
        Enable machine detection or end of greeting detection
      • amdStatusCallbackMethod

        public Sip.Builder amdStatusCallbackMethod​(HttpMethod amdStatusCallbackMethod)
        HTTP Method to use with amd_status_callback
      • amdStatusCallback

        public Sip.Builder amdStatusCallback​(String amdStatusCallback)
        The URL we should call to send amd status information to your application
      • machineDetectionTimeout

        public Sip.Builder machineDetectionTimeout​(Integer machineDetectionTimeout)
        Number of seconds to wait for machine detection
      • machineDetectionSpeechThreshold

        public Sip.Builder machineDetectionSpeechThreshold​(Integer machineDetectionSpeechThreshold)
        Number of milliseconds for measuring stick for the length of the speech activity
      • machineDetectionSpeechEndThreshold

        public Sip.Builder machineDetectionSpeechEndThreshold​(Integer machineDetectionSpeechEndThreshold)
        Number of milliseconds of silence after speech activity
      • machineDetectionSilenceTimeout

        public Sip.Builder machineDetectionSilenceTimeout​(Integer machineDetectionSilenceTimeout)
        Number of milliseconds of initial silence
      • build

        public Sip build()
        Create and return resulting <Sip> element