HP-UX C SIP Stack Programmer's Guide (Novembery 2007)
Sample Applications 435
22
SAMPLE APPLICATIONS
RUNNING THE
S
AMPLE
A
PPLICATIONS
The SIP Stack includes a rich set of small sample applications that demonstrate
the usage of almost every feature of the SIP Stack in a clear and simple way. In
addition, a full comprehensive GUI test application is provided.
The SIP Stack includes the following sample applications:
simpleSession—a very basic and fully documented console
application that connects, accepts and disconnects a call. The
simpleSession is a good place from which to start your own
application. The source code of the simpleSession is in the /usr/
examples/sip/simpleSession directory.
simpleRegistration—a simple console application that
demonstrates how to use the Register-Client API in order to
register to a Registrar. The source code of the
simpleRegistration is in the /usr/examples/sip/
simpleRegistration directory.
simpleAuthentication—extends the simpleSession example
and demonstrates how to authenticate the outgoing INVITE
request when needed. The source code of the
simpleAuthentication is in the /usr/examples/sip/
simpleAuthentication directory.
simpleTransaction—a basic and fully documented console
application that demonstrates sending messages not related to a
call-leg. In the example, the OPTIONS request is sent. The
source code of the simpleTransaction is in the /usr/examples/
sip/simpleTransaction directory.