C# Class SIPSorcery.SIP.App.SIPCallDescriptor

Show file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
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

Public Methods

Method Description
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.

Method Details

CopyOf() public method

public CopyOf ( ) : SIPCallDescriptor
return SIPCallDescriptor

GetFromHeader() public method

public GetFromHeader ( ) : SIPFromHeader
return SIPFromHeader

ParseCallOptions() public method

public ParseCallOptions ( string options ) : void
options string
return void

ParseCustomHeaders() public static method

public static ParseCustomHeaders ( string customHeaders ) : List
customHeaders string
return List

SIPCallDescriptor() public method

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

SIPCallDescriptor() public method

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

SIPCallDescriptor() public method

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

SetGeneralFromHeaderFields() public method

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

Property Details

AccountCode public property

public string AccountCode
return string

AuthUsername public property

public string AuthUsername
return string

CRMHeaders public property

public CRMHeaders,SIPSorcery.SIP.App CRMHeaders
return CRMHeaders

CallDirection public property

public SIPCallDirection CallDirection
return SIPCallDirection

CallDurationLimit public property

public int CallDurationLimit
return int

CallbackNumber public property

public string CallbackNumber
return string

CallbackPattern public property

public string CallbackPattern
return string

CallbackPhoneType public property

public int CallbackPhoneType
return int

Content public property

public string Content
return string

ContentType public property

public string ContentType
return string

CustomHeaders public property

public List CustomHeaders
return List

DelayMRE public property

public ManualResetEvent,System.Threading DelayMRE
return System.Threading.ManualResetEvent

DelaySeconds public property

public int DelaySeconds
return int

DialPlanContextID public property

public Guid,System DialPlanContextID
return System.Guid

From public property

public string From
return string

FromDisplayName public property

public string FromDisplayName
return string

FromURIHost public property

public string FromURIHost
return string

FromURIUsername public property

public string FromURIUsername
return string

IsGoogleVoiceCall public property

public bool IsGoogleVoiceCall
return bool

MangleIPAddress public property

public IPAddress,System.Net MangleIPAddress
return System.Net.IPAddress

MangleResponseSDP public property

public bool MangleResponseSDP
return bool

Password public property

public string Password
return string

ProxySendFrom public property

public string ProxySendFrom
return string

RateCode public property

public string RateCode
return string

RedirectMode public property

public SIPCallRedirectModesEnum RedirectMode
return SIPCallRedirectModesEnum

RequestCallerDetails public property

public bool RequestCallerDetails
return bool

RouteSet public property

public string RouteSet
return string

SwitchboardHeaders public property

public SwitchboardHeaders,SIPSorcery.SIP.App SwitchboardHeaders
return SwitchboardHeaders

To public property

public string To
return string

ToSIPAccount public property

public SIPAccount,SIPSorcery.SIP.App ToSIPAccount
return SIPAccount

TransferMode public property

public SIPDialogueTransferModesEnum TransferMode
return SIPDialogueTransferModesEnum

Uri public property

public string Uri
return string

Username public property

public string Username
return string