C# 클래스 SIPSorcery.AppServer.DialPlan.GoogleVoiceCall

파일 보기 프로젝트 열기: sipsorcery/sipsorcery 1 사용 예제들

공개 메소드들

메소드 설명
ClientCallTerminated ( CallCancelCause cancelCause ) : void
GoogleVoiceCall ( SIPTransport sipTransport, ISIPCallManager callManager, SIPMonitorLogDelegate logDelegate, string username, string adminMemberId, SIPEndPoint outboundProxy ) : System
InitiateCall ( string emailAddress, string password, string forwardingNumber, string destinationNumber, string fromUserRegexMatch, int phoneType, int waitForCallbackTimeout, string contentType, string body ) : SIPDialogue

Initiates a Google Voice callback by sending 3 HTTP requests and then waiting for the incoming SIP call.

비공개 메소드들

메소드 설명
CancelCall ( ) : void
Login ( string emailAddress, string password ) : string
MatchIncomingCall ( ISIPServerUserAgent incomingCall ) : bool
SendCallRequest ( string forwardingNumber, string destinationNumber, int phoneType, int waitForCallbackTimeout, string contentType, string body ) : SIPDialogue

메소드 상세

ClientCallTerminated() 공개 메소드

public ClientCallTerminated ( CallCancelCause cancelCause ) : void
cancelCause CallCancelCause
리턴 void

GoogleVoiceCall() 공개 메소드

public GoogleVoiceCall ( SIPTransport sipTransport, ISIPCallManager callManager, SIPMonitorLogDelegate logDelegate, string username, string adminMemberId, SIPEndPoint outboundProxy ) : System
sipTransport SIPSorcery.SIP.SIPTransport
callManager ISIPCallManager
logDelegate SIPMonitorLogDelegate
username string
adminMemberId string
outboundProxy SIPSorcery.SIP.SIPEndPoint
리턴 System

InitiateCall() 공개 메소드

Initiates a Google Voice callback by sending 3 HTTP requests and then waiting for the incoming SIP call.
public InitiateCall ( string emailAddress, string password, string forwardingNumber, string destinationNumber, string fromUserRegexMatch, int phoneType, int waitForCallbackTimeout, string contentType, string body ) : SIPDialogue
emailAddress string The Google Voice email address to login with.
password string The Google Voice password to login with.
forwardingNumber string The number to request Google Voice to do the intial callback on.
destinationNumber string The number to request Google Voice to dial out on. This is what Google will attempt to /// call once the callback on the forwardingNumber is answered.
fromUserRegexMatch string
phoneType int
waitForCallbackTimeout int
contentType string The content type of the SIP call into sipsorcery that created the Google Voice call. It is /// what will be sent in the Ok response to the initial incoming callback.
body string The content of the SIP call into sipsorcery that created the Google Voice call. It is /// what will be sent in the Ok response to the initial incoming callback.
리턴 SIPSorcery.SIP.SIPDialogue