Patent ID: 8855135

Claim:
A method for processing session initiation protocol messages, comprising the following steps: receiving a session initiation protocol (SIP) message by a front end; parsing the session initiation protocol message by the front end to transform tokens contained in the SIP message into token type entries and token content entries, grouping token type entries and token content entries for all tokens in the session initiation protocol message respectively, storing the token type entries and the token content entries separate from each other, and indexing and setting up corresponding links comprising pointers between the token type entries and the token content entries, wherein the session initiation protocol message, after parsing, is transformed to a session initiation protocol offload engine (SOE) message with parts comprising at least a session initiation protocol offload engine message header part for storing all header message level information for the message; a token type part comprising a plurality of fixed-length entries for storing token type information for all tokens in the session initiation protocol message, wherein the token type part includes one of a value and a pointer to associated token content, and a token content part comprising a plurality of variable-length entries for storing all token contents of the message and a length value for each of the token contents; and communicating the session initiation protocol offload engine message for message processing whereby different token content of the SOE message can be identified by token types for selective processing.