HP-UX Java SIP Stack Programmer's Guide (February 2008)

Table of Contents
About This Document...................................................................................................................11
Intended Audience.............................................................................................................11
Document Organization.....................................................................................................11
Typographical Conventions................................................................................................12
Related Information............................................................................................................12
HP Encourages Your Comments........................................................................................15
1 Introduction..............................................................................................................................17
SIP Overview......................................................................................................................17
SIP Components.................................................................................................................18
User Agent.....................................................................................................................18
Proxy Server..................................................................................................................19
Redirect Server..............................................................................................................19
Registrar........................................................................................................................20
Back 2 Back User Agent.................................................................................................20
SIP Architecture..................................................................................................................20
SIP Messages.......................................................................................................................22
Message Types...............................................................................................................22
A Request Message..................................................................................................22
A Response Message................................................................................................24
Message Parts................................................................................................................28
Call Flow Scenarios.............................................................................................................29
Basic Call Setup and Teardown.....................................................................................29
Using the Proxy Server..................................................................................................30
Using the Redirect Server..............................................................................................32
Implementations of SIP on HP-UX.....................................................................................33
Documentation for the C SIP Stack...............................................................................33
Documentation for the Java SIP Stack...........................................................................33
2 JSR32 JAIN SIP APIs.................................................................................................................35
Overview............................................................................................................................35
JSR32 Architecture..............................................................................................................36
JSR32 SIP Stack..............................................................................................................37
JSR32 Packages..............................................................................................................39
JSR32 Objects.................................................................................................................39
SipStack Object.........................................................................................................39
Dialog Object............................................................................................................40
Transaction Object....................................................................................................41
Message Object.........................................................................................................41
Table of Contents 3