C# Класс SIPSorcery.SIP.App.SIPCallDescriptor

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AccountCode string
AuthUsername string
CRMHeaders CRMHeaders
CallDirection SIPCallDirection
CallDurationLimit int
CallbackNumber string
CallbackPattern string
CallbackPhoneType int
Content string
ContentType string
CustomHeaders List
DelayMRE System.Threading.ManualResetEvent
DelaySeconds int
DialPlanContextID System.Guid
From string
FromDisplayName string
FromURIHost string
FromURIUsername string
IsGoogleVoiceCall bool
MangleIPAddress System.Net.IPAddress
MangleResponseSDP bool
Password string
ProxySendFrom string
RateCode string
RedirectMode SIPCallRedirectModesEnum
RequestCallerDetails bool
RouteSet string
SwitchboardHeaders SwitchboardHeaders
To string
ToSIPAccount SIPAccount
TransferMode SIPDialogueTransferModesEnum
Uri string
Username string

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

Метод Описание
CopyOf ( ) : SIPCallDescriptor
GetFromHeader ( ) : SIPFromHeader
ParseCallOptions ( string options ) : void
ParseCustomHeaders ( string customHeaders ) : List
SIPCallDescriptor ( SIPAccount toSIPAccount, string uri, string fromHeader, string contentType, string content ) : System

SIPCallDescriptor ( string username, string password, string uri, string callbackNumber, string callbackPattern, int callbackPhoneType, string content, string contentType, IPAddress mangleIPAddress ) : System
SIPCallDescriptor ( string username, string password, string uri, string from, string to, string routeSet, List customHeaders, string authUsername, SIPCallDirection callDirection, string contentType, string content, IPAddress mangleIPAddress ) : System
SetGeneralFromHeaderFields ( string fromDisplayName, string fromUsername, string fromHost ) : void

These setting do NOT override the ones from the call options.

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

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

public CopyOf ( ) : SIPCallDescriptor
Результат SIPCallDescriptor

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

public GetFromHeader ( ) : SIPFromHeader
Результат SIPFromHeader

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

public ParseCallOptions ( string options ) : void
options string
Результат void

ParseCustomHeaders() публичный статический Метод

public static ParseCustomHeaders ( string customHeaders ) : List
customHeaders string
Результат List

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

public SIPCallDescriptor ( SIPAccount toSIPAccount, string uri, string fromHeader, string contentType, string content ) : System
toSIPAccount SIPAccount
uri string The uri can be different to the to SIP account if a dotted notation is used. For /// example [email protected].
fromHeader string
contentType string
content string
Результат System

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

public SIPCallDescriptor ( string username, string password, string uri, string callbackNumber, string callbackPattern, int callbackPhoneType, string content, string contentType, IPAddress mangleIPAddress ) : System
username string
password string
uri string
callbackNumber string
callbackPattern string
callbackPhoneType int
content string
contentType string
mangleIPAddress System.Net.IPAddress
Результат System

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

public SIPCallDescriptor ( string username, string password, string uri, string from, string to, string routeSet, List customHeaders, string authUsername, SIPCallDirection callDirection, string contentType, string content, IPAddress mangleIPAddress ) : System
username string
password string
uri string
from string
to string
routeSet string
customHeaders List
authUsername string
callDirection SIPCallDirection
contentType string
content string
mangleIPAddress System.Net.IPAddress
Результат System

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

These setting do NOT override the ones from the call options.
public SetGeneralFromHeaderFields ( string fromDisplayName, string fromUsername, string fromHost ) : void
fromDisplayName string
fromUsername string
fromHost string
Результат void

Описание свойств

AccountCode публичное свойство

public string AccountCode
Результат string

AuthUsername публичное свойство

public string AuthUsername
Результат string

CRMHeaders публичное свойство

public CRMHeaders,SIPSorcery.SIP.App CRMHeaders
Результат CRMHeaders

CallDirection публичное свойство

public SIPCallDirection CallDirection
Результат SIPCallDirection

CallDurationLimit публичное свойство

public int CallDurationLimit
Результат int

CallbackNumber публичное свойство

public string CallbackNumber
Результат string

CallbackPattern публичное свойство

public string CallbackPattern
Результат string

CallbackPhoneType публичное свойство

public int CallbackPhoneType
Результат int

Content публичное свойство

public string Content
Результат string

ContentType публичное свойство

public string ContentType
Результат string

CustomHeaders публичное свойство

public List CustomHeaders
Результат List

DelayMRE публичное свойство

public ManualResetEvent,System.Threading DelayMRE
Результат System.Threading.ManualResetEvent

DelaySeconds публичное свойство

public int DelaySeconds
Результат int

DialPlanContextID публичное свойство

public Guid,System DialPlanContextID
Результат System.Guid

From публичное свойство

public string From
Результат string

FromDisplayName публичное свойство

public string FromDisplayName
Результат string

FromURIHost публичное свойство

public string FromURIHost
Результат string

FromURIUsername публичное свойство

public string FromURIUsername
Результат string

IsGoogleVoiceCall публичное свойство

public bool IsGoogleVoiceCall
Результат bool

MangleIPAddress публичное свойство

public IPAddress,System.Net MangleIPAddress
Результат System.Net.IPAddress

MangleResponseSDP публичное свойство

public bool MangleResponseSDP
Результат bool

Password публичное свойство

public string Password
Результат string

ProxySendFrom публичное свойство

public string ProxySendFrom
Результат string

RateCode публичное свойство

public string RateCode
Результат string

RedirectMode публичное свойство

public SIPCallRedirectModesEnum RedirectMode
Результат SIPCallRedirectModesEnum

RequestCallerDetails публичное свойство

public bool RequestCallerDetails
Результат bool

RouteSet публичное свойство

public string RouteSet
Результат string

SwitchboardHeaders публичное свойство

public SwitchboardHeaders,SIPSorcery.SIP.App SwitchboardHeaders
Результат SwitchboardHeaders

To публичное свойство

public string To
Результат string

ToSIPAccount публичное свойство

public SIPAccount,SIPSorcery.SIP.App ToSIPAccount
Результат SIPAccount

TransferMode публичное свойство

public SIPDialogueTransferModesEnum TransferMode
Результат SIPDialogueTransferModesEnum

Uri публичное свойство

public string Uri
Результат string

Username публичное свойство

public string Username
Результат string