C# Class SIPSorcery.SIP.App.SIPRegistrationUserAgent

Show file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
UserAgent string

Public Methods

Method Description
SIPRegistrationUserAgent ( SIPTransport sipTransport, SIPEndPoint outboundProxy, SIPEndPoint localEndPoint, SIPURI sipAccountAOR, string authUsername, string password, string realm, string registrarHost, SIPURI contactURI, int expiry, string owner, string adminMemberID, SIPMonitorLogDelegate logDelegate ) : System
Start ( ) : void
StartRegistration ( ) : void
Stop ( ) : void

Private Methods

Method Description
AuthResponseReceived ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPTransaction sipTransaction, SIPResponse sipResponse ) : void

The event handler for responses to the authenticated register request.

GetAuthenticatedRegistrationRequest ( SIPRequest registerRequest, SIPResponse sipResponse ) : SIPRequest
GetRegistrationRequest ( SIPEndPoint localSIPEndPoint ) : SIPRequest
GetUpdatedExpiry ( SIPResponse sipResponse ) : int
GetUpdatedExpiryForIntervalTooBrief ( SIPResponse sipResponse ) : int
RegistrationTimedOut ( SIPTransaction sipTransaction ) : void
SendInitialRegister ( ) : void
ServerResponseReceived ( SIPEndPoint localSIPEndPoint, SIPEndPoint remoteEndPoint, SIPTransaction sipTransaction, SIPResponse sipResponse ) : void

The event handler for responses to the initial register request.

Method Details

SIPRegistrationUserAgent() public method

public SIPRegistrationUserAgent ( SIPTransport sipTransport, SIPEndPoint outboundProxy, SIPEndPoint localEndPoint, SIPURI sipAccountAOR, string authUsername, string password, string realm, string registrarHost, SIPURI contactURI, int expiry, string owner, string adminMemberID, SIPMonitorLogDelegate logDelegate ) : System
sipTransport SIPSorcery.SIP.SIPTransport
outboundProxy SIPSorcery.SIP.SIPEndPoint
localEndPoint SIPSorcery.SIP.SIPEndPoint
sipAccountAOR SIPSorcery.SIP.SIPURI
authUsername string
password string
realm string
registrarHost string
contactURI SIPSorcery.SIP.SIPURI
expiry int
owner string
adminMemberID string
logDelegate SIPMonitorLogDelegate
return System

Start() public method

public Start ( ) : void
return void

StartRegistration() public method

public StartRegistration ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

UserAgent public property

public string UserAgent
return string