Re: [OpenSIPStack] pdif Parser
Brought to you by:
joegenbaclor
From: <jo...@op...> - 2008-08-26 01:22:33
|
Hi Matthias, Are you planning to implement both client and server component for SIMPLE or is your priority just the SoftPhoneInterface for now? I hope you are planning to do both. If by any chance you want to do both, the next step would be to add the capability to OpenSBC to accept PUBLISH messages. You can use SIMPLE aware soft client like XTEN. Once the server is ready, we can then replace the third party UA with an OpenSIPStack based implementation. I am currently re-implementing the Registrar from the ground up so this is the best time to add presence functionality to OpenSBC as well. It's ok if you are only interested in making a UA. Let me know which direction you want to take. Joegen Matthias Dreißig wrote: > Sorry I have no unit test code. I have tested the code by loading and > saving a xml document. > > PXML xmlIn; > xmlIn.LoadFile( "C:\\test.xml" ); > > RFC3863XMLHandler handler; > RFC3863Document * rfcDoc = handler.Parse(xmlIn); > > PXML * xmlOut = 0; > if (rfcDoc) { > xmlOut = handler.CreateXMLDocument(*rfcDoc) > } > > if (xmlOut) { > xmlOut->SaveFile("C:\\test_new.xml"); > } > delete xmlOut; > delete rfcDoc; > > The examples I got from http://www.faqs.org/rfcs/rfc3863.html and > http://www.faqs.org/rfcs/rfc4480.html > > Matthias > > jo...@op... schrieb: > >> Hi Matthias, >> >> Can you include your unit test code as well? >> >> Joegen >> >> Matthias Dreißig wrote: >> >> >>> Hello Joegen, >>> >>> I wanted to wait for the result of your reviewing before I proceed >>> with the parser. Now I've added also the ability to encode XML for the >>> NOTIFY/PUBLISH body. >>> >>> I've tested both with example files from RFC-3863 and RFC-4480 and it >>> seems to work correctly. >>> >>> Matthias >>> >>> jo...@op... schrieb: >>> >>> >>>> Mathias, >>>> >>>> This is looking great! I can see that you have only implemented >>>> handling of incoming PIDF from NOTIFY. We will also need the ability >>>> to encode XML for PUBLISH when the UA initially announces it's >>>> presence status to the presence server. When you get this done, we >>>> can have the music start playing. >>>> >>>> Joegen >>>> >>>> Matthias Dreißig wrote: >>>> >>>> >>>> >>>>> Hi Joegen, >>>>> >>>>> here are my pdif parser classes ready for reviewing. >>>>> >>>>> I'm ready for critique. ;) >>>>> >>>>> Matthias >>>>> >>>>> >>>>> No virus found in this incoming message. >>>>> Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus >>>>> Database: 270.6.7/1628 - Release Date: 8/22/2008 6:32 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 >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------- >>>> >>>> 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 >>>> >>>> >>>> >>>> >>> No virus found in this incoming message. >>> Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: >>> 270.6.7/1631 - Release Date: 8/24/2008 12:15 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 >>> >>> >> >> ------------------------------------------------------------------------- >> 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 >> >> >> > > ------------------------------------------------------------------------- > 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 > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.6.7/1631 - Release Date: 8/24/2008 12:15 PM > > > > |