4 Replies Last post: Sep 2, 2008 11:59 AM by Guest  
Guest

Aug 28, 2008 5:12 AM

[OpenSIPStack] OpalOSSEndPoint change request

Hello Joegen,

I have a change request. If it's ok please commit the changes. Patch
files are in attachment.

Motivation: With my changes it's possible to set your own subclassed
OpalOSSUserAgent and SessionManager. The default behavior is the same
as before.

Matthias
Index: OpalOSSEndPoint.h
===================================================================
RCS file: /cvsroot/opensipstack/opensipstack/include/OpalOSSEndPoint.h,v
retrieving revision 1.43
diff -u -r1.43 OpalOSSEndPoint.h
      • OpalOSSEndPoint.h 4 Jun 2008 05:54:45 -0000 1.43
+ OpalOSSEndPoint.h 28 Aug 2008 09:01:57 -0000
@@ -218,7 +218,7 @@
public:

OpalOSSEndPoint(
  • OpalManager & manager
+ OpalManager & manager, bool createUserAgent = TRUE
);

virtual ~OpalOSSEndPoint();
@@ -435,7 +435,7 @@
public:

OpalOSSUserAgent(
  • OpalOSSEndPoint & ep
+ OpalOSSEndPoint & ep, bool createSessionManager = TRUE
);
virtual ~OpalOSSUserAgent();

Index: OpalOSSEndPoint.cxx
===================================================================
RCS file: /cvsroot/opensipstack/opensipstack/src/OpalOSSEndPoint.cxx,v
retrieving revision 1.58
diff -u -r1.58 OpalOSSEndPoint.cxx

      • OpalOSSEndPoint.cxx 4 Jun 2008 02:55:34 -0000 1.58
+ OpalOSSEndPoint.cxx 28 Aug 2008 09:03:48 -0000
@@ -463,12 +463,16 @@
///////////////////////////////////////////////////////////////////

OpalOSSEndPoint::OpalOSSEndPoint(
  • OpalManager & manager
+ OpalManager & manager, bool createUserAgent/* = TRUE*/
) : OpalEndPoint( manager, OPAL_OSS_PREFIX, CanTerminateCall )
{
m_RegisterExpires = PTimeInterval( 0, 3600 );
m_IsRegistered = FALSE;
  • m_OSSUserAgent = new OpalOSSUserAgent( *this );
+ m_OSSUserAgent = NULL;
+
+ if (createUserAgent) {
+ m_OSSUserAgent = new OpalOSSUserAgent( *this );
+ }
}

OpalOSSEndPoint::~OpalOSSEndPoint()
@@ -1168,12 +1172,18 @@

OpalOSSUserAgent::OpalOSSUserAgent(

  • OpalOSSEndPoint & ep
+ OpalOSSEndPoint & ep, bool createSessionManager/* = TRUE*/
) : SIPUserAgent( "OPAL" ), m_OpalEndPoint( ep )
{
  • m_Core = new OpalOSSCore( *this, ep );
  • m_Registrar = new OpalOSSRegistrar( *this, ep );
  • m_RFC3680Client = new RFC3680Client( *this );
+ m_Core = NULL;
+ m_Registrar = NULL;
+ m_RFC3680Client = NULL;
+
+ if (createSessionManager) {
+ m_Core = new OpalOSSCore( *this, m_OpalEndPoint );
+ m_Registrar = new OpalOSSRegistrar( *this, m_OpalEndPoint );
+ m_RFC3680Client = new RFC3680Client( *this );
+ }
}

OpalOSSUserAgent::~OpalOSSUserAgent()


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
1. Aug 28, 2008 8:57 PM in response to: Guest
Re: [OpenSIPStack] OpalOSSEndPoint change request
Hi Mthias,

I'm up to the throat right now coding for shared line appearance
feature of OpenSBC. I will review the patches when i get the chance
perhaps over the weekend.

Joegen

Matthias Dreißig wrote:
Hello Joegen,

I have a change request. If it's ok please commit the changes. Patch
files are in attachment.

Motivation: With my changes it's possible to set your own subclassed
OpalOSSUserAgent and SessionManager. The default behavior is the
same as before.

Matthias


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 31, 2008 9:14 PM in response to: Guest
Re: [OpenSIPStack] OpalOSSEndPoint change request
Hi Matthias,

Patch is in CVS. Modified ANSI bool declaration to type definition BOOL
for consistency with existing code.

Joegen

Matthias Dreißig wrote:
Hello Joegen,

I have a change request. If it's ok please commit the changes. Patch
files are in attachment.

Motivation: With my changes it's possible to set your own subclassed
OpalOSSUserAgent and SessionManager. The default behavior is the
same as before.

Matthias


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
3. Sep 1, 2008 3:00 PM in response to: Guest
Re: [OpenSIPStack] OpalOSSEndPoint change request
Thanks.

Please let me know if you are finished with creating the branch for
presence and what are the next steps.

Greetings,
Matthias

joegen@opensipstack.org schrieb:
Hi Matthias,

Patch is in CVS. Modified ANSI bool declaration to type definition BOOL
for consistency with existing code.

Joegen

Matthias Dreißig wrote:

Hello Joegen,

I have a change request. If it's ok please commit the changes. Patch
files are in attachment.

Motivation: With my changes it's possible to set your own subclassed
OpalOSSUserAgent and SessionManager. The default behavior is the
same as before.

Matthias


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. Sep 2, 2008 11:59 AM in response to: Guest
Re: [OpenSIPStack] OpalOSSEndPoint change request
Matthias,

Kindly wait until i've normalized CVS head of all the changes for SLA.
Sorry for the delay. SLA is a paid development. Need to prioritize
the dollar earner. :-)

Joegen

Matthias Dreißig wrote:
Thanks.

Please let me know if you are finished with creating the branch for
presence and what are the next steps.

Greetings,
Matthias

joegen@opensipstack.org schrieb:

Hi Matthias,

Patch is in CVS. Modified ANSI bool declaration to type definition BOOL
for consistency with existing code.

Joegen

Matthias Dreißig wrote:

Hello Joegen,

I have a change request. If it's ok please commit the changes. Patch
files are in attachment.

Motivation: With my changes it's possible to set your own subclassed
OpalOSSUserAgent and SessionManager. The default behavior is the
same as before.

Matthias


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



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