7 Replies Last post: Aug 25, 2008 9:22 PM by Guest  
Guest

Aug 25, 2008 6:45 AM

[OpenSIPStack] pdif Parser

Guest
1. Aug 25, 2008 6:45 AM in response to: Guest
Re: [OpenSIPStack] pdif Parser
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

joegen@opensipstack.org 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
opensipstack-devel@lists.sourceforge.net
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
opensipstack-devel@lists.sourceforge.net
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
opensipstack-devel@lists.sourceforge.net
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
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
2. Aug 25, 2008 7:09 AM in response to: Guest
[OpenSIPStack] OpenSBC binary crashes
Hello Joegen,

I have installed OpenSBC on windows 2003 server. I have configured it as per
instructions in manual and tried to register Xten and OSS phone with it.

I can see register messages reach OpenSBC but OpenSBC crashes just after it
sends "Trying" to SIP client. I enabled debug level 5 but i do not see any
cause of exception.

I do not understand whats wrong.

Regards,

Manoj


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
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
3. Aug 25, 2008 7:54 AM in response to: Guest
Re: [OpenSIPStack] pdif Parser
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

joegen@opensipstack.org 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

joegen@opensipstack.org 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
opensipstack-devel@lists.sourceforge.net
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
opensipstack-devel@lists.sourceforge.net
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
opensipstack-devel@lists.sourceforge.net
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
opensipstack-devel@lists.sourceforge.net
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
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
4. Aug 25, 2008 8:03 AM in response to: Guest
Re: [OpenSIPStack] OpenSBC binary crashes
Version of OpenSBC?. Did you compile it in the same server or you just
copied the binary and corresponding DLLS? A crash in 100 trying is
indicative that there is something terribly wrong with your binary.

Manoj Kumar Joshi wrote:
Hello Joegen,

I have installed OpenSBC on windows 2003 server. I have configured it as per
instructions in manual and tried to register Xten and OSS phone with it.

I can see register messages reach OpenSBC but OpenSBC crashes just after it
sends "Trying" to SIP client. I enabled debug level 5 but i do not see any
cause of exception.

I do not understand whats wrong.

Regards,

Manoj


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
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
5. Aug 25, 2008 8:39 AM in response to: Guest
Re: [OpenSIPStack] OpenSBC binary crashes
I have downloaded the binary from webpage and installed it on windows 2003
server.

Regards,

Manoj

-----Original Message-----
From: joegen@opensipstack.org joegen.baclor@gmail.com
Sent: Monday, August 25, 2008 5:33 PM
To: manoj@ascenttelecom.com
Cc: opensipstack-devel@lists.sourceforge.net
Subject: Re: OpenSBC binary crashes

Version of OpenSBC?. Did you compile it in the same server or you just
copied the binary and corresponding DLLS? A crash in 100 trying is
indicative that there is something terribly wrong with your binary.

Manoj Kumar Joshi wrote:

Hello Joegen,

I have installed OpenSBC on windows 2003 server. I have configured it as
per
instructions in manual and tried to register Xten and OSS phone with it.

I can see register messages reach OpenSBC but OpenSBC crashes just after
it
sends "Trying" to SIP client. I enabled debug level 5 but i do not see any
cause of exception.

I do not understand whats wrong.

Regards,

Manoj


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


--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 270.6.6/1626 - Release Date: 8/21/2008
6:54 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
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
6. Aug 25, 2008 8:39 AM in response to: Guest
Re: [OpenSIPStack] OpenSBC binary crashes
I suggest that you compile it in the box. The setup application is very
old and was compiled in windows XP. I won't be surprised if the DLLs
that went with the setup is not compatible with windows 2003 server.

Joegen

Manoj Kumar Joshi wrote:
I have downloaded the binary from webpage and installed it on windows 2003
server.

Regards,

Manoj

-----Original Message-----
From: joegen@opensipstack.org joegen.baclor@gmail.com
Sent: Monday, August 25, 2008 5:33 PM
To: manoj@ascenttelecom.com
Cc: opensipstack-devel@lists.sourceforge.net
Subject: Re: OpenSBC binary crashes

Version of OpenSBC?. Did you compile it in the same server or you just
copied the binary and corresponding DLLS? A crash in 100 trying is
indicative that there is something terribly wrong with your binary.

Manoj Kumar Joshi wrote:

Hello Joegen,

I have installed OpenSBC on windows 2003 server. I have configured it as
per

instructions in manual and tried to register Xten and OSS phone with it.

I can see register messages reach OpenSBC but OpenSBC crashes just after
it

sends "Trying" to SIP client. I enabled debug level 5 but i do not see any
cause of exception.

I do not understand whats wrong.

Regards,

Manoj


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




--
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 270.6.6/1626 - Release Date: 8/21/2008
6:54 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
opensipstack-devel@lists.sourceforge.net
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
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
Guest
7. Aug 25, 2008 9:22 PM in response to: Guest
Re: [OpenSIPStack] pdif Parser
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

joegen@opensipstack.org 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

joegen@opensipstack.org 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
opensipstack-devel@lists.sourceforge.net
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
opensipstack-devel@lists.sourceforge.net
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
opensipstack-devel@lists.sourceforge.net
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
opensipstack-devel@lists.sourceforge.net
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
opensipstack-devel@lists.sourceforge.net
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
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel