[sr-dev] Notifying RLS when XML documents are updated

Peter Dunkley peter.dunkley at crocodile-rcs.com
Tue Apr 19 11:04:51 CEST 2011


Thanks Daniel,

I'll take a look at those and see if I can add RLS equivalents.

Peter

On Mon, 2011-04-18 at 20:36 +0200, Daniel-Constantin Mierla wrote:

> Perhaps the rls module needs to implement and export functions to 
> configuration file in the same fashion the presence module does with:
> http://kamailio.org/docs/modules/stable/modules_k/presence.html#id2629336
> http://kamailio.org/docs/modules/stable/modules_k/presence.html#id2629336
> 
> When I added the xcap_server, I implemented the two functions for the 
> SIMPLE presence module, but not for RLS - lack of clients with rls 
> support. The needed code is in rls module, from selecting the xcap 
> document and processing it to send subscribes, it needs to be polished 
> to be executed not for a subscribe, but for a cfg function call with 
> parameters.
> 
> Cheers,
> Daniel
> 
> On 4/18/11 6:10 PM, Klaus Darilion wrote:
> > RLS module could poll for changes:
> >    select ... where last_updated>  "last_query"
> >
> > I have no idea if something like this is already implemented.
> >
> > regards
> > klaus
> >
> > Am 18.04.2011 16:01, schrieb Peter Dunkley:
> >> I am using Kamailio RLS with the Kamailio XCAP Server in integrated
> >> mode.  Therefore, there are no subscriptions between RLS and XCAP server
> >> here.
> >>
> >> Any suggestions as to what the correct thing to do with the Kamailio
> >> XCAP Server in this scenario would be appreciated.
> >>
> >> Regards,
> >>
> >> Peter
> >>
> >> On Mon, 2011-04-18 at 15:21 +0200, Klaus Darilion wrote:
> >>> Am 18.04.2011 14:54, schrieb Peter Dunkley:
> >>>> I am using Kamailio RLS and integrated XCAP Server.  When I add a
> >>>> contact with my client it updates my XCAP documents but there is no
> >>>> additional SIP messaging between the client and Kamailio.
> >>>>
> >>>> I have been assured (by the client author) that this is the correct
> >>>> behaviour.  However, having looked at both the XCAP Server and RLS
> >>>> module code I cannot see anything that will either inform RLS that a
> >>>> document has been updated or a timer to check for that.
> >>> Of course the RLS should get informed about changes to the resource list
> >>> to update backend subscriptions. Maybe RLS module should subscribe
> >>> watcher events to XCAP server.....
> >>>
> >>> klaus
> >>>
> >>> _______________________________________________
> >>> sr-dev mailing list
> >>> sr-dev at lists.sip-router.org<mailto:sr-dev at lists.sip-router.org>
> >>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
> >> -- 
> >> Peter Dunkley
> >> Technical Director
> >> Crocodile RCS Ltd
> >>
> >>
> >>
> >> _______________________________________________
> >> sr-dev mailing list
> >> sr-dev at lists.sip-router.org
> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
> > _______________________________________________
> > sr-dev mailing list
> > sr-dev at lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
> 


-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20110419/ed75ea03/attachment.htm>


More information about the sr-dev mailing list