[OpenSIPS-Users] SIP URI for presence testing: alice at ag-projects.com

Adrian Georgescu ag at ag-projects.com
Mon Jan 5 14:38:32 CET 2009


Hello,

For development and testing of presence clients and servers I setup a  
test SIP address. You can test by sending a SUBSCRIBE for event  
presence to sip:alice at ag-projects.com, you will receive NOTIFY  
messages back.

Alice's account has a random state generator that publishes state  
changes every minute. The PIDF contains Person, Device and Service  
with information like place-is, mood, notes and activities:

Subscribing to "sip:alice at ag-projects.com" for the presence event, at udp:85.17.186.7:5060

----------------
Received NOTIFY:
----------------
Presence for alice at ag-projects.com:
   Person id: tquafqbd
     Timestamp: 2009-01-03 15:25:09
     Note(en): You may worry about your hair-do today, but tomorrow  
much peanut butter will be sold.
     Mood: neutral
     Place information:
       Audio: ok
       Video: dark
       Text: uncomfortable
     Time offset from UTC: 60 minutes
   ---
   Service id: curvcjxx
     Timestamp: 2009-01-03 15:25:09
     Status: closed
     Contact: sip:alice at ag-projects.com
     Relationship: self
   ---
   Device id: gcdzvwje
     Timestamp: 2009-01-03 15:10:09
     Note(en): Powered by ag-projects/sipclient-0.3.0-pjsip-1.0.1
----------------

I hope this is found useful.

Regards,
Adrian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090105/17642654/attachment.htm 


More information about the Users mailing list