IETF SPIRITS WG 56 th IETF, San Francisco, CA Early implementation of the SPIRITS protocol Presented by: Vijay Gurbani Tue, Mar 18, 2003 vkg 56 SPIRITS WG 1
Services Implemented • 2 Services have been implemented using SPIRITS: – Presence for phone lines – Instant Messaging from PSTN -> Internet Tue, Mar 18, 2003 vkg 56 SPIRITS WG 2
Presence • Four DPs needed to consider presence for phone lines: – OAA (Origination Attempt Authorized) – TA (Termination Answer) – OD (Origination Disconnect) – TD (Termination Disconnect) Tue, Mar 18, 2003 vkg 56 SPIRITS WG 3
Presence SUBSCRIBE sip: 192. 168. 1. 2: 9001 SIP/2. 0 Event: spirits-INDPs Allow: SUBSCRIBE, NOTIFY Accept: application/spirits-event, application/cpim-pidf+xml Content-Type: application/spirits-event Content-Length: 462 … xml version="1. 0"? > 5552207722 5552207722 5552207722 5552207722 Tue, Mar 18, 2003 vkg 56 SPIRITS WG 4
Presence • When any of the events occurred, 2 NOTIFY requests were sent to the SPIRITS UA: – One contained the DP that was triggered – The other one contained a PIDF (Presence Information Data Format) document corresponding to the presence state of the device. Tue, Mar 18, 2003 vkg 56 SPIRITS WG 5
Presence NOTIFY sip: 192. 168. 1. 1: 9090 SIP/2. 0 Content-Type: application/cpim-pidf+xml … Subscription-State: active Content-Length: 416 xml version="1. 0"? > CLOSED In a call since Thu Feb 20 14: 56: 54 2003 sip: 5552207722@lucent. com Tue, Mar 18, 2003 vkg 56 SPIRITS WG 6
Presence Tue, Mar 18, 2003 vkg 56 SPIRITS WG 7
Instant Messaging • SPIRITS UA subscribes to a TAA on a line. • When the event occurs, the PSTN sends two requests to the SPIRITS UA: – The NOTIFY request – A SIP MESSAGE request Tue, Mar 18, 2003 vkg 56 SPIRITS WG 8
Instant Messaging SUBSCRIBE sip: 192. 168. 1. 2: 9001 SIP/2. 0 Allow: SUBSCRIBE, NOTIFY, MESSAGE Accept: application/spirits-event, text/plain Content-Type: application/spirits-event. . . Content-Length: 154 xml version="1. 0"? > 5552202040 Tue, Mar 18, 2003 vkg 56 SPIRITS WG 9
Instant Messaging Tue, Mar 18, 2003 vkg 56 SPIRITS WG 10