IMS

 

 

 

 

SIP Method : Subscribe

 

< Example 1 >

: Following is to check Registration Status

 

[ Line 1  ] SUBSCRIBE sip:+11234567890@test.3gpp.com SIP/2.0

[ Line 2  ] Via: SIP/2.0/UDP 10.133.202.46:50997;branch=z9hG4bK2968d27245f17c7bcae38c31991bfdaa

[ Line 3  ] Max-Forwards: 70

[ Line 4  ] Contact: <sip:+11234567890@10.133.202.46:50997>;+sip.instance="<urn:gsma:imei:00440113-904785-0>"

[ Line 5  ] To: <sip:+11234567890@test.3gpp.com>

[ Line 6  ] From: <sip:+11234567890@test.3gpp.com>;tag=210a54

[ Line 7  ] Call-ID: d57a0b04-785ba328-13a4d876@10.133.202.46

[ Line 8  ] CSeq: 14534 SUBSCRIBE

[ Line 9  ] Expires: 600000

[ Line 11] User-Agent: IM-client/OMA1.0 DUT-IMS

[ Line 12] Event: reg

[ Line 13] Accept: application/reginfo+xml

[ Line 14] P-Access-Network-Info: 3GPP-E-UTRAN-FDD;utran-cell-id-3gpp="0010100010000000"

[ Line 15] P-Preferred-Identity: <sip:+11234567890@test.3gpp.com>

[ Line 16] Content-Length: 0

 

 

< Example 2 >

: Following is to unsubsribe Registration Status check

 

[ Line 1  ] SUBSCRIBE sip:[2001:0:0:1::2]:5060;transport=udp SIP/2.0

[ Line 2  ] Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,INFO,REFER,NOTIFY,MESSAGE,PRACK

[ Line 3  ] P-Preferred-Identity: sip:+11234567890@test.3gpp.com

[ Line 4  ] P-Access-Network-Info: 3GPP-E-UTRAN-FDD;utran-cell-id-3gpp=31148000010000000

[ Line 5  ] User-Agent: Samsung RCS 3.1

[ Line 6  ] Event: reg

[ Line 7  ] Contact: <sip:+11234567890@[2001:0:0:1::1]:5060>

[ Line 8  ] Expires: 0

[ Line 9  ] From: <sip:+11234567890@test.3gpp.com>;tag=361341861

[ Line 10] To: <sip:+11234567890@test.3gpp.com>;tag=361341861

[ Line 11] CSeq: 2 SUBSCRIBE

[ Line 12] Call-ID: 3508242208@2001:0:0:1::1

[ Line 13] Max-Forwards: 70

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

[ Line 15] Via: SIP/2.0/UDP [2001:0:0:1::1]:5060;branch=z9hG4bK1093595606smg;transport=UDP

[ Line 16] Content-Length: 0

 

 

< Example 3 >

 

SUBSCRIBE sip:+339012341234@anritsu-rcs.com;pres-list=rcs SIP/2.0

Call-ID: 8Ih0yaUFAA@192.168.1.1

CSeq: 1 SUBSCRIBE

From: "test user" <sip:+339012341234@anritsu-rcs.com>;tag=8Ih0yaUGAA

To: <sip:+339012341234@anritsu-rcs.com;pres-list=rcs>

Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bKcad78c485b12e9ff2a8410e4d375722f383138;rport

Max-Forwards: 70

Route: <sip:192.168.1.2:5060;transport=udp;lr>

Expires: 3600

User-Agent: IM-client/OMA1.0 OrangeLabs-RCS-client/2.5.13

Contact: <sip:192.168.1.1:5060;transport=UDP>;+sip.instance="<urn:gsma:imei:356432059050620>"

Allow: INVITE,UPDATE,ACK,CANCEL,BYE,NOTIFY,OPTIONS,MESSAGE,REFER

Event: presence

Supported: eventlist

Content-Length: 0