Esempio n. 1
0
 public CallControlService()
 {
     this.callControlAnswerService           = new CallControlAnswerService();
     this.callControlDialService             = new CallControlDialService();
     this.callControlSpeakService            = new CallControlSpeakService();
     this.callControlBridgeService           = new CallControlBridgeService();
     this.callControlForkStartService        = new CallControlForkStartService();
     this.callControlForkStopService         = new CallControlForkStopService();
     this.callControlGatherUsingAudioService = new CallControlGatherUsingAudioService();
     this.callControlGatherUsingSpeakService = new CallControlGatherUsingSpeakService();
     this.callControlHangupService           = new CallControlHangupService();
     this.callControlPlaybackStartService    = new CallControlPlaybackStartService();
     this.callControlPlaybackStopService     = new CallControlPlaybackStopService();
     this.callControlRejectService           = new CallControlRejectService();
     this.callControlSendDTMFService         = new CallControlSendDTMFService();
     this.callControlTransferService         = new CallControlTransferService();
     this.gatherStopService    = new GatherStopService();
     this.recordActionService  = new RecordActionService();
     this.transcriptionService = new CallTranscriptionService();
 }
        public CallControlGatherUsingSpeakServiceTest(MockHttpClientFixture mockHttpClientFixture)
            : base(mockHttpClientFixture)
        {
            this.service = new CallControlGatherUsingSpeakService();

            this.createOptions = new CallControlGatherUsingSpeakCreateOptions()
            {
                ClientState             = "aGF2ZSBhIG5pY2UgZGF5ID1d",
                CommandId               = new System.Guid("891510ac-f3e4-11e8-af5b-de00688a4901"),
                Payload                 = "Say this on the call",
                InvalidPayload          = "Say this on the call",
                PayloadType             = "text",
                ServiceLevel            = "basic",
                Voice                   = "female",
                Language                = "en-US",
                InterDigitTimeoutMillis = 5000,
                MaximumDigits           = 128,
                MaximumTries            = 3,
                TimeoutMillis           = 60000,
                MinimumDigits           = 128,
                TerminatingDigit        = "#",
                ValidDigits             = "123"
            };
        }