Previous Up Next

9  SIP headers

If SIP headers, specified in the RFC 3261 and RFC 3265, are mandatory in at least one method, they are integrated in the SPL compiler as keywords. SIP headers are restricted in terms of type or access rights (NA, RO, RW). Header keywords refer to request headers only.
When a header is not mandatory in a request and for all responses, the when statement allow a protected access to read headers in messages. Headers can only be modified with the with expression.

sipHeader   ::=   CALL_ID
  | CONTACT
  | CSEQ
  | EVENT
  | FROM
  | MAX_FORWARDS
  | SUBSCRIPTION_STATE
  | TO
  | VIA



Previous Up Next