Project

General

Profile

PresenceSignaling-Eamples » History » Revision 2

Revision 1 (Adrian Georgescu, 03/15/2013 08:50 AM) → Revision 2/4 (Adrian Georgescu, 03/15/2013 08:54 AM)

h1. Presence Examples 

 h2. Publish 

 h2. Subscribe 

 <pre> 
 SENDING: Packet 10348, +13:04:47.968704 
 2013-03-15 08:43:21.066174: 192.168.1.57:54336 -(SIP over tls)-> 85.17.186.7:5061 
 SUBSCRIBE sip:ag+presence@sip2sip.info SIP/2.0 
 Via: SIP/2.0/tls 192.168.1.57:54336;rport;branch=z9hG4bKPjxzWxyHoyQE1B14kzh2e5HzQ1fe9YCxAS 
 Max-Forwards: 70 
 From: "Adrian Georgescu" <sip:ag@sip2sip.info>;tag=Nk9vYs7jSrxoFxJlHhpGqp5ratba8.fZ 
 To: <sip:ag+presence@sip2sip.info> 
 Contact: <sip:18692507@192.168.1.57:62448;transport=tls> 
 Call-ID: LxLofW8im8tXeSeqtFD9eLx.Qww7dgZv 
 CSeq: 4102 SUBSCRIBE 
 Event: presence 
 Expires: 300 
 Accept: multipart/related, application/rlmi+xml, application/pidf+xml 
 Allow-Events: conference, message-summary, dialog, presence, presence.winfo, xcap-diff, dialog.winfo, refer 
 Supported: eventlist 
 User-Agent: Blink Pro 2.1.0 (MacOSX) 
 Proxy-Authorization: Digest username="ag", realm="sip2sip.info", nonce="5142d136c3cd3c566c348c811f3e61d73901e538", uri="sip:ag+presence@sip2sip.info", response="141b2c3c3b0d5a06bc0276a60f350f85" 
 Content-Length:    0 

 RECEIVED: Packet 10349, +13:04:47.972002 
 2013-03-15 08:43:21.069472: 85.17.186.7:5061 -(SIP over tls)-> 192.168.1.57:54336 
 SIP/2.0 200 OK 
 Record-Route: <sip:85.17.186.7;transport=tcp;r2=on;lr;ftag=sQgfZ4lW3hmwYxKzERR3aGzVsiz8gP9S> 
 Record-Route: <sip:85.17.186.7:5061;transport=tls;r2=on;lr;ftag=sQgfZ4lW3hmwYxKzERR3aGzVsiz8gP9S> 
 Via: SIP/2.0/tls 192.168.1.57:54336;received=82.161.39.123;rport=54336;branch=z9hG4bKPjONne8WosnfVUF.pr4FIZILX9BlPbwzjz 
 From: "Adrian Georgescu" <sip:ag@sip2sip.info>;tag=sQgfZ4lW3hmwYxKzERR3aGzVsiz8gP9S 
 To: <sip:ag@sip2sip.info>;tag=104fb72fe3a4f8dc6b8eaad6b52e574f-3e38 
 Call-ID: jBS0ToEV8.ieDf8yBhQ-rIaQ7kc9ITA3 
 CSeq: 10974 SUBSCRIBE 
 Expires: 300 
 Contact: <sip:presence@81.23.228.129;transport=tcp> 
 Server: SIP Thor on OpenSIPS XS 1.9.0 
 Content-Length: 0 
 </pre> 

 h2. Notify