Guest
Jun 4, 2008 1:08 AM
[OpenSIPStack] Contribute changes to OpenSIPStack?
Hello,
I did some changes to OpenSIPStack. Now my question is if it is possible
to contribute patches?
OpalOSSEndPoint.h.patch: replaced private with protected in
OpalOSSUserAgent to use derived SessionManager.
RegisterSessionManager.cxx.patch: moved creation of "registry" folder to
AddRegistrationRecovery(..) so it is only created if really needed.
Regards,
Matthias
Index: RegisterSessionManager.cxx
===================================================================
RCS file: /cvsroot/opensipstack/opensipstack/src/RegisterSessionManager.cxx,v
retrieving revision 1.45
diff -u -r1.45 RegisterSessionManager.cxx
@@ -507,8 +507,6 @@
#else
m_HasContactRecovery = TRUE;
OString dir = PProcess::Current().GetFile().GetDirectory() + "registry";
#endif
}
@@ -739,6 +737,8 @@
{
PWaitAndSignal lock( m_RegRecoveryMutex );
+ if( !PFile::Exists( m_RegRecoveryDIR.c_str() ) )
+ PDirectory::Create( m_RegRecoveryDIR.c_str() );
OStringStream fn;
fn << m_RegRecoveryDIR << "/" << userURI.GetUser() << "at" << userURI.GetHost() << "_" << userURI.GetPort() << ".log";
Index: OpalOSSEndPoint.h
===================================================================
RCS file: /cvsroot/opensipstack/opensipstack/include/OpalOSSEndPoint.h,v
retrieving revision 1.39
diff -u -r1.39 OpalOSSEndPoint.h
@@ -461,7 +461,7 @@
PINLINE OpalOSSEndPoint & GetOpalEndPoint(){ return m_OpalEndPoint; };
PINLINE OpalOSSCore * GetCore(){return m_Core; };
PINLINE OpalOSSRegistrar * GetRegistrar(){ return m_Registrar; };
OpalOSSEndPoint & m_OpalEndPoint;
OpalOSSCore * m_Core;
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel
I did some changes to OpenSIPStack. Now my question is if it is possible
to contribute patches?
OpalOSSEndPoint.h.patch: replaced private with protected in
OpalOSSUserAgent to use derived SessionManager.
RegisterSessionManager.cxx.patch: moved creation of "registry" folder to
AddRegistrationRecovery(..) so it is only created if really needed.
Regards,
Matthias
Index: RegisterSessionManager.cxx
===================================================================
RCS file: /cvsroot/opensipstack/opensipstack/src/RegisterSessionManager.cxx,v
retrieving revision 1.45
diff -u -r1.45 RegisterSessionManager.cxx
- RegisterSessionManager.cxx 8 Apr 2008 13:12:14 -0000 1.45
@@ -507,8 +507,6 @@
#else
m_HasContactRecovery = TRUE;
OString dir = PProcess::Current().GetFile().GetDirectory() + "registry";
- if( !PFile::Exists( dir.c_str() ) )
- PDirectory::Create( dir.c_str() );
#endif
}
@@ -739,6 +737,8 @@
{
PWaitAndSignal lock( m_RegRecoveryMutex );
+ if( !PFile::Exists( m_RegRecoveryDIR.c_str() ) )
+ PDirectory::Create( m_RegRecoveryDIR.c_str() );
OStringStream fn;
fn << m_RegRecoveryDIR << "/" << userURI.GetUser() << "at" << userURI.GetHost() << "_" << userURI.GetPort() << ".log";
Index: OpalOSSEndPoint.h
===================================================================
RCS file: /cvsroot/opensipstack/opensipstack/include/OpalOSSEndPoint.h,v
retrieving revision 1.39
diff -u -r1.39 OpalOSSEndPoint.h
- OpalOSSEndPoint.h 13 May 2008 08:29:27 -0000 1.39
@@ -461,7 +461,7 @@
PINLINE OpalOSSEndPoint & GetOpalEndPoint(){ return m_OpalEndPoint; };
PINLINE OpalOSSCore * GetCore(){return m_Core; };
PINLINE OpalOSSRegistrar * GetRegistrar(){ return m_Registrar; };
- private:
OpalOSSEndPoint & m_OpalEndPoint;
OpalOSSCore * m_Core;
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel









