SIP API Developer's Guide

Exit Print View

Updated: July 2014
 
 

Processing Inbound Messages

void sip_process_new_packet()sip_conn_object_t conn_object, void *msgstr, size_t msglen

The sip_process_new_packet() function processes the incoming message string from the application using the message string's length and associated connection object. This function transforms the incoming message string into a SIP message. If the transport is byte-stream oriented, this function manages breaking the byte stream at the SIP message boundaries. The stack delivers the SIP message to the application after completing any other required stack processing.