C# Класс Queue_Demo.Controllers.CallController

Наследование: Twilio.TwiML.Mvc.TwilioController
Показать файл Открыть проект

Открытые методы

Метод Описание
Connect ( ) : System.Web.Mvc.ActionResult
Dial ( ) : System.Web.Mvc.ActionResult

Action Method that returns the TwiML needed to connect an 'Agent' to the first call in the Queue

This method also includes the 'url' parameter in the generated TwiML. This allows you to provide a URL that can return TwiML that will be executed to the dequeued caller as a Whisper

LeaveQueue ( string QueueSid ) : System.Web.Mvc.ActionResult
QueueCall ( ) : System.Web.Mvc.ActionResult
WaitInQueue ( string CurrentQueueSize, string QueuePosition ) : System.Web.Mvc.ActionResult

Описание методов

Connect() публичный Метод

public Connect ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

Dial() публичный Метод

Action Method that returns the TwiML needed to connect an 'Agent' to the first call in the Queue
This method also includes the 'url' parameter in the generated TwiML. This allows you to provide a URL that can return TwiML that will be executed to the dequeued caller as a Whisper
public Dial ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

LeaveQueue() публичный Метод

public LeaveQueue ( string QueueSid ) : System.Web.Mvc.ActionResult
QueueSid string
Результат System.Web.Mvc.ActionResult

QueueCall() публичный Метод

public QueueCall ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

WaitInQueue() публичный Метод

public WaitInQueue ( string CurrentQueueSize, string QueuePosition ) : System.Web.Mvc.ActionResult
CurrentQueueSize string
QueuePosition string
Результат System.Web.Mvc.ActionResult