C# Класс SIPSorcery.SoftPhone.SIPClient

Наследование: IVoIPClient
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Answer ( ) : void

Answers an incoming SIP call.

Answer ( MediaManager mediaManager ) : void

Answers an incoming SIP call.

Call ( MediaManager mediaManager, string destination ) : void

Places an outgoing SIP call.

Call ( string destination ) : void

Places an outgoing SIP call.

Cancel ( ) : void

Cancels an outgoing SIP call that hasn't yet been answered.

Hangup ( ) : void

Hangsup an established SIP call.

Redirect ( string destination ) : void

Redirects an incoming SIP call.

Reject ( ) : void

Rejects an incoming SIP call.

SIPClient ( ) : System
Shutdown ( ) : void

Shutdown the SIP tranpsort layer and any other resources the SIP client is using. Typically called when the application exits.

Приватные методы

Метод Описание
CallAnswered ( ISIPClientUserAgent uac, SIPResponse sipResponse ) : void

An outgoing call was successfully answered.

CallFailed ( ISIPClientUserAgent uac, string errorMessage ) : void

An outgoing call was rejected by the remote SIP UAS on an outgoing call.

CallFinished ( ) : void

Cleans up after a SIP call has completely finished.

CallRinging ( ISIPClientUserAgent uac, SIPResponse sipResponse ) : void

A ringing response has been received from the remote SIP UAS on an outgoing call.

CallTrying ( ISIPClientUserAgent uac, SIPResponse sipResponse ) : void

A trying response has been received from the remote SIP UAS on an outgoing call.

InitialiseSIP ( ) : void

Initialises the SIP transport layer.

SIPTransportRequestReceived ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPRequest sipRequest ) : void

Handler for processing incoming SIP requests.

UASCallCancelled ( ISIPServerUserAgent uas ) : void

An incoming call was cancelled by the caller.

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

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

Answers an incoming SIP call.
public Answer ( ) : void
Результат void

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

Answers an incoming SIP call.
public Answer ( MediaManager mediaManager ) : void
mediaManager MediaManager
Результат void

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

Places an outgoing SIP call.
public Call ( MediaManager mediaManager, string destination ) : void
mediaManager MediaManager
destination string The SIP URI to place a call to. The destination can be a full SIP URI in which case the all will /// be placed anonymously directly to that URI. Alternatively it can be just the user portion of a URI in which case it will /// be sent to the configured SIP server.
Результат void

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

Places an outgoing SIP call.
public Call ( string destination ) : void
destination string The SIP URI to place a call to. The destination can be a full SIP URI in which case the all will /// be placed anonymously directly to that URI. Alternatively it can be just the user portion of a URI in which case it will /// be sent to the configured SIP server.
Результат void

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

Cancels an outgoing SIP call that hasn't yet been answered.
public Cancel ( ) : void
Результат void

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

Hangsup an established SIP call.
public Hangup ( ) : void
Результат void

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

Redirects an incoming SIP call.
public Redirect ( string destination ) : void
destination string
Результат void

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

Rejects an incoming SIP call.
public Reject ( ) : void
Результат void

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

public SIPClient ( ) : System
Результат System

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

Shutdown the SIP tranpsort layer and any other resources the SIP client is using. Typically called when the application exits.
public Shutdown ( ) : void
Результат void