cljain.sip.header documentation

accept

(accept content-type sub-type)
Create a new AcceptHeader

accept-encoding

(accept-encoding encoding)
Create a new AcceptEncodingHeader

accept-language

(accept-language language)
Create a new AcceptLanguageHeader

alert-info

(alert-info info)
Create a new AlertInfoHeader

allow

(allow method)
Create a new AllowHeader

allow-events

(allow-events event-type)
Create a new AllowEventsHeader

authentication-info

(authentication-info response)
Create a new AuthenticationInfoHeader

authorization

(authorization scheme)
Create a new AuthorizationHeader

call-id

(call-id id)
Create a new CallIdHeader

call-info

(call-info info)
Create a new CallInfoHeader

contact

(contact address)
Create a new ContactHeader

content-disposition

(content-disposition disposition-type)
Create a new ContentDispositionHeader

content-encoding

(content-encoding encoding)
Create a new ContentEncodingHeader

content-language

(content-language language)
Create a new ContentLanguageHeader

content-length

(content-length length)
Create a new ContentLengthHeader

content-type

(content-type type sub-type)
Create a new ContentTypeHeader

cseq

(cseq seq-num method)
Creates a new CSeqHeader based on the newly supplied sequence number and method values.

date

(date date)
Create a new DateHeader

defheader

macro

(defheader type name [args*])
Use the macro to define sip headers. More document could be found here
http://hudson.jboss.org/hudson/job/jain-sip/lastSuccessfulBuild/artifact/javadoc/index.html

error-info

(error-info info)
Create a new ErrorInfoHeader

event

(event type)
Create a new EventHeader

expires

(expires seconds)
Create a new ExpiresHeader

extension

(extension name value)
Creates a new Header based on the newly supplied name and value values.

from

(from address tag)
Create a new FromHeader

gen-branch

(gen-branch)
Generate a new branch id string.

gen-tag

(gen-tag)
Generate a new tag string.

header?

(header? object)
Check whether the object is a Header or not

in-reply-to

(in-reply-to call-id)
Create a new InReplyToHeader

max-forwards

(max-forwards number)
Create a new MaxForwardsHeader

mime-version

(mime-version major minor)
Create a new MimeVersionHeader

min-expires

(min-expires seconds)
Create a new MinExpiresHeader

organization

(organization value)
Create a new OrganizationHeader

priority

(priority value)
Create a new PriorityHeader

proxy-authenticate

(proxy-authenticate scheme)
Create a new ProxyAuthenticateHeader

proxy-authorization

(proxy-authorization scheme)
Create a new ProxyAuthorizationHeader

proxy-require

(proxy-require option-tag)
Create a new ProxyRequireHeader

r-ack

(r-ack r-seq cseq method)
Create a new RAckHeader

r-seq

(r-seq number)
Create a new RSeqHeader

reason

(reason protocol cause text)
Create a new ReasonHeader

record-route

(record-route address)
Create a new RecordRouteHeader

refer-to

(refer-to address)
Create a new ReferToHeader

reply-to

(reply-to address)
Create a new ReplyToHeader

require

(require option-tag)
Create a new RequireHeader

retry-after

(retry-after seconds)
Create a new RetryAfterHeader

route

(route address)
Create a new RouteHeader

server

(server product)
Create a new ServerHeader

sip-etag

(sip-etag etag)
Creates a new SIP-ETag header with the supplied tag value

sip-if-match

(sip-if-match etag)
Creates a new SIP-If-Match header with the supplied tag value

subject

(subject subject)
Create a new SubjectHeader

subscription-state

(subscription-state state)
Create a new SubscriptionStateHeader

supported

(supported option-tag)
Create a new SupportedHeader

time-stamp

(time-stamp time)
Create a new TimeStampHeader

to

(to address tag)
Create a new ToHeader

unsupported

(unsupported option-tag)
Create a new UnsupportedHeader

user-agent

(user-agent product)
Create a new UserAgentHeader

via

(via host port transport branch)
Create a new ViaHeader

warning

(warning agent code comment)
Create a new WarningHeader

wildcard-contact

(wildcard-contact)
Creates a new wildcard ContactHeader.
This is used in Register requests to indicate to the server that it should remove all locations the at which
the user is currently available. This implies that the following conditions are met:

ContactHeader.getAddress.getUserInfo() == *;
ContactHeader.getAddress.isWildCard() == true;
ContactHeader.getExpires() == 0;

www-authenticate

(www-authenticate scheme realm nonce & {:keys [algorithm qop opaque domain stale]})
Creates a new WWWAuthenticateHeader based on the newly supplied scheme value.