Kaushik

To better explain ur query, consider the following scenario

User A has 3 registered contacts: A_1, A_2 and A_3.
Say user B has subscribed to A - more precisely to contacts A_1 and A_2.


Then as per procedures in RFC 3680, B would be notified whenever there
is a registration state change for either A_1 or A_2.

Say A_1 transitions from "active" to "inactive" state with event as
"rejected" then B would get notification as:

<?xml version="1.0"?>
   <reginfo xmlns="urn:ietf:params:xml:ns:reginfo"
             version="1" state="partial">
     <registration aor="sip:[EMAIL PROTECTED]" id="a7" state="active">
       <contact id="76" state="inactive" event="rejected"
             duration-registered="0">
          <uri>sip:[EMAIL PROTECTED]</uri>
       </contact>
     </registration>
   </reginfo>

Similarly say A_2 has transitioned to "inactive" with event as
"deactivated", then B would get notification as:

<?xml version="1.0"?>
   <reginfo xmlns="urn:ietf:params:xml:ns:reginfo"
             version="1" state="partial">
     <registration aor="sip:[EMAIL PROTECTED]" id="a7" state="active">
       <contact id="77" state="inactive" event="deactivated"
             duration-registered="0">
          <uri>sip:[EMAIL PROTECTED]</uri>
       </contact>
     </registration>
   </reginfo>


Regards
Ranjit

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Naarumanchi Kaushik
Sent: Friday, December 05, 2008 2:34 PM
To: sip-implementors@lists.cs.columbia.edu
Subject: [Sip-implementors] Query on RFC 3680.

Hi All,

According to RFC 3680, when a user subscribes for reg event package, he
would receive notifications for any state change in the registered
contacts under that AOR.

If an AOR is registered with multiple contacts and then subscribed to
reg event package, is it possible to receive notifications with
different events for these contacts or do we get  the same event for all
the contacts?

And if we could get multiple events, in what scenarios could this
happen?

For eg. If UserA registers with two contacts.
Is it possible to receive a rejected event on first contact and
deactivated event on second contact.



--
N.V.S.Kaushik.
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to