Document Information
Preface
1. SIP Overview
Introduction to SIP
Overview of libsip
Header Management Layer
Transaction Management Layer
Dialog Management Layer
Message Formatting Layer
Timer Management Layer
Connection Manager
2. Solaris SIP Internals
SIP Stack Initialization
Generic Stack Parameters
Upper Layer Registrations
Connection Manager Interfaces
Custom Header Table
Writing Parsers For Custom Headers
Transaction Creation And Maintenance
Transaction Creation and ACK Signal Generation
Transaction Deletion
Transaction Lookup
Transaction Timers
Transaction And Network Errors
UAC Dialog Creation
UAS Dialog Creation
Dialog Caching
Dialog Termination, Deletion, and Notification
Receiving Messages
Sending Messages
Connection Object
Caching a Connection Object
Freeing a Connection Object
Transaction Layer and I/O Errors
Generating Call-ID, From and To tags, Branch-ID and Cseq
Multithreading Support
3. Multithreading and URI Support
URI Support
4. SIP API Functions
Stack Initialization Function
Message Allocation Functions
SIP Header Addition Functions
SIP Request and Response Creation Functions
Header and Message Copying Functions
Header and Value Deleting Functions
Header Lookup Functions
Value Retrieval and Response Description Functions
SIP ID Generating Functions
VIA Functions
SIP Message Sending Function
Processing Inbound Messages
Transaction Layer Functions
Dialog Layer Functions
URI Functions
SIP Header Value Retrieval Functions
Connection Object Functions
Miscellaneous Functions
A. Examples of Use
Example of UAS and UAC Use
B. Programming with the SIP API
Initializing the SIP Stack
Custom SIP Headers
C. Transaction Timers
Index