public async Task <HttpResponseMessage> ProcessCallingEventAsync()
 {
     return(await CallingConversation.SendAsync(this.Request, CallRequestType.CallingEvent));
 }
 public async Task <HttpResponseMessage> ProcessIncomingCallAsync()
 {
     return(await CallingConversation.SendAsync(this.Request, CallRequestType.IncomingCall));
 }
 public CallingController()
     : base()
 {
     CallingConversation.RegisterCallingBot(c => new ClearComCallingBot(c));
 }
 public CallingController() : base()
 {
     CallingConversation.RegisterCallingBot(callingBotService => new IVRBot(callingBotService));
 }
 public async Task <HttpResponseMessage> ProcessIncomingCallAsync()
 {
     Trace.TraceInformation(DateTime.Now + " Call");
     return(await CallingConversation.SendAsync(this.Request, CallRequestType.IncomingCall));
 }
Beispiel #6
0
 public CallingControllerBase(IDialog <object> rootDialog)
 {
     CallingConversation.RegisterCallingBot(c => new CallingBot(c, rootDialog));
 }
Beispiel #7
0
 public async Task <IActionResult> ProcessIncomingCallAsync()
 {
     return(await CallingConversation.SendAsync(Request, CallRequestType.IncomingCall));
 }
Beispiel #8
0
 public async Task <IActionResult> ProcessCallingEventAsync()
 {
     return(await CallingConversation.SendAsync(Request, CallRequestType.CallingEvent));
 }
Beispiel #9
0
 public CallingController()
     : base()
 {
     CallingConversation.RegisterCallingBot(c => new SimpleIVRBot(c));
 }