cljain.sip.address documentation

address

(address address)(address uri display-name)
Create a new Address object using a URI.
It useful to create the To header etc.

address?

(address? object)
Check the 'obj' is an instance of javax.sip.Address.

sip-address

(sip-address host & {:keys [user port transport display-name], :as options})
A convenient way to create a new Address object that limited to sip uri.

(sip-address "localhost" :user "tom" :display-name "Tom" :port 5060 :transport "udp")

sip-uri

(sip-uri host & {:keys [user port transport]})
Create a new SipURI object.

(sip-uri "localhost" :port 5060 :transport "udp" :user "tom")

tel-uri

(tel-uri phone-number)
Create a new TelURI object with a phone number.

(tel-uri 12345678) or (tel-uri "12345678")

uri?

(uri? object)
Check the 'obj' is an instance of javax.sip.URI.