C# Class SIPSorcery.SoftPhone.GingleClient

Inheritance: IVoIPClient
Mostra file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Methods

Method 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

Method 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 method

public Answer ( ) : void
return void

Answer() public method

public Answer ( MediaManager mediaManager ) : void
mediaManager MediaManager
return void

Call() public method

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.
return void

Call() public method

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

Cancel() public method

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

GingleClient() public method

public GingleClient ( ) : System
return System

Hangup() public method

Hangup the Google Voice call.
public Hangup ( ) : void
return void

Redirect() public method

public Redirect ( string destination ) : void
destination string
return void

Reject() public method

public Reject ( ) : void
return void

Shutdown() public method

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
return void