C# 클래스 Queue_Demo.Controllers.CallController

상속: Twilio.TwiML.Mvc.TwilioController
파일 보기 프로젝트 열기: devinrader/Queue-Demo

공개 메소드들

메소드 설명
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