cljain.sip.message documentation

inc-sequence-number!

(inc-sequence-number! request)
Increase the sequence number of a request's CSeq header.

reason

(reason response)
Gets the reason phrase of this Response message.

request

(request method req-uri from call-id & more-headers)
Creates a new Request message of type specified by the method paramater,
containing the URI of the Request, the mandatory headers of the message.
This new Request does not contain a body.

response

(response status-code reqest & more-headers)
Creates a new Response message of type specified by the status-code paramater,
based on a specific Request message. This new Response does not contain a body.
Only the required headers are copied from the Request.