Patent ID: 7644165

Claim:
In a communications network, a method of processing a SIP message comprising: receiving a Session Initiation Protocol (SIP) message via a SIP server, wherein the SIP message includes a plurality of headers and text; allocating a new mono block structure via the SIP server, the structure including a plurality of zones; reading the SIP message via the SIP server; creating at least one header descriptor in a first zone in the mono block structure via the SIP server; copying the SIP message to second zone in the mono block structure via the SIP server; and pre-parsing the second zone via the SIP server; wherein pre-parsing the second zone comprises: updating the corresponding header descriptor in the mono block structure for each header that is recognized; pointing a raw text pointer to the corresponding SIP text stored in the second zone of the mono block structure; storing the actual length of the SIP text in the header descriptor; and leaving a pointer to the decoded portion of the text empty.