JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
SIP API Developer's Guide     Oracle Solaris 11 Express 11/10
search filter icon
search icon

Document Information

Preface

1.  SIP Overview

2.  Oracle Solaris SIP Internals

3.  Multithreading and 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

B.  Programming with the SIP API

C.  Transaction Timers

Index

Miscellaneous Functions

char sip_msg_to_str(sip_msg_t sip_msg, int *error);

The sip_msg_to_str() function returns a string that contains all of the headers and content in the SIP message that is defined by the sip_msg parameter. The calling thread must free the string that this function returns.

char sip_hdr_to_str(sip_header_t sip_header, int *error);

The sip_hdr_to_str() function returns the value of the sip_header parameter as a string. The calling thread must free the string that this function returns.

char sip_reqline_to_str(sip_msg_t sip_msg, int *error);

The sip_reqline_to_str() function returns the request line in the SIP message that is defined by the sip_msg parameter as a string. The calling thread must free the string that this function returns.

char *sip_respline_to_str(sip_msg_t sip_msg, int *error);

The sip_respline_to_str() function returns the response line in the SIP message that is defined by the sip_msg parameter as a string. The calling thread must free the string that this function returns.

int sip_init_conn_object(sip_conn_object_t conn_obj);

The sip_init_conn_object() function initializes a connection object with library specific private data.

void sip_clear_stale_data(sip_conn_object_t conn_obj);

The sip_clear_stale_data() function clears any library specific private data that is stored in the connection object that is specified by the conn_obj parameter.

void sip_conn_destroyed(sip_conn_object_t conn_obj);

The sip_conn_destroyed() function clears any library specific private data that is stored in the connection object that is defined by the value of the obj parameter. This function also performs cleanup if this connection object has been cached by the system.