[OpenSIPS-Devel] SUBSCRIBE uses RURI as target instead of To URI

Anca Vamanu anca at opensips.org
Mon Mar 30 16:30:12 CEST 2009


Hi Inaki,

Iñaki Baz Castillo wrote:
> 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.
>
>   
The presence module inspects the R-URI  considering it to hold the 
presentity uri as is ought to be.
Indeed, the proxy must not change the R-URI.

regards,
Anca
> Could you please clarify me on it? Thanks.
>
>   




More information about the Devel mailing list