CrossClj

0.6.0-beta1 docs

SourceDocs



RECENT
    VARS
    address
    address?
    factory
    sip-address
    sip-uri
    tel-uri
    uri?

    « Index of all namespaces of this project

    (address address)(address uri display-name)
    Create a new Address object using a URI.
    It useful to create the To header etc.
    (address? object)
    Check the 'obj' is an instance of javax.sip.Address.
    
    Private
    The factory to create Address and URI.
    
    (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 host & {:keys [user port transport]})
    Create a new SipURI object.
    
    (sip-uri "localhost" :port 5060 :transport "udp" :user "tom")
    (tel-uri phone-number)
    Create a new TelURI object with a phone number.
    
    (tel-uri 12345678) or (tel-uri "12345678")
    (uri? object)
    Check the 'obj' is an instance of javax.sip.URI.