[OpenSIPS-Devel] SUBSCRIBE uses RURI as target instead of To URI
Iñaki Baz Castillo
ibc at aliax.net
Mon Mar 30 16:10:13 CEST 2009
Hi, I've read some threads/reports about presence in OpenSER/OpenSIPS.
Some of them suggest that the presence should be done for the To URI
in the SUBSCRIBE instead of getting it from the RURI. For example:
https://sourceforge.net/tracker/index.php?func=detail&aid=2305495&group_id=139143&atid=743020
This is incorrect. SUBSCRIBE is end to end as INVITE or MESSAGE.
REGISTER is the *only* case in which the RURI doesn't mean the target
of the action (but the To URI). When a UA creates a SUBSCRIBE request
it must follow the same rules as when it creates an INVITE, and them
include cloning the RURI and To URI..
Then, I don't know if OpenSIPS presence module inspects the RURI or
the To URI, but it should inspect the RURI.
This requieres that, in case of a separate presence server, the proxy
should route the SUBSCRIBE's to the presence server without modifying
the RURI, this is, setting $du instead of $ru.
Could you please clarify me on it? Thanks.
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the Devel
mailing list