IMS  

 

 

 

CPIM

CPIM stands for 'Common Presence and Instant Messaging' and is defined in RFC 3862. It is a kind of format descriptor (not a protocol) and is mainly used as a format in MESSAGE method.

Example >

    MESSAGE sip:+14448880011@sharetechnote.com;user=phone SIP/2.0

    P-Preferred-Service: urn:urn-7:3gpp-service.ims.icsi.oma.cpm.msg

    Contribution-ID: 477b66ae9662e3ad18549bf5dabf9d26d5e707ca

    Conversation-ID: 1710887c7ca47dc2c1274c11673eb0df5a604fd3

    P-Preferred-Identity: <sip:310410123456789@sharetechnote.com>

    Request-Disposition: no-fork

    User-Agent: TEST IMS 5.0

    CSeq: 1 MESSAGE

    Max-Forwards: 70

    P-Access-Network-Info: 3GPP-E-UTRAN-FDD;utran-cell-id-3gpp=31041000010000000

    Route: <sip:[2001:0:0:1::2]:5060;lr>

    a: *;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.oma.cpm.msg"

    c: message/cpim

    f: <sip:310410123456789@sharetechnote.com>;tag=1384874566

    i: 3712948749@2001::1:88fe:fccf:2870:5dee

    l: 322

    m: <sip:310410123456789@[2001::1:88fe:fccf:2870:5dee]:5060>;

        +sip.instance="<urn:gsma:imei:35469106-056673-0>"

    t: <sip:+14448880011@sharetechnote.com;user=phone>

    v: SIP/2.0/TCP [2001::1:88fe:fccf:2870:5dee]:5060;branch=z9hG4bK2629405539smg;transport=TCP

     

    From: <sip:310410123456789@sharetechnote.com>  // CPIM Message Header

    To: <sip:+14448880011@sharetechnote.com;user=phone> // CPIM Message Header

    DateTime: 2015-02-17T06:54:27Z// CPIM Message Header

    NS: imdn <urn:ietf:params:imdn>   // CPIM Name Spage

    imdn.Message-ID: PH7qAIV8cgH5

    imdn.Disposition-Notification: positive-delivery, display

     

    Content-type: text/plain;charset=UTF-8 // CPIM MIME Header

    Content-Length: 15

     

    123456789abcdef  // Message Content