PresenceSignaling-Eamples
Version 3 (Adrian Georgescu, 03/15/2013 08:55 am)
1 | 1 | Adrian Georgescu | h1. Presence Examples |
---|---|---|---|
2 | 1 | Adrian Georgescu | |
3 | 1 | Adrian Georgescu | h2. Publish |
4 | 1 | Adrian Georgescu | |
5 | 1 | Adrian Georgescu | h2. Subscribe |
6 | 1 | Adrian Georgescu | |
7 | 2 | Adrian Georgescu | <pre> |
8 | 2 | Adrian Georgescu | SENDING: Packet 10348, +13:04:47.968704 |
9 | 2 | Adrian Georgescu | 2013-03-15 08:43:21.066174: 192.168.1.57:54336 -(SIP over tls)-> 85.17.186.7:5061 |
10 | 2 | Adrian Georgescu | SUBSCRIBE sip:ag+presence@sip2sip.info SIP/2.0 |
11 | 2 | Adrian Georgescu | Via: SIP/2.0/tls 192.168.1.57:54336;rport;branch=z9hG4bKPjxzWxyHoyQE1B14kzh2e5HzQ1fe9YCxAS |
12 | 2 | Adrian Georgescu | Max-Forwards: 70 |
13 | 2 | Adrian Georgescu | From: "Adrian Georgescu" <sip:ag@sip2sip.info>;tag=Nk9vYs7jSrxoFxJlHhpGqp5ratba8.fZ |
14 | 2 | Adrian Georgescu | To: <sip:ag+presence@sip2sip.info> |
15 | 2 | Adrian Georgescu | Contact: <sip:18692507@192.168.1.57:62448;transport=tls> |
16 | 2 | Adrian Georgescu | Call-ID: LxLofW8im8tXeSeqtFD9eLx.Qww7dgZv |
17 | 2 | Adrian Georgescu | CSeq: 4102 SUBSCRIBE |
18 | 2 | Adrian Georgescu | Event: presence |
19 | 2 | Adrian Georgescu | Expires: 300 |
20 | 2 | Adrian Georgescu | Accept: multipart/related, application/rlmi+xml, application/pidf+xml |
21 | 2 | Adrian Georgescu | Allow-Events: conference, message-summary, dialog, presence, presence.winfo, xcap-diff, dialog.winfo, refer |
22 | 2 | Adrian Georgescu | Supported: eventlist |
23 | 2 | Adrian Georgescu | User-Agent: Blink Pro 2.1.0 (MacOSX) |
24 | 2 | Adrian Georgescu | Proxy-Authorization: Digest username="ag", realm="sip2sip.info", nonce="5142d136c3cd3c566c348c811f3e61d73901e538", uri="sip:ag+presence@sip2sip.info", response="141b2c3c3b0d5a06bc0276a60f350f85" |
25 | 2 | Adrian Georgescu | Content-Length: 0 |
26 | 2 | Adrian Georgescu | |
27 | 2 | Adrian Georgescu | RECEIVED: Packet 10349, +13:04:47.972002 |
28 | 2 | Adrian Georgescu | 2013-03-15 08:43:21.069472: 85.17.186.7:5061 -(SIP over tls)-> 192.168.1.57:54336 |
29 | 2 | Adrian Georgescu | SIP/2.0 200 OK |
30 | 2 | Adrian Georgescu | Record-Route: <sip:85.17.186.7;transport=tcp;r2=on;lr;ftag=sQgfZ4lW3hmwYxKzERR3aGzVsiz8gP9S> |
31 | 2 | Adrian Georgescu | Record-Route: <sip:85.17.186.7:5061;transport=tls;r2=on;lr;ftag=sQgfZ4lW3hmwYxKzERR3aGzVsiz8gP9S> |
32 | 2 | Adrian Georgescu | Via: SIP/2.0/tls 192.168.1.57:54336;received=82.161.39.123;rport=54336;branch=z9hG4bKPjONne8WosnfVUF.pr4FIZILX9BlPbwzjz |
33 | 2 | Adrian Georgescu | From: "Adrian Georgescu" <sip:ag@sip2sip.info>;tag=sQgfZ4lW3hmwYxKzERR3aGzVsiz8gP9S |
34 | 2 | Adrian Georgescu | To: <sip:ag@sip2sip.info>;tag=104fb72fe3a4f8dc6b8eaad6b52e574f-3e38 |
35 | 2 | Adrian Georgescu | Call-ID: jBS0ToEV8.ieDf8yBhQ-rIaQ7kc9ITA3 |
36 | 2 | Adrian Georgescu | CSeq: 10974 SUBSCRIBE |
37 | 2 | Adrian Georgescu | Expires: 300 |
38 | 2 | Adrian Georgescu | Contact: <sip:presence@81.23.228.129;transport=tcp> |
39 | 2 | Adrian Georgescu | Server: SIP Thor on OpenSIPS XS 1.9.0 |
40 | 2 | Adrian Georgescu | Content-Length: 0 |
41 | 2 | Adrian Georgescu | </pre> |
42 | 2 | Adrian Georgescu | |
43 | 1 | Adrian Georgescu | h2. Notify |
44 | 3 | Adrian Georgescu | |
45 | 3 | Adrian Georgescu | <pre> |
46 | 3 | Adrian Georgescu | RECEIVED: Packet 10355, +13:04:48.004262 |
47 | 3 | Adrian Georgescu | 2013-03-15 08:43:21.101732: 85.17.186.7:5061 -(SIP over tls)-> 192.168.1.57:54336 |
48 | 3 | Adrian Georgescu | NOTIFY sip:18692507@82.161.39.123:54336;transport=tls SIP/2.0 |
49 | 3 | Adrian Georgescu | Record-Route: <sip:85.17.186.7:5061;transport=tls;r2=on;lr;ftag=104fb72fe3a4f8dc6b8eaad6b52e574f-9b73> |
50 | 3 | Adrian Georgescu | Record-Route: <sip:85.17.186.7;transport=tcp;r2=on;lr;ftag=104fb72fe3a4f8dc6b8eaad6b52e574f-9b73> |
51 | 3 | Adrian Georgescu | Via: SIP/2.0/TLS 85.17.186.7:5061;branch=z9hG4bK39f1.17cb9ca3.0;i=dfb06 |
52 | 3 | Adrian Georgescu | Via: SIP/2.0/TCP 81.23.228.129:5060;rport=33450;received=81.23.228.129;branch=z9hG4bK39f1.ff127ab1.0 |
53 | 3 | Adrian Georgescu | To: <sip:ag@sip2sip.info>;tag=Nk9vYs7jSrxoFxJlHhpGqp5ratba8.fZ |
54 | 3 | Adrian Georgescu | From: <sip:ag+presence@sip2sip.info>;tag=104fb72fe3a4f8dc6b8eaad6b52e574f-9b73 |
55 | 3 | Adrian Georgescu | CSeq: 1 NOTIFY |
56 | 3 | Adrian Georgescu | Call-ID: LxLofW8im8tXeSeqtFD9eLx.Qww7dgZv |
57 | 3 | Adrian Georgescu | Max-Forwards: 69 |
58 | 3 | Adrian Georgescu | Content-Length: 2737 |
59 | 3 | Adrian Georgescu | User-Agent: SIP Thor on OpenSIPS XS 1.9.0 |
60 | 3 | Adrian Georgescu | Event: presence |
61 | 3 | Adrian Georgescu | Contact: <sip:rls@81.23.228.129:33450;transport=tcp> |
62 | 3 | Adrian Georgescu | Subscription-State: active;expires=300 |
63 | 3 | Adrian Georgescu | Require: eventlist |
64 | 3 | Adrian Georgescu | Content-Type: multipart/related;type="application/rlmi+xml";start="<1363333400.sip:ag+presence@sip2sip.info.41798616>";boundary="De4MDAaTbj3SuLeANRB15T2r" |
65 | 3 | Adrian Georgescu | |
66 | 3 | Adrian Georgescu | --De4MDAaTbj3SuLeANRB15T2r |
67 | 3 | Adrian Georgescu | Content-Transfer-Encoding: binary |
68 | 3 | Adrian Georgescu | Content-ID: <1363333400.sip:ag+presence@sip2sip.info.41798616> |
69 | 3 | Adrian Georgescu | Content-Type: application/rlmi+xml;charset="UTF-8" |
70 | 3 | Adrian Georgescu | |
71 | 3 | Adrian Georgescu | <?xml version="1.0"?> |
72 | 3 | Adrian Georgescu | <list uri="sip:ag+presence |
73 | 3 | Adrian Georgescu | ... |
74 | 3 | Adrian Georgescu | </pre> |