C# Class Queue_Demo.Controllers.CallController

Inheritance: Twilio.TwiML.Mvc.TwilioController
Afficher le fichier Open project: devinrader/Queue-Demo

Méthodes publiques

Méthode Description
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

Method Details

Connect() public méthode

public Connect ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

Dial() public méthode

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
Résultat System.Web.Mvc.ActionResult

LeaveQueue() public méthode

public LeaveQueue ( string QueueSid ) : System.Web.Mvc.ActionResult
QueueSid string
Résultat System.Web.Mvc.ActionResult

QueueCall() public méthode

public QueueCall ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

WaitInQueue() public méthode

public WaitInQueue ( string CurrentQueueSize, string QueuePosition ) : System.Web.Mvc.ActionResult
CurrentQueueSize string
QueuePosition string
Résultat System.Web.Mvc.ActionResult