from rls tutorial document:
http://www.opensips.org/Resources/Rls
i get impression that rls_handle_subscribe() should return
to_presence_code, if resource list document is not found in xcap server.
however, when i read the code, it has:
if(doc== NULL|| service_node==NULL)
2009/8/28 Juha Heinanen j...@tutpro.com:
from rls tutorial document:
http://www.opensips.org/Resources/Rls
i get impression that rls_handle_subscribe() should return
to_presence_code, if resource list document is not found in xcap server.
however, when i read the code, it has:
Iñaki Baz Castillo writes:
I haven't inspected the code, but rls_handle_subscribe() does what
it's supposed to do (return the preconfigured to $rc when no RL doc is
found).
inaki,
are you sure that it returns pre-configured $rc even when Supported:
header includes 'eventlist', but there
Hi Juha,
You are right, a Subscribe that contains Supported:eventlist header but
for which a list definition is not found, is replied with 404 and not
sent to the presence server. It has been the way described in the
documentation but changed in a commit on 12 November last year:
Revision: 6040
http://opensips.svn.sourceforge.net/opensips/?rev=6040view=rev
Author: anca_vamanu
Date: 2009-08-28 11:33:40 + (Fri, 28 Aug 2009)
Log Message:
---
- revert change made in commit rev #4944: return to_presence code for Subscribe
messages that contain
Revision: 6041
http://opensips.svn.sourceforge.net/opensips/?rev=6041view=rev
Author: anca_vamanu
Date: 2009-08-28 11:38:22 + (Fri, 28 Aug 2009)
Log Message:
---
- revert change made in commit rev #4944: return to_presence code for Subscribe
messages that contain
Anca Vamanu writes:
- revert change made in commit rev #4944: return to_presence code for
- Subscribe messages that contain Supported:eventlist header but for
- which a list definition is not found
anca,
in case of in-dialog subscribe, the module still returns 404 if document
is not
anca,
regarding in-dialog subscribe requests, perhaps it could be checked
in the script if the request is for rls server or not, for example,
checking that request uri matches server_address. if so, then
rls_handle_subscribe would not need to handle non-list subscribes.
-- juha
Revision: 6042
http://opensips.svn.sourceforge.net/opensips/?rev=6042view=rev
Author: anca_vamanu
Date: 2009-08-28 12:35:59 + (Fri, 28 Aug 2009)
Log Message:
---
- if an indialog Subscribe does not match a known dialog, send the Subscribe to
presence server (reported
Hi Juha,
You are right, I fixed that.
Thanks,
Anca
Juha Heinanen wrote:
anca,
regarding in-dialog subscribe requests, perhaps it could be checked
in the script if the request is for rls server or not, for example,
checking that request uri matches server_address. if so, then
Revision: 6043
http://opensips.svn.sourceforge.net/opensips/?rev=6043view=rev
Author: anca_vamanu
Date: 2009-08-28 12:40:44 + (Fri, 28 Aug 2009)
Log Message:
---
- if an indialog Subscribe does not match a known dialog, send the Subscribe to
presence server (reported
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
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
Adrian Georgescu writes:
You can subscribe also to users of remote domains and they are not
local.
sure, but in that case, i'm not calling handle_subscribe, but just
t_relay the request.
so if target of
subscribe is not for a local user, handle it with rls_handle_subscribe
and
Patches item #2846288, was opened at 2009-08-28 17:00
Message generated for change (Tracker Item Submitted) made by viraptor
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=1086412aid=2846288group_id=232389
Please note that this message will contain a full copy of
15 matches
Mail list logo