C# Класс SipSharp.Servers.Agent.UserAgentClient

Показать файл Открыть проект

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

Метод Описание
UserAgentClient ( ) : System

Защищенные методы

Метод Описание
CreateRandomString ( ) : string
CreateRandomString ( int length ) : string
GetNextSequenceNumber ( ) : int

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

Метод Описание
CreateRequest ( string method, Contact from, Contact to ) : IRequest

Create a request

A valid SIP request formulated by a UAC MUST, at a minimum, contain the following header fields: To, From, CSeq, Call-ID, Max-Forwards, and Via; all of these header fields are mandatory in all SIP requests. These six header fields are the fundamental building blocks of a SIP message, as they jointly provide for most of the critical message routing services including the addressing of messages, the routing of responses, limiting message propagation, ordering of messages, and the unique identification of transactions. These header fields are in addition to the mandatory request line, which contains the method, Request-URI, and SIP version.

Examples of requests sent outside of a dialog include an INVITE to establish a session (RFC3261 - Section 13) and an OPTIONS to query for capabilities (RFC3261 - Section 11).

Read section 8.1.1 in RFC3261 for more information

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

CreateRandomString() защищенный Метод

protected CreateRandomString ( ) : string
Результат string

CreateRandomString() защищенный Метод

protected CreateRandomString ( int length ) : string
length int
Результат string

GetNextSequenceNumber() защищенный Метод

protected GetNextSequenceNumber ( ) : int
Результат int

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

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