C# Class SIPSorcery.XMPP.XMPPPhoneSession

Show file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
Accepted Action
Hungup System.Action
Rejected System.Action

Protected Properties

Property Type Description
JabberClientNS System.Xml.Linq.XNamespace

Public Methods

Method Description
OnIQRequest ( System.Xml.Linq.XElement iq ) : void

Handler method for receiving iq requests from the remote server.

OnIQResponse ( string id, System.Xml.Linq.XElement iq ) : void

Handler method for receiving responses to iq stanzas initiated by us.

PlaceCall ( string destination, SDP sdp ) : void
RetargetCallMedia ( string ipAddress, int port ) : void
TerminateCall ( ) : void
XMPPPhoneSession ( string jid, XMPPAuthenticatedStream xmppStream ) : System

Private Methods

Method Description
SendCandidates ( ) : void

Method Details

OnIQRequest() public method

Handler method for receiving iq requests from the remote server.
public OnIQRequest ( System.Xml.Linq.XElement iq ) : void
iq System.Xml.Linq.XElement The iq stanza request received.
return void

OnIQResponse() public method

Handler method for receiving responses to iq stanzas initiated by us.
public OnIQResponse ( string id, System.Xml.Linq.XElement iq ) : void
id string The id of the original iq request.
iq System.Xml.Linq.XElement The iq response stanza.
return void

PlaceCall() public method

public PlaceCall ( string destination, SDP sdp ) : void
destination string
sdp SIPSorcery.Net.SDP
return void

RetargetCallMedia() public method

public RetargetCallMedia ( string ipAddress, int port ) : void
ipAddress string
port int
return void

TerminateCall() public method

public TerminateCall ( ) : void
return void

XMPPPhoneSession() public method

public XMPPPhoneSession ( string jid, XMPPAuthenticatedStream xmppStream ) : System
jid string
xmppStream XMPPAuthenticatedStream
return System

Property Details

Accepted public property

public Action Accepted
return Action

Hungup public property

public Action,System Hungup
return System.Action

JabberClientNS protected static property

protected static XNamespace,System.Xml.Linq JabberClientNS
return System.Xml.Linq.XNamespace

Rejected public property

public Action,System Rejected
return System.Action