Hi Anca,

Thanks for your reply.

What I would like to do is:

1. There is a subscriber sip:[email protected]

2. He has two endpoints registered:
   a) sip:[email protected]:43431 (UA1) - presence "online"
   b) sip:[email protected]:23433 (UA2) - presence "away"

3. When incoming MESSAGE request is processed by opensips, I would
like to relay it ONLY to UA1, and not to UA2 (since it is "away").

But I understand the above is not possible at the moment?

Would it not be useful to add "contact" column to "presentity" table,
so we could map presence status to particular contact? And relay
messages only to contacts with "OPEN" ("online") presence ?

Regards,
Chris


On 9 February 2010 09:39, Anca Vamanu <[email protected]> wrote:
> Hi Chris,
>
> Presence does not care about the contact, but uses some other
> identifiers found in the body of the Publish message. Publish messages
> comming from the same endpoint should have the same tuple id. However
> there is not mapping kept at the server now with the ip address and the
> tuple id ( because this was not needed).
>
>
> Regards,
>
> --
> Anca Vamanu
> www.voice-system.ro
>
>

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to