public CallControlSpeakServiceTest(MockHttpClientFixture mockHttpClientFixture)
            : base(mockHttpClientFixture)
        {
            this.service = new CallControlSpeakService();

            this.createOptions = new CallControlSpeakOptions()
            {
                ClientState  = "aGF2ZSBhIG5pY2UgZGF5ID1d",
                CommandId    = new System.Guid("891510ac-f3e4-11e8-af5b-de00688a4901"),
                Payload      = "1www2WABCDw9",
                PayloadType  = "text",
                ServiceLevel = "premium",
                Stop         = "current",
                Voice        = "male",
                Language     = "en-US"
            };
        }
예제 #2
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();
 }