Re: [OpenSIPStack] WatchRegistrationState
Brought to you by:
joegenbaclor
From: Joegen E. B. <joe...@gm...> - 2008-08-19 16:32:16
|
Matthias Dreißig wrote: > Hello Joegen, > > I want to try to create the presence functionality and if it all works > fine I will donate the code to the project. Thats great! ;-) > > I have some questions. > Is it possible to get the classes for parsing the xml documents, > perhaps I could reuse it? Of course. There are a lot of modules that demonstrates the use of the expat wrapper. One good example is OSSAppConfig::CreatePage() where you can find the code responsible for dynamically creating HTTP admin pages from oss-application.conf.xml. > Where I could start? > Create SIPSessionManager. > Process events in OpalOSSUserAgent to this SessionManager if method > is SUBSCRIBE or NOTIFY and event is presence. Before delving into the actual event package, I suggest that you come up with the PIDF parser classes first and submit them so it can be reviewed., just as a SIP Stack starts with the parser before delving into the complexity of state machines ;-) > What I should use from RFC3265 code and what i do not need? Yes. RFC3265 code is pretty much complete in opensipstack. > Are the RFC3680 implementations working, so I could see how it has to > work? Partially. I won't say it's functional for reasons I have already stated in this thread. > > PS: I found a little bug in RFC3265Client.h see attachment. > Can you give a little explanation what the bug is all about? > Thanks > Matthias > > jo...@op... schrieb: >> Not at this point. Once upon a time, there were already classes for >> parsing PIDF but due to the absence of dedicated manpower, it >> remained dormant. I decided to removed them starting version 1.1.4 >> of OpenSBC. It has support for messaging though, but not presence. >> However, it should be "relatively" easy to create your own presence >> functionality using the RFC3256 classes. Feel free to donate your >> code to the project if you decide to give it a shot. >> >> Matthias Dreißig wrote: >> >>> So there is no support for presence in opensipstack at this time? >>> >>> Joegen E. Baclor schrieb: >>> >>>> Matthias Dreißig wrote: >>>> >>>>> Hi everyone, >>>>> >>>>> how do I use WatchRegistrationState(const SIPURI & stateAgent, >>>>> const SIPURI & resourceURI, const PTimeInterval & expires, const >>>>> OString & authUser, const OString & authPassword). What do I have >>>>> to process to this call? >>>>> >>>> Ouch! This method is an attempt to support RFC 3680 ( >>>> http://www.ietf.org/rfc/rfc3680.txt ). I did not get the chance >>>> to revisit this work for a long time so it remains a work in >>>> progress at this point. I am itching to get this supported in >>>> OpalOSS and OSBC though (hint, hint, hint Ilian ;-)) . >>>> >>>> >>>> >>>>> Regards, >>>>> M. Dreißig >>>>> >>>>> ------------------------------------------------------------------------- >>>>> >>>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>>>> Don't miss this year's exciting event. There's still time to save >>>>> $100. Use priority code J8TL2D2. >>>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>>>> >>>>> _______________________________________________ >>>>> opensipstack-devel mailing list >>>>> ope...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------- >>>> >>>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>>> Don't miss this year's exciting event. There's still time to save >>>> $100. Use priority code J8TL2D2. >>>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>>> >>>> _______________________________________________ >>>> opensipstack-devel mailing list >>>> ope...@li... >>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>> >>>> >>> ------------------------------------------------------------------------- >>> >>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>> Don't miss this year's exciting event. There's still time to save >>> $100. Use priority code J8TL2D2. >>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>> >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >> >> >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save >> $100. Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: > 270.6.5/1619 - Release Date: 8/18/2008 5:39 PM > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel |