Ejemplo 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 RecordActionServiceTests(MockHttpClientFixture mockHttpClientFixture)
            : base(mockHttpClientFixture)
        {
            this.service = new RecordActionService();

            this.createOptions = new RecordStartOptions()
            {
                ClientState = "aGF2ZSBhIG5pY2UgZGF5ID1d",
                CommandId   = new System.Guid("891510ac-f3e4-11e8-af5b-de00688a4901"),
                Channels    = RecordStartOptions.ChannelEnum.DualEnum,
                Format      = RecordStartOptions.FormatEnum.Mp3Enum,
                PlayBeep    = false,
            };

            this.options = new RecordActionOptions
            {
                ClientState = "aGF2ZSBhIG5pY2UgZGF5ID1d",
                CommandId   = new System.Guid("891510ac-f3e4-11e8-af5b-de00688a4901"),
            };
        }