C# Class SIPSorcery.SoftPhone.GingleClient

Inheritance: IVoIPClient
Afficher le fichier Open project: sipsorcery/sipsorcery Class Usage Examples

Méthodes publiques

Méthode Description
Answer ( ) : void
Answer ( MediaManager mediaManager ) : void
Call ( MediaManager mediaManager, string destination ) : void

Attempts to establish a new VoIP call via the Google Voice gateway.

Call ( string destination ) : void

Attempts to establish a new VoIP call via the Google Voice gateway.

Cancel ( ) : void

Cancel an outgoing Google Voice call that is in progress.

GingleClient ( ) : System
Hangup ( ) : void

Hangup the Google Voice call.

Redirect ( string destination ) : void
Reject ( ) : void
Shutdown ( ) : void

Close down the XMPP client completely along with the audio channel if it's open. This typically happens when the application is exiting.

Private Methods

Méthode Description
BindClient ( ) : void

Establishes the XMPP connection with the Google Voice gateway. Once the connection is bound it can be used to establish calls over.

CallFinished ( ) : void

The Google Voice call has completely finished and it's now safe to shutdown the audio channel.

XMPPAnswered ( SDP xmppSDP ) : void

Event handler for an answer on an outgoing Google Voice call.

XMPPCallFailed ( ) : void

The outgoing Google Voice call failed.

XMPPDisconnected ( ) : void

The XMPP connection was disconnected.

Method Details

Answer() public méthode

public Answer ( ) : void
Résultat void

Answer() public méthode

public Answer ( MediaManager mediaManager ) : void
mediaManager MediaManager
Résultat void

Call() public méthode

Attempts to establish a new VoIP call via the Google Voice gateway.
public Call ( MediaManager mediaManager, string destination ) : void
mediaManager MediaManager
destination string The destination number to call.
Résultat void

Call() public méthode

Attempts to establish a new VoIP call via the Google Voice gateway.
public Call ( string destination ) : void
destination string The destination number to call.
Résultat void

Cancel() public méthode

Cancel an outgoing Google Voice call that is in progress.
public Cancel ( ) : void
Résultat void

GingleClient() public méthode

public GingleClient ( ) : System
Résultat System

Hangup() public méthode

Hangup the Google Voice call.
public Hangup ( ) : void
Résultat void

Redirect() public méthode

public Redirect ( string destination ) : void
destination string
Résultat void

Reject() public méthode

public Reject ( ) : void
Résultat void

Shutdown() public méthode

Close down the XMPP client completely along with the audio channel if it's open. This typically happens when the application is exiting.
public Shutdown ( ) : void
Résultat void