C# Class SIPSorcery.SIP.SIPEventDialogInfo

RFC4235 on Dialog Event Packages: - To estalish a subscription to a specific dialog the call-id, to-tag and from-tag must be specified, - To establish a subscription to a set of dialogs the call-id and to-tag must be specified. Treatment of the Event header: - If the Event header contains dialog identifiers a notification is sent for any dialogs that match them AND the user in the SUBSCRIBE URI. - If the Event header does not contain any dialog identifiers then a notification is sent for every dialog that matches the user in the SUBSCRIBE URI. - Notifications contain the identities of the dialog participants, the target URIs and the dialog identifiers. - The format of the NOTIFY bodies must be in a format specified in a SUBSCRIBE Accept header or if omitted a default format of "application/dialog-info+xml". Example of an empty dialog notification body: Example of a single entry dialog notification body: terminated 145
Inheritance: SIPSorcery.SIP.SIPEvent
Mostrar archivo Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
DialogItems List
Entity SIPURI
State SIPEventDialogInfoStateEnum
Version int

Public Methods

Method Description
Load ( string dialogInfoXMLStr ) : void
Parse ( string dialogInfoXMLStr ) : SIPEventDialogInfo
SIPEventDialogInfo ( ) : NUnit.Framework
SIPEventDialogInfo ( int version, SIPEventDialogInfoStateEnum state, SIPURI entity ) : NUnit.Framework
ToXMLText ( ) : string

Method Details

Load() public method

public Load ( string dialogInfoXMLStr ) : void
dialogInfoXMLStr string
return void

Parse() public static method

public static Parse ( string dialogInfoXMLStr ) : SIPEventDialogInfo
dialogInfoXMLStr string
return SIPEventDialogInfo

SIPEventDialogInfo() public method

public SIPEventDialogInfo ( ) : NUnit.Framework
return NUnit.Framework

SIPEventDialogInfo() public method

public SIPEventDialogInfo ( int version, SIPEventDialogInfoStateEnum state, SIPURI entity ) : NUnit.Framework
version int
state SIPEventDialogInfoStateEnum
entity SIPURI
return NUnit.Framework

ToXMLText() public method

public ToXMLText ( ) : string
return string

Property Details

DialogItems public_oe property

public List DialogItems
return List

Entity public_oe property

public SIPURI,SIPSorcery.SIP Entity
return SIPURI

State public_oe property

public SIPEventDialogInfoStateEnum State
return SIPEventDialogInfoStateEnum

Version public_oe property

public int Version
return int