[Devel] PA question

Daniel-Constantin Mierla daniel at voice-system.ro
Mon Aug 21 11:31:46 CEST 2006



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:samu60 at gmail.com>
>     *To:* Javier Ramirez <mailto:jvr_78 at yahoo.com.ar>
>     *Cc:* devel at openser.org <mailto:devel at openser.org>
>     *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 <jvr_78 at yahoo.com.ar
>     <mailto:jvr_78 at yahoo.com.ar>>:
>     >
>     >
>     >
>     > 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:jejenet.com at 200.81.213.171">
>     > <tuple id="0x 4086b4ecx1606714ex44e4b46b">
>     >     <status><basic>closed</basic></status>
>     >     <contactpriority="1.00">sip:jejenet.com at 200.81.213.171</contact>
>     > </tuple>
>     > <tuple id="0x40863fc8x312c2a9bx44e4b3a1">
>     > <status><basic>open</basic></status>
>     > <contact
>     >
>     priority="0.00">sip:jejenet.com at 209.99.227.89:1055;transport=udp</contact>
>     > </tuple>
>     >
>     >
>     >
>     >
>     > _______________________________________________
>     > Devel mailing list
>     > Devel at openser.org <mailto:Devel at openser.org>
>     > http://openser.org/cgi-bin/mailman/listinfo/devel
>     >
>     >
>     >
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>   



More information about the Devel mailing list