Exemplo n.º 1
0
 public async Task <HttpResponseMessage> ProcessCallingEventAsync()
 {
     return(await CallingConversation.SendAsync(this.Request, CallRequestType.CallingEvent));
 }
Exemplo n.º 2
0
 public async Task <HttpResponseMessage> ProcessIncomingCallAsync()
 {
     return(await CallingConversation.SendAsync(this.Request, CallRequestType.IncomingCall));
 }
Exemplo n.º 3
0
 public CallingController()
     : base()
 {
     CallingConversation.RegisterCallingBot(c => new ClearComCallingBot(c));
 }
Exemplo n.º 4
0
 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));
 }
Exemplo n.º 6
0
 public CallingControllerBase(IDialog <object> rootDialog)
 {
     CallingConversation.RegisterCallingBot(c => new CallingBot(c, rootDialog));
 }
Exemplo n.º 7
0
 public async Task <IActionResult> ProcessIncomingCallAsync()
 {
     return(await CallingConversation.SendAsync(Request, CallRequestType.IncomingCall));
 }
Exemplo n.º 8
0
 public async Task <IActionResult> ProcessCallingEventAsync()
 {
     return(await CallingConversation.SendAsync(Request, CallRequestType.CallingEvent));
 }
Exemplo n.º 9
0
 public CallingController()
     : base()
 {
     CallingConversation.RegisterCallingBot(c => new SimpleIVRBot(c));
 }