Patent Document ID: 9894104
Application ID: 14087280

Base Claim:
1. A computer-implemented method for providing context through a scripting-type programming language to data included in a Session Initiation Protocol (SIP) message comprising: providing one or more contexts through a scripting-type computer programming language, wherein each of the one or more contexts functions as a pointer to a particular pre-defined portion of a SIP message, wherein each context is a pointer that references the memory location of the respective portion of data that it is associated with; providing one or more rules of an ingress profile and one or more rules of an egress profile, wherein the one or more rules of the ingress profile are different than the one or more rules of the egress profile, and wherein each of the one or more rules includes at least one trigger and at least one action; receiving, by at least one processor, a series of SIP messages, wherein each SIP message in the series belongs to a same SIP message flow; after a particular SIP message in the series is received, parsing the particular message to identify whether the particular SIP message includes any portion of data that can be referenced via the one or more contexts; determining whether the at least one action of any of the one or more rules of the ingress profile or the one or more rules of the egress profile is triggered by the SIP message; for each respective portion of data that can be referenced via a context, associating a respective context with each respective portion of data such that the respective portion of data can be referenced by the context; and using the one or more contexts, applying, to the series of SIP messages, the one or more rules of the ingress profile or the one or more rules of the egress profile for which the at least one action is triggered.

---

Claim 3:
3. The computer-implemented method of claim 1 , further comprising: defining one or more variables, where each variable includes state data of the SIP message flow; and modifying the one or more variables based on a particular context.