SIP and SDP Normalization
The Lua scripting environment establishes underlying objects for manipulating the SIP message and any associated Session Description Protocol (SDP). The script need not worry about these objects and accesses these objects using the following set of APIs:
•SIP Messages APIs—These APIs allows the script to manipulate the SIP message in a variety of ways.
•SDP APIs—These APIs allow the script to manipulate the SDP in a variety of ways.
•SIP Pass Through APIs—These APIs allow the script to pass information from one call leg to the other.
•SIP Utility APIs— These APIs provide useful utilities for the script to manipulate data including the parsing of a Uniform Resource Identifier (URI) into a SIP URI object.
•SIP URI APIs—These APIs allow the script to manipulate the parsed SIP URI object.
•Trace APIs—These APIs allows the script to enable and disable tracing, determine if tracing is enabled, and to produce traces.
•Script Parameters API—This parameter allows the script writer to obtain trunk specific configuration parameter values.