[OpenSIPS-Devel] SF.net SVN: opensips:[6043] branches/1.5/modules/rls/subscribe.c

Adrian Georgescu ag at ag-projects.com
Fri Aug 28 15:29:56 CEST 2009


On Aug 28, 2009, at 3:01 PM, Juha Heinanen wrote:

> Anca Vamanu writes:
>
>> - if an indialog Subscribe does not match a known dialog, send the
>> - Subscribe to presence server (reported by Juha Heinanen)
>
> anca,
>
> thanks for the fix.
>
> after thinking a bit more this, it should be possible to distinguish  
> in
> script if an initial subscribe possibly is for rls server, because
> normal subscribes are for uris of local users.

You can subscribe also to users of remote domains and they are not  
local.

>  so if target of
> subscribe is not for a local user, handle it with rls_handle_subscribe
> and return 404 if it fails.

This is wrong for the reason above.

There was a reason for handling the way it was, too bad Dan is in  
holiday and could not comment.

Adrian

>
> -- juha
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


--
Adrian








More information about the Devel mailing list