On 08/18/06 20:52, Javier Ramirez wrote:
When I receive a message whit that two tuples, what is the real state
of the user?
the user has two sip clients (phones) registered, therefore you get the
presence state for two contact addresses - a tuple corresponds to a contact.
I mean, what is the 1st tuple and what is the 2nd?
As you see, the tuple includes the contact address, the presence state
from the tuple is valid for the inside contact address.
What is the valid tuple?
What should I do to know the order of the tuples?
the order of tuples does not matter, the priority of the contact should
reveal the preference of presentity to accept calls.
Cheers,
Daniel
best regards
Javier Ramirez
----- Original Message -----
*From:* samuel <mailto:[EMAIL PROTECTED]>
*To:* Javier Ramirez <mailto:[EMAIL PROTECTED]>
*Cc:* [email protected] <mailto:[email protected]>
*Sent:* Friday, August 18, 2006 5:42 AM
*Subject:* Re: [Devel] PA question
There are two tuples, corresponding to two bindings. One is
available(open) and the other is offline(closed).
Samuel.
2006/8/17, Javier Ramirez <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:
>
>
>
> Hi !
> when I receive this tuples in a NOTIFY, the user is closed or open ?
>
> why?
>
>
> <presence xmlns="urn:ietf:pa
> rams:xml:ns:pidf " entity="pres:[EMAIL PROTECTED]">
> <tuple id="0x 4086b4ecx1606714ex44e4b46b">
> <status><basic>closed</basic></status>
> <contactpriority="1.00">sip:[EMAIL PROTECTED]</contact>
> </tuple>
> <tuple id="0x40863fc8x312c2a9bx44e4b3a1">
> <status><basic>open</basic></status>
> <contact
>
priority="0.00">sip:[EMAIL PROTECTED]:1055;transport=udp</contact>
> </tuple>
>
>
>
>
> _______________________________________________
> Devel mailing list
> [email protected] <mailto:[email protected]>
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
>
------------------------------------------------------------------------
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel