sun.com docs.sun.com My Sun Worldwide Sites
SIP API Developer's Guide


June 2007
This book is a reference to the interfaces of the SIP API.
--

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

Header Management Layer

Writing Parsers For Custom Headers

Transaction Management Layer

Transaction Creation And Maintenance

Transaction Creation and ACK Signal Generation

Transaction Deletion

Transaction Lookup

Transaction Timers

Transaction And Network Errors

Dialog Management Layer

UAC Dialog Creation

UAS Dialog Creation

Dialog Caching

Dialog Termination, Deletion, and Notification

Message Formatting Layer

Receiving Messages

Sending Messages

Connection Manager

Connection Object

Caching a Connection Object

Freeing a Connection Object

Sending Messages

Receiving Messages

Transaction Layer and I/O Errors

Timer Management Layer

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

Upper Layer Registrations

Connection Manager Interfaces

Custom SIP Headers

C.  Transaction Timers

Index

Company Info Contact Terms of Use Privacy Copyright 1994-2007 Sun Microsystems, Inc.