opensipstack-devel Mailing List for OpenSIPStack (Page 18)
Brought to you by:
joegenbaclor
You can subscribe to this list here.
2006 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(5) |
Jun
(12) |
Jul
(4) |
Aug
(3) |
Sep
(24) |
Oct
(45) |
Nov
(41) |
Dec
(67) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(51) |
Feb
(93) |
Mar
(54) |
Apr
(76) |
May
(114) |
Jun
(133) |
Jul
(124) |
Aug
(180) |
Sep
(53) |
Oct
(41) |
Nov
(109) |
Dec
(92) |
2008 |
Jan
(52) |
Feb
(40) |
Mar
(29) |
Apr
(40) |
May
(83) |
Jun
(68) |
Jul
(30) |
Aug
(72) |
Sep
(50) |
Oct
(48) |
Nov
(25) |
Dec
(80) |
2009 |
Jan
(9) |
Feb
(2) |
Mar
(32) |
Apr
(67) |
May
|
Jun
(7) |
Jul
(7) |
Aug
(4) |
Sep
(3) |
Oct
|
Nov
(6) |
Dec
(2) |
2010 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
(10) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(5) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Thomas R. <tho...@it...> - 2008-08-11 14:04:48
|
Joegen, Thanks for your reply. Is there a new build of ossphone / solegy dialer with this fix already applied or do I have to build it myself? (If I have to build it myself, I assume I need to use CVS as 1.1.7 has been out for a while right?) Regards > -----Original Message----- > From: ope...@li... > [mailto:ope...@li...] On Behalf Of > jo...@op... > Sent: Monday, August 11, 2008 16:02 > To: ope...@li... > Subject: Re: [OpenSIPStack] OSSPhone / Solegy Dialer Registration from > tag > > Thomas, > > This was already fixed by Ilian in CVS since last May 2008. > > * Revision 1.69 2008/05/05 03:32:13 ijpinzon > * Do not change From tag when sending a REGISTER as a response to a > challenge. > > I just made some new changes to make 401 responses not change the from > tag as well. > > Joegen > > Thomas Raschbacher wrote: > > Hi. > > > > I've been testing solegy desktop dialer / oss phone with our SIP > server and noticed that the registration fails because the REGISTER > with the authorization header does have a different from-tag which we > don't allow. Is there any way to override this when using just the > active control? > > > > What happens exactly is the following: > > > > REGISTER from phone with From-tag 1 > > TRYING from Service (this is a default answer which we send > > immediately) > > 401 Unauthorized from Service with www-authenticate header REGISTER > > from phone with From-tag 2 TRYING from Service > > 401 Unauthorized > > > > Call id's are the same but from tags vary. > > > > As far as I know this check was implemented for security reasons to > make sure it is the same client. > > > > Any help appreciated. > > > > Regards, > > Thomas Raschbacher > > P.S.: if i have to change this in the OSS code and re-compile the > activeX control I can live with it too of course but I'd need to know > what I have to do. > > > > Mit freundlichen Grüßen > > Thomas Raschbacher > > ____________________________________________ > > itCampus Technology GmbH > > Österreich * Deutschland * Italien > > Dresdner Straße 45 /DG > > 1200 Wien > > tho...@it... > > Tel: +43 (1) 890 22 82 - 58 > > Fax: +43 (1) 890 22 82 - 958 > > http://www.itctec.com > > UID: ATU 6339 0618 > > Firmenbuchnr: FN292598t, Handelsgericht Wien > > Geschäftsführer: Andreas Günser, Andreas Lassmann Joint Venture > von > > itCampus und MEC > > > > itCampus Gruppe > > Deutschland * Großbritannien * Italien * Österreich * Schweiz * > > Slowakei http://www.itcampus.eu > > > > > > --------------------------------------------------------------------- > - > > --- 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 > > 6‹â®ë¢éÝŠ{aŠÈ§r‰¢ž ž²Æ x(^rGo > m§ÿðïÊ&Uê슉üÓ]üýX«ºÀÚµ¦Ú±í»Ó?×7Eé^jǃj×¼ÿ]?ÛM<ë]ÏM=== > > |
From: <jo...@op...> - 2008-08-11 14:02:30
|
Thomas, This was already fixed by Ilian in CVS since last May 2008. * Revision 1.69 2008/05/05 03:32:13 ijpinzon * Do not change From tag when sending a REGISTER as a response to a challenge. I just made some new changes to make 401 responses not change the from tag as well. Joegen Thomas Raschbacher wrote: > Hi. > > I've been testing solegy desktop dialer / oss phone with our SIP server and noticed that the registration fails because the REGISTER with the authorization header does have a different from-tag which we don't allow. Is there any way to override this when using just the active control? > > What happens exactly is the following: > > REGISTER from phone with From-tag 1 > TRYING from Service (this is a default answer which we send immediately) > 401 Unauthorized from Service with www-authenticate header REGISTER from phone with From-tag 2 TRYING from Service > 401 Unauthorized > > Call id's are the same but from tags vary. > > As far as I know this check was implemented for security reasons to make sure it is the same client. > > Any help appreciated. > > Regards, > Thomas Raschbacher > P.S.: if i have to change this in the OSS code and re-compile the activeX control I can live with it too of course but I'd need to know what I have to do. > > Mit freundlichen Grüßen > Thomas Raschbacher > ____________________________________________ > itCampus Technology GmbH > Österreich * Deutschland * Italien > Dresdner Straße 45 /DG > 1200 Wien > tho...@it... > Tel: +43 (1) 890 22 82 - 58 > Fax: +43 (1) 890 22 82 - 958 > http://www.itctec.com > UID: ATU 6339 0618 > Firmenbuchnr: FN292598t, Handelsgericht Wien > Geschäftsführer: Andreas Günser, Andreas Lassmann > Joint Venture von itCampus und MEC > > itCampus Gruppe > Deutschland * Großbritannien * Italien * Österreich * Schweiz * Slowakei > http://www.itcampus.eu > > > ------------------------------------------------------------------------- > 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 > 6‹â®ë¢éÝŠ{aŠÈ§r‰¢ž ž²Æ x(^rGo m§ÿðïÊ&Uê슉üÓ]üýX«ºÀÚµ¦Ú±í»Ó?×7Eé^jǃj×¼ÿ]?ÛM<ë]ÏM=== |
From: Thomas R. <tho...@it...> - 2008-08-11 13:30:31
|
Hi. I've been testing solegy desktop dialer / oss phone with our SIP server and noticed that the registration fails because the REGISTER with the authorization header does have a different from-tag which we don't allow. Is there any way to override this when using just the active control? What happens exactly is the following: REGISTER from phone with From-tag 1 TRYING from Service (this is a default answer which we send immediately) 401 Unauthorized from Service with www-authenticate header REGISTER from phone with From-tag 2 TRYING from Service 401 Unauthorized Call id's are the same but from tags vary. As far as I know this check was implemented for security reasons to make sure it is the same client. Any help appreciated. Regards, Thomas Raschbacher P.S.: if i have to change this in the OSS code and re-compile the activeX control I can live with it too of course but I'd need to know what I have to do. Mit freundlichen Grüßen Thomas Raschbacher ____________________________________________ itCampus Technology GmbH Österreich * Deutschland * Italien Dresdner Straße 45 /DG 1200 Wien tho...@it... Tel: +43 (1) 890 22 82 - 58 Fax: +43 (1) 890 22 82 - 958 http://www.itctec.com UID: ATU 6339 0618 Firmenbuchnr: FN292598t, Handelsgericht Wien Geschäftsführer: Andreas Günser, Andreas Lassmann Joint Venture von itCampus und MEC itCampus Gruppe Deutschland * Großbritannien * Italien * Österreich * Schweiz * Slowakei http://www.itcampus.eu |
From: <jo...@op...> - 2008-08-06 15:05:23
|
Robert, Dependency walker should be able to tell you what DLLs are missing. See http://dependencywalker.com/ Joegen Robert Vos wrote: > Hi, > > > > I am using ATLSIP.dll (it works great, thanks) but am having troubles > registering it on one computer. > > > > It gives error: application failed to initialize, try reinstalling the > application might fix the problem. > > > > I was wondering about what dependencies the dll has ( .NET, Windows Service > Pack, ...). > > > > Regards, > > Robert Vos > > > ------------------------------------------------------------------------- > 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.5.12/1594 - Release Date: 8/5/2008 9:49 PM > > > > |
From: Christian W. <cwa...@gm...> - 2008-08-06 15:02:20
|
Hi Robert, I think, the the Library is missing some required DLL's. You can find out which one is missing with a tool named Depends.exe which is shipped with the VS.NET. Kind regards Christian -----Ursprüngliche Nachricht----- Von: ope...@li... [mailto:ope...@li...] Im Auftrag von Robert Vos Gesendet: Mittwoch, 6. August 2008 16:07 An: ope...@op...; ope...@li... Betreff: [OpenSIPStack] ATLSIP.dll dependancies Hi, I am using ATLSIP.dll (it works great, thanks) but am having troubles registering it on one computer. It gives error: application failed to initialize, try reinstalling the application might fix the problem. I was wondering about what dependencies the dll has ( .NET, Windows Service Pack, ...). Regards, Robert Vos ------------------------------------------------------------------------- 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.5.12/1595 - Release Date: 06.08.2008 08:23 |
From: Robert V. <ro...@dc...> - 2008-08-06 14:07:43
|
Hi, I am using ATLSIP.dll (it works great, thanks) but am having troubles registering it on one computer. It gives error: application failed to initialize, try reinstalling the application might fix the problem. I was wondering about what dependencies the dll has ( .NET, Windows Service Pack, ...). Regards, Robert Vos |
From: Koushik P. <jay...@gm...> - 2008-08-05 09:49:00
|
Hi Joegen, I am presently using Visual Studio 2005 Team Suite Edition and the development language is VC++ 2005. Tell me if there is any compatibility issues... if so, please let me know an alternate approach to this? cheers, jay On Mon, Aug 4, 2008 at 7:37 PM, jo...@op... < joe...@gm...> wrote: > What version of visual studio are you using? > > Koushik PSR wrote: > > Hello Joegen, > > > > I am afraid the previous mail of mine has been rejected at Opensipstack > > forums and i dont know why, I just received Mail bounce notice from > Yahoo... > > > > > > check out my previous mail please!! > > > > cheers, > > Jay > > > ======================================================================================================== > > > > Hello Joegen, > > > > I hope i am not wrong this time around.. I have a genuine linker > problems... > > I will paste the relevant information below.. I think there is a conflict > > between opensipstackd.lib and the default MFC Libraries like... > nafxcwd.lib > > msvcprtd.lib and libcmtd.lib, I think some of the project settings > > parameters are wrong.... I have compared the same with OSSPhone project > > settings and it seems to matching one on one... the only difference is > that > > my project is based on Single Document interface whereas I beleive > OssPhone > > is based on simple Dialog based project, am I right in understanding > this? > > if so tell me how can I make this work with SDI projects? > > > > Here goes the Error output: > > > > ------ Build started: Project: VQubeExtreme, Configuration: Release Win32 > > ------ > > Linking... > > SipStack.obj : fatal error LNK1276: invalid directive 'Files/Microsoft' > > found; does not start with '/' > > Build log was saved at > > "file://i:\PROJECTEXTREME\VQubeExtreme\VQubeExtreme\Release\BuildLog.htm" > > VQubeExtreme - 1 error(s), 0 warning(s) > > ------ Build started: Project: VQubeExtreme, Configuration: Debug Win32 > > ------ > > Linking... > > nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator > > new[](unsigned int)" (??_U@YAPAXI@Z) already defined in > > opensipstackd.lib(object.obj) > > nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator > > delete[](void *)" (??_V@YAXPAX@Z) already defined in > > opensipstackd.lib(object.obj) > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> > > > >> ::~basic_streambuf<char,struct std::char_traits<char> >(void)" > >> > > (??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAE@XZ) already > defined > > in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> > > > >> ::basic_streambuf<char,struct std::char_traits<char> >(void)" > >> > > (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ) already > defined > > in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall > > std::basic_ios<char,struct std::char_traits<char> > >::~basic_ios<char,struct > > std::char_traits<char> >(void)" (??1?$basic_ios@DU?$char_traits@D@std@ > @@std@ > > @UAE@XZ) already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class > > std::basic_streambuf<char,struct std::char_traits<char> > * __thiscall > > std::basic_ios<char,struct std::char_traits<char> >::rdbuf(void)const " > > (?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@ > @QBEPAV?$basic_streambuf@DU > > ?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall > > std::basic_ios<char,struct std::char_traits<char> > >::basic_ios<char,struct > > std::char_traits<char> >(void)" (??0?$basic_ios@DU?$char_traits@D@std@ > @@std@ > > @IAE@XZ) already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall > > std::ios_base::flags(void)const " (?flags@ios_base@std@@QBEHXZ) already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > > std::basic_ios<char,struct std::char_traits<char> >::clear(int,bool)" > > (?clear@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already > defined > > in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class > > std::basic_ostream<char,struct std::char_traits<char> > & __thiscall > > std::basic_ostream<char,struct std::char_traits<char> >::flush(void)" > > (?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ) > already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool __thiscall > > std::ios_base::fail(void)const " (?fail@ios_base@std@@QBE_NXZ) already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall > > std::ios_base::width(int)" (?width@ios_base@std@@QAEHH@Z) already > defined in > > SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > > std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool)" > > (?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static bool __cdecl > > std::char_traits<char>::eq_int_type(int const &,int const &)" > (?eq_int_type@ > > ?$char_traits@D@std@@SA_NABH0@Z) already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static int __cdecl > > std::char_traits<char>::eof(void)" (?eof@?$char_traits@D@std@@SAHXZ) > already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> >::sputc(char)" > > (?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z) already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char __thiscall > > std::basic_ios<char,struct std::char_traits<char> >::fill(void)const " > > (?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ) already defined > in > > SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall > > std::ios_base::width(void)const " (?width@ios_base@std@@QBEHXZ) already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class > > std::basic_ostream<char,struct std::char_traits<char> > * __thiscall > > std::basic_ios<char,struct std::char_traits<char> >::tie(void)const " > (?tie@ > > ?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU > > ?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool __thiscall > > std::ios_base::good(void)const " (?good@ios_base@std@@QBE_NXZ) already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > > std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" > > (?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) already > defined > > in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "bool __cdecl > > std::uncaught_exception(void)" (?uncaught_exception@std@@YA_NXZ) already > > defined in libcpmtd.lib(uncaught.obj) > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" > > (?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ) already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> >::_Unlock(void)" > > (?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ) already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> >::sputn(char > const > > *,int)" (?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@ > @QAEHPBDH@Z) > > already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static unsigned int > > __cdecl std::char_traits<char>::length(char const *)" (?length@ > > ?$char_traits@D@std@@SAIPBD@Z) already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > > std::basic_string<char,struct std::char_traits<char>,class > > std::allocator<char> >::~basic_string<char,struct > > std::char_traits<char>,class std::allocator<char> >(void)" > > (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) > > already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > > std::basic_string<char,struct std::char_traits<char>,class > > std::allocator<char> >::basic_string<char,struct > > std::char_traits<char>,class std::allocator<char> >(class > > std::basic_string<char,struct std::char_traits<char>,class > > std::allocator<char> > const &)" (??0?$basic_string@DU?$char_traits@D > @std@ > > @V?$allocator@D@2@@std@@QAE@ABV01@@Z) already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "class > > std::basic_ostream<char,struct std::char_traits<char> > & __cdecl > > std::operator<<<char,struct std::char_traits<char>,class > > std::allocator<char> >(class std::basic_ostream<char,struct > > std::char_traits<char> > &,class std::basic_string<char,struct > > std::char_traits<char>,class std::allocator<char> > const &)" > > (??$?6DU?$char_traits@D@std@@V?$allocator@D@1@@std@ > @YAAAV?$basic_ostream@DU > > ?$char_traits@D@std@@@0@AAV10@ABV?$basic_string@DU?$char_traits@D@std@ > > @V?$allocator@D@2@@0@@Z) already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const & > __thiscall > > std::basic_string<char,struct std::char_traits<char>,class > > std::allocator<char> >::operator[](unsigned int)const " > > (??A?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@ > @QBEABDI@Z) > > already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const * > __thiscall > > std::basic_string<char,struct std::char_traits<char>,class > > std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU > > ?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) already defined in > > SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > > std::basic_ostringstream<char,struct std::char_traits<char>,class > > std::allocator<char> >::`vbase destructor'(void)" > > (??_D?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@ > @QAEXXZ) > > already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > > std::basic_ostringstream<char,struct std::char_traits<char>,class > > std::allocator<char> >::basic_ostringstream<char,struct > > std::char_traits<char>,class std::allocator<char> >(int)" > > (??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@ > > @QAE@H@Z) already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > > std::basic_string<char,struct std::char_traits<char>,class > > std::allocator<char> >::basic_string<char,struct > > std::char_traits<char>,class std::allocator<char> >(char const *)" > > (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD > @Z) > > already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > > std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined > in > > libcpmtd.lib(xlock.obj) > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > > std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already defined in > > libcpmtd.lib(xlock.obj) > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "void __cdecl > > std::_Debug_message(unsigned short const *,unsigned short const > *,unsigned > > int)" (?_Debug_message@std@@YAXPBG0I@Z) already defined in > > libcpmtd.lib(stdthrow.obj) > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > > std::basic_string<char,struct std::char_traits<char>,class > > std::allocator<char> >::_Myptr(void)" (?_Myptr@?$basic_string@DU > > ?$char_traits@D@std@@V?$allocator@D@2@@std@@IAEPADXZ) already defined in > > SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > > std::_Container_base::_Orphan_all(void)const " (?_Orphan_all@ > > _Container_base@std@@QBEXXZ) already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > > std::_Container_base::~_Container_base(void)" (??1_Container_base@std > > @@QAE@XZ) already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > > std::_Container_base::_Container_base(void)" (??0_Container_base@std > @@QAE@XZ) > > already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> >::setg(char > *,char > > *,char *)" (?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@ > @IAEXPAD00@Z) > > already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> >::pbump(int)" > > (?pbump@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXH@Z) already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> >::setp(char > *,char > > *)" (?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD0@Z) > > already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> > >::pbase(void)const > > " (?pbase@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) > already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> > >::eback(void)const > > " (?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) > already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> > >::gptr(void)const " > > (?gptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> > >::epptr(void)const > > " (?epptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) > already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> > >::pptr(void)const " > > (?pptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > > std::basic_streambuf<char,struct std::char_traits<char> > >::egptr(void)const > > " (?egptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) > already > > defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall > > std::basic_ostream<char,struct std::char_traits<char> > > > >> ::~basic_ostream<char,struct std::char_traits<char> >(void)" > >> > > (??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined > in > > SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > > std::basic_ostream<char,struct std::char_traits<char> > > > >> ::basic_ostream<char,struct std::char_traits<char> >(class > >> > > std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" > > (??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@PAV > ?$basic_streambuf@DU > > ?$char_traits@D@std@@@1@_N@Z) already defined in SipStack.obj > > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall > > std::basic_ios<char,struct std::char_traits<char> >::init(class > > std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" > (?init@ > > ?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU > > ?$char_traits@D@std@@@2@_N@Z) already defined in SipStack.obj > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __atoi64 already defined in > > libcmtd.lib(atox.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isxdigit already defined in > > libcmtd.lib(_ctype.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isdigit already defined in > > libcmtd.lib(_ctype.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isspace already defined in > > libcmtd.lib(_ctype.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __localtime64 already defined > in > > libcmtd.lib(loctim64.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __gmtime64 already defined in > > libcmtd.lib(gmtime64.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __errno already defined in > > libcmtd.lib(dosmap.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __read already defined in > > libcmtd.lib(read.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __write already defined in > > libcmtd.lib(write.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _free already defined in > > libcmtd.lib(dbgheap.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _calloc already defined in > > libcmtd.lib(dbgheap.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _tolower already defined in > > libcmtd.lib(tolower.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isupper already defined in > > libcmtd.lib(_ctype.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _malloc already defined in > > libcmtd.lib(dbgheap.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _islower already defined in > > libcmtd.lib(_ctype.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strtol already defined in > > libcmtd.lib(strtol.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strtoul already defined in > > libcmtd.lib(strtol.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strncmp already defined in > > libcmtd.lib(strncmp.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __invalid_parameter already > > defined in libcmtd.lib(invarg.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __CrtDbgReportW already > defined > > in libcmtd.lib(dbgrptw.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: virtual __thiscall > > std::exception::~exception(void)" (??1exception@std@@UAE@XZ) already > defined > > in libcmtd.lib(stdexcpt.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall > > std::exception::exception(void)" (??0exception@std@@QAE@XZ) already > defined > > in libcmtd.lib(stdexcpt.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall > > std::exception::exception(class std::exception const &)" > (??0exception@std > > @@QAE@ABV01@@Z) already defined in libcmtd.lib(stdexcpt.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall > > std::exception::exception(char const * const &)" (??0exception@std > > @@QAE@ABQBD@Z) already defined in libcmtd.lib(stdexcpt.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _realloc already defined in > > libcmtd.lib(dbgheap.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isprint already defined in > > libcmtd.lib(_ctype.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _memmove already defined in > > libcmtd.lib(memmove.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strchr already defined in > > libcmtd.lib(strchr.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _sprintf already defined in > > libcmtd.lib(sprintf.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __stricmp already defined in > > libcmtd.lib(stricmp.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __beginthreadex already > defined > > in libcmtd.lib(threadex.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __close already defined in > > libcmtd.lib(close.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strrchr already defined in > > libcmtd.lib(strrchr.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _atoi already defined in > > libcmtd.lib(atox.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _getenv already defined in > > libcmtd.lib(getenv.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __exit already defined in > > libcmtd.lib(crt0dat.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _exit already defined in > > libcmtd.lib(crt0dat.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isalpha already defined in > > libcmtd.lib(_ctype.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strspn already defined in > > libcmtd.lib(strspn.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _atol already defined in > > libcmtd.lib(atox.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isalnum already defined in > > libcmtd.lib(_ctype.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _memmove_s already defined in > > libcmtd.lib(memmove_s.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __strnicmp already defined in > > libcmtd.lib(strnicmp.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _printf already defined in > > libcmtd.lib(printf.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: ___iob_func already defined in > > libcmtd.lib(_file.obj) > > MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: __thiscall > > type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0 > @@Z) > > already defined in libcmtd.lib(typinfo.obj) > > MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: class type_info & > > __thiscall type_info::operator=(class type_info const &)" (??4type_info@ > > @AAEAAV0@ABV0@@Z) already defined in libcmtd.lib(typinfo.obj) > > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: char const * > __thiscall > > type_info::_name_internal_method(struct __type_info_node *)const " > > (?_name_internal_method@type_info@@QBEPBDPAU__type_info_node@@@Z) > already > > defined in libcmtd.lib(typinfo.obj) > > LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other > > libs; use /NODEFAULTLIB:library > > I:\PROJECTEXTREME\opensipstack\Debug\VQubeExtreme.exe : fatal error > LNK1169: > > one or more multiply defined symbols found > > Build log was saved at > > "file://i:\PROJECTEXTREME\VQubeExtreme\VQubeExtreme\Debug\BuildLog.htm" > > VQubeExtreme - 102 error(s), 1 warning(s) > > ========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped > ========== > > > > cheers, > > Jay > > ------------------------------------------------------------------------- > > 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.5.12/1589 - Release Date: 8/3/2008 > 1:00 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 > |
From: Claudio M. <cmi...@gm...> - 2008-08-04 18:48:31
|
Hi, How can I get a RTP packet from a sound device and send it through a OPALAudioMediaStream ? Thanks in advance Claudio Miceli de Farias |
From: <jo...@op...> - 2008-08-04 14:07:43
|
What version of visual studio are you using? Koushik PSR wrote: > Hello Joegen, > > I am afraid the previous mail of mine has been rejected at Opensipstack > forums and i dont know why, I just received Mail bounce notice from Yahoo... > > > check out my previous mail please!! > > cheers, > Jay > ======================================================================================================== > > Hello Joegen, > > I hope i am not wrong this time around.. I have a genuine linker problems... > I will paste the relevant information below.. I think there is a conflict > between opensipstackd.lib and the default MFC Libraries like... nafxcwd.lib > msvcprtd.lib and libcmtd.lib, I think some of the project settings > parameters are wrong.... I have compared the same with OSSPhone project > settings and it seems to matching one on one... the only difference is that > my project is based on Single Document interface whereas I beleive OssPhone > is based on simple Dialog based project, am I right in understanding this? > if so tell me how can I make this work with SDI projects? > > Here goes the Error output: > > ------ Build started: Project: VQubeExtreme, Configuration: Release Win32 > ------ > Linking... > SipStack.obj : fatal error LNK1276: invalid directive 'Files/Microsoft' > found; does not start with '/' > Build log was saved at > "file://i:\PROJECTEXTREME\VQubeExtreme\VQubeExtreme\Release\BuildLog.htm" > VQubeExtreme - 1 error(s), 0 warning(s) > ------ Build started: Project: VQubeExtreme, Configuration: Debug Win32 > ------ > Linking... > nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator > new[](unsigned int)" (??_U@YAPAXI@Z) already defined in > opensipstackd.lib(object.obj) > nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator > delete[](void *)" (??_V@YAXPAX@Z) already defined in > opensipstackd.lib(object.obj) > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall > std::basic_streambuf<char,struct std::char_traits<char> > >> ::~basic_streambuf<char,struct std::char_traits<char> >(void)" >> > (??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined > in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall > std::basic_streambuf<char,struct std::char_traits<char> > >> ::basic_streambuf<char,struct std::char_traits<char> >(void)" >> > (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ) already defined > in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall > std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct > std::char_traits<char> >(void)" (??1?$basic_ios@DU?$char_traits@D@std@@@std@ > @UAE@XZ) already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class > std::basic_streambuf<char,struct std::char_traits<char> > * __thiscall > std::basic_ios<char,struct std::char_traits<char> >::rdbuf(void)const " > (?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_streambuf@DU > ?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall > std::basic_ios<char,struct std::char_traits<char> >::basic_ios<char,struct > std::char_traits<char> >(void)" (??0?$basic_ios@DU?$char_traits@D@std@@@std@ > @IAE@XZ) already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall > std::ios_base::flags(void)const " (?flags@ios_base@std@@QBEHXZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > std::basic_ios<char,struct std::char_traits<char> >::clear(int,bool)" > (?clear@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already defined > in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class > std::basic_ostream<char,struct std::char_traits<char> > & __thiscall > std::basic_ostream<char,struct std::char_traits<char> >::flush(void)" > (?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool __thiscall > std::ios_base::fail(void)const " (?fail@ios_base@std@@QBE_NXZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall > std::ios_base::width(int)" (?width@ios_base@std@@QAEHH@Z) already defined in > SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool)" > (?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static bool __cdecl > std::char_traits<char>::eq_int_type(int const &,int const &)" (?eq_int_type@ > ?$char_traits@D@std@@SA_NABH0@Z) already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static int __cdecl > std::char_traits<char>::eof(void)" (?eof@?$char_traits@D@std@@SAHXZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall > std::basic_streambuf<char,struct std::char_traits<char> >::sputc(char)" > (?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char __thiscall > std::basic_ios<char,struct std::char_traits<char> >::fill(void)const " > (?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ) already defined in > SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall > std::ios_base::width(void)const " (?width@ios_base@std@@QBEHXZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class > std::basic_ostream<char,struct std::char_traits<char> > * __thiscall > std::basic_ios<char,struct std::char_traits<char> >::tie(void)const " (?tie@ > ?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU > ?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool __thiscall > std::ios_base::good(void)const " (?good@ios_base@std@@QBE_NXZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" > (?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) already defined > in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "bool __cdecl > std::uncaught_exception(void)" (?uncaught_exception@std@@YA_NXZ) already > defined in libcpmtd.lib(uncaught.obj) > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" > (?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > std::basic_streambuf<char,struct std::char_traits<char> >::_Unlock(void)" > (?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall > std::basic_streambuf<char,struct std::char_traits<char> >::sputn(char const > *,int)" (?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHPBDH@Z) > already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static unsigned int > __cdecl std::char_traits<char>::length(char const *)" (?length@ > ?$char_traits@D@std@@SAIPBD@Z) already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> >::~basic_string<char,struct > std::char_traits<char>,class std::allocator<char> >(void)" > (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) > already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> >::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> >(class > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > const &)" (??0?$basic_string@DU?$char_traits@D@std@ > @V?$allocator@D@2@@std@@QAE@ABV01@@Z) already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "class > std::basic_ostream<char,struct std::char_traits<char> > & __cdecl > std::operator<<<char,struct std::char_traits<char>,class > std::allocator<char> >(class std::basic_ostream<char,struct > std::char_traits<char> > &,class std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> > const &)" > (??$?6DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YAAAV?$basic_ostream@DU > ?$char_traits@D@std@@@0@AAV10@ABV?$basic_string@DU?$char_traits@D@std@ > @V?$allocator@D@2@@0@@Z) already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const & __thiscall > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> >::operator[](unsigned int)const " > (??A?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEABDI@Z) > already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const * __thiscall > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU > ?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) already defined in > SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > std::basic_ostringstream<char,struct std::char_traits<char>,class > std::allocator<char> >::`vbase destructor'(void)" > (??_D?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXXZ) > already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > std::basic_ostringstream<char,struct std::char_traits<char>,class > std::allocator<char> >::basic_ostringstream<char,struct > std::char_traits<char>,class std::allocator<char> >(int)" > (??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@ > @QAE@H@Z) already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> >::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> >(char const *)" > (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) > already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in > libcpmtd.lib(xlock.obj) > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already defined in > libcpmtd.lib(xlock.obj) > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "void __cdecl > std::_Debug_message(unsigned short const *,unsigned short const *,unsigned > int)" (?_Debug_message@std@@YAXPBG0I@Z) already defined in > libcpmtd.lib(stdthrow.obj) > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> >::_Myptr(void)" (?_Myptr@?$basic_string@DU > ?$char_traits@D@std@@V?$allocator@D@2@@std@@IAEPADXZ) already defined in > SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall > std::_Container_base::_Orphan_all(void)const " (?_Orphan_all@ > _Container_base@std@@QBEXXZ) already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > std::_Container_base::~_Container_base(void)" (??1_Container_base@std > @@QAE@XZ) already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > std::_Container_base::_Container_base(void)" (??0_Container_base@std@@QAE@XZ) > already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall > std::basic_streambuf<char,struct std::char_traits<char> >::setg(char *,char > *,char *)" (?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD00@Z) > already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall > std::basic_streambuf<char,struct std::char_traits<char> >::pbump(int)" > (?pbump@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXH@Z) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall > std::basic_streambuf<char,struct std::char_traits<char> >::setp(char *,char > *)" (?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD0@Z) > already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > std::basic_streambuf<char,struct std::char_traits<char> >::pbase(void)const > " (?pbase@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > std::basic_streambuf<char,struct std::char_traits<char> >::eback(void)const > " (?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > std::basic_streambuf<char,struct std::char_traits<char> >::gptr(void)const " > (?gptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > std::basic_streambuf<char,struct std::char_traits<char> >::epptr(void)const > " (?epptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > std::basic_streambuf<char,struct std::char_traits<char> >::pptr(void)const " > (?pptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall > std::basic_streambuf<char,struct std::char_traits<char> >::egptr(void)const > " (?egptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already > defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall > std::basic_ostream<char,struct std::char_traits<char> > >> ::~basic_ostream<char,struct std::char_traits<char> >(void)" >> > (??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined in > SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall > std::basic_ostream<char,struct std::char_traits<char> > >> ::basic_ostream<char,struct std::char_traits<char> >(class >> > std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" > (??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@PAV?$basic_streambuf@DU > ?$char_traits@D@std@@@1@_N@Z) already defined in SipStack.obj > msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall > std::basic_ios<char,struct std::char_traits<char> >::init(class > std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" (?init@ > ?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU > ?$char_traits@D@std@@@2@_N@Z) already defined in SipStack.obj > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __atoi64 already defined in > libcmtd.lib(atox.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isxdigit already defined in > libcmtd.lib(_ctype.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isdigit already defined in > libcmtd.lib(_ctype.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isspace already defined in > libcmtd.lib(_ctype.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __localtime64 already defined in > libcmtd.lib(loctim64.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __gmtime64 already defined in > libcmtd.lib(gmtime64.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __errno already defined in > libcmtd.lib(dosmap.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __read already defined in > libcmtd.lib(read.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __write already defined in > libcmtd.lib(write.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _free already defined in > libcmtd.lib(dbgheap.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _calloc already defined in > libcmtd.lib(dbgheap.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _tolower already defined in > libcmtd.lib(tolower.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isupper already defined in > libcmtd.lib(_ctype.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _malloc already defined in > libcmtd.lib(dbgheap.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _islower already defined in > libcmtd.lib(_ctype.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strtol already defined in > libcmtd.lib(strtol.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strtoul already defined in > libcmtd.lib(strtol.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strncmp already defined in > libcmtd.lib(strncmp.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __invalid_parameter already > defined in libcmtd.lib(invarg.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __CrtDbgReportW already defined > in libcmtd.lib(dbgrptw.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: virtual __thiscall > std::exception::~exception(void)" (??1exception@std@@UAE@XZ) already defined > in libcmtd.lib(stdexcpt.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall > std::exception::exception(void)" (??0exception@std@@QAE@XZ) already defined > in libcmtd.lib(stdexcpt.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall > std::exception::exception(class std::exception const &)" (??0exception@std > @@QAE@ABV01@@Z) already defined in libcmtd.lib(stdexcpt.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall > std::exception::exception(char const * const &)" (??0exception@std > @@QAE@ABQBD@Z) already defined in libcmtd.lib(stdexcpt.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _realloc already defined in > libcmtd.lib(dbgheap.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isprint already defined in > libcmtd.lib(_ctype.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _memmove already defined in > libcmtd.lib(memmove.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strchr already defined in > libcmtd.lib(strchr.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _sprintf already defined in > libcmtd.lib(sprintf.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __stricmp already defined in > libcmtd.lib(stricmp.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __beginthreadex already defined > in libcmtd.lib(threadex.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __close already defined in > libcmtd.lib(close.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strrchr already defined in > libcmtd.lib(strrchr.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _atoi already defined in > libcmtd.lib(atox.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _getenv already defined in > libcmtd.lib(getenv.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __exit already defined in > libcmtd.lib(crt0dat.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _exit already defined in > libcmtd.lib(crt0dat.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isalpha already defined in > libcmtd.lib(_ctype.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strspn already defined in > libcmtd.lib(strspn.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _atol already defined in > libcmtd.lib(atox.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isalnum already defined in > libcmtd.lib(_ctype.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _memmove_s already defined in > libcmtd.lib(memmove_s.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __strnicmp already defined in > libcmtd.lib(strnicmp.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _printf already defined in > libcmtd.lib(printf.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: ___iob_func already defined in > libcmtd.lib(_file.obj) > MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: __thiscall > type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) > already defined in libcmtd.lib(typinfo.obj) > MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: class type_info & > __thiscall type_info::operator=(class type_info const &)" (??4type_info@ > @AAEAAV0@ABV0@@Z) already defined in libcmtd.lib(typinfo.obj) > MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: char const * __thiscall > type_info::_name_internal_method(struct __type_info_node *)const " > (?_name_internal_method@type_info@@QBEPBDPAU__type_info_node@@@Z) already > defined in libcmtd.lib(typinfo.obj) > LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other > libs; use /NODEFAULTLIB:library > I:\PROJECTEXTREME\opensipstack\Debug\VQubeExtreme.exe : fatal error LNK1169: > one or more multiply defined symbols found > Build log was saved at > "file://i:\PROJECTEXTREME\VQubeExtreme\VQubeExtreme\Debug\BuildLog.htm" > VQubeExtreme - 102 error(s), 1 warning(s) > ========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ========== > > cheers, > Jay > ------------------------------------------------------------------------- > 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.5.12/1589 - Release Date: 8/3/2008 1:00 PM > > > > |
From: Koushik P. <jay...@gm...> - 2008-08-04 07:46:35
|
Hello Joegen, I am afraid the previous mail of mine has been rejected at Opensipstack forums and i dont know why, I just received Mail bounce notice from Yahoo... check out my previous mail please!! cheers, Jay ======================================================================================================== Hello Joegen, I hope i am not wrong this time around.. I have a genuine linker problems... I will paste the relevant information below.. I think there is a conflict between opensipstackd.lib and the default MFC Libraries like... nafxcwd.lib msvcprtd.lib and libcmtd.lib, I think some of the project settings parameters are wrong.... I have compared the same with OSSPhone project settings and it seems to matching one on one... the only difference is that my project is based on Single Document interface whereas I beleive OssPhone is based on simple Dialog based project, am I right in understanding this? if so tell me how can I make this work with SDI projects? Here goes the Error output: ------ Build started: Project: VQubeExtreme, Configuration: Release Win32 ------ Linking... SipStack.obj : fatal error LNK1276: invalid directive 'Files/Microsoft' found; does not start with '/' Build log was saved at "file://i:\PROJECTEXTREME\VQubeExtreme\VQubeExtreme\Release\BuildLog.htm" VQubeExtreme - 1 error(s), 0 warning(s) ------ Build started: Project: VQubeExtreme, Configuration: Debug Win32 ------ Linking... nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) already defined in opensipstackd.lib(object.obj) nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) already defined in opensipstackd.lib(object.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::~basic_streambuf<char,struct std::char_traits<char> >(void)" (??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::basic_streambuf<char,struct std::char_traits<char> >(void)" (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::char_traits<char> >(void)" (??1?$basic_ios@DU?$char_traits@D@std@@@std@ @UAE@XZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class std::basic_streambuf<char,struct std::char_traits<char> > * __thiscall std::basic_ios<char,struct std::char_traits<char> >::rdbuf(void)const " (?rdbuf@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_streambuf@DU ?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: __thiscall std::basic_ios<char,struct std::char_traits<char> >::basic_ios<char,struct std::char_traits<char> >(void)" (??0?$basic_ios@DU?$char_traits@D@std@@@std@ @IAE@XZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall std::ios_base::flags(void)const " (?flags@ios_base@std@@QBEHXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::clear(int,bool)" (?clear@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > & __thiscall std::basic_ostream<char,struct std::char_traits<char> >::flush(void)" (?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool __thiscall std::ios_base::fail(void)const " (?fail@ios_base@std@@QBE_NXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall std::ios_base::width(int)" (?width@ios_base@std@@QAEHH@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool)" (?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QAEXH_N@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static bool __cdecl std::char_traits<char>::eq_int_type(int const &,int const &)" (?eq_int_type@ ?$char_traits@D@std@@SA_NABH0@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static int __cdecl std::char_traits<char>::eof(void)" (?eof@?$char_traits@D@std@@SAHXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputc(char)" (?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char __thiscall std::basic_ios<char,struct std::char_traits<char> >::fill(void)const " (?fill@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall std::ios_base::width(void)const " (?width@ios_base@std@@QBEHXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: class std::basic_ostream<char,struct std::char_traits<char> > * __thiscall std::basic_ios<char,struct std::char_traits<char> >::tie(void)const " (?tie@ ?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU ?$char_traits@D@std@@@2@XZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: bool __thiscall std::ios_base::good(void)const " (?good@ios_base@std@@QBE_NXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)" (?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "bool __cdecl std::uncaught_exception(void)" (?uncaught_exception@std@@YA_NXZ) already defined in libcpmtd.lib(uncaught.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" (?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Unlock(void)" (?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEXXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: int __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::sputn(char const *,int)" (?sputn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHPBDH@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: static unsigned int __cdecl std::char_traits<char>::length(char const *)" (?length@ ?$char_traits@D@std@@SAIPBD@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0?$basic_string@DU?$char_traits@D@std@ @V?$allocator@D@2@@std@@QAE@ABV01@@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??$?6DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YAAAV?$basic_ostream@DU ?$char_traits@D@std@@@0@AAV10@ABV?$basic_string@DU?$char_traits@D@std@ @V?$allocator@D@2@@0@@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator[](unsigned int)const " (??A?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEABDI@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU ?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >::`vbase destructor'(void)" (??_D?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >::basic_ostringstream<char,struct std::char_traits<char>,class std::allocator<char> >(int)" (??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@ @QAE@H@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in libcpmtd.lib(xlock.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) already defined in libcpmtd.lib(xlock.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "void __cdecl std::_Debug_message(unsigned short const *,unsigned short const *,unsigned int)" (?_Debug_message@std@@YAXPBG0I@Z) already defined in libcpmtd.lib(stdthrow.obj) msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Myptr(void)" (?_Myptr@?$basic_string@DU ?$char_traits@D@std@@V?$allocator@D@2@@std@@IAEPADXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::_Container_base::_Orphan_all(void)const " (?_Orphan_all@ _Container_base@std@@QBEXXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::_Container_base::~_Container_base(void)" (??1_Container_base@std @@QAE@XZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::_Container_base::_Container_base(void)" (??0_Container_base@std@@QAE@XZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::setg(char *,char *,char *)" (?setg@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD00@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::pbump(int)" (?pbump@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXH@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::setp(char *,char *)" (?setp@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAEXPAD0@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::pbase(void)const " (?pbase@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::eback(void)const " (?eback@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::gptr(void)const " (?gptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::epptr(void)const " (?epptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::pptr(void)const " (?pptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: char * __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::egptr(void)const " (?egptr@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEPADXZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: virtual __thiscall std::basic_ostream<char,struct std::char_traits<char> >::~basic_ostream<char,struct std::char_traits<char> >(void)" (??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_ostream<char,struct std::char_traits<char> >::basic_ostream<char,struct std::char_traits<char> >(class std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" (??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@PAV?$basic_streambuf@DU ?$char_traits@D@std@@@1@_N@Z) already defined in SipStack.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "protected: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::init(class std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" (?init@ ?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU ?$char_traits@D@std@@@2@_N@Z) already defined in SipStack.obj MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __atoi64 already defined in libcmtd.lib(atox.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isxdigit already defined in libcmtd.lib(_ctype.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isdigit already defined in libcmtd.lib(_ctype.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isspace already defined in libcmtd.lib(_ctype.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __localtime64 already defined in libcmtd.lib(loctim64.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __gmtime64 already defined in libcmtd.lib(gmtime64.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __errno already defined in libcmtd.lib(dosmap.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __read already defined in libcmtd.lib(read.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __write already defined in libcmtd.lib(write.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _free already defined in libcmtd.lib(dbgheap.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _calloc already defined in libcmtd.lib(dbgheap.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _tolower already defined in libcmtd.lib(tolower.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isupper already defined in libcmtd.lib(_ctype.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _malloc already defined in libcmtd.lib(dbgheap.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _islower already defined in libcmtd.lib(_ctype.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strtol already defined in libcmtd.lib(strtol.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strtoul already defined in libcmtd.lib(strtol.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strncmp already defined in libcmtd.lib(strncmp.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __invalid_parameter already defined in libcmtd.lib(invarg.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __CrtDbgReportW already defined in libcmtd.lib(dbgrptw.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: virtual __thiscall std::exception::~exception(void)" (??1exception@std@@UAE@XZ) already defined in libcmtd.lib(stdexcpt.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall std::exception::exception(void)" (??0exception@std@@QAE@XZ) already defined in libcmtd.lib(stdexcpt.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall std::exception::exception(class std::exception const &)" (??0exception@std @@QAE@ABV01@@Z) already defined in libcmtd.lib(stdexcpt.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: __thiscall std::exception::exception(char const * const &)" (??0exception@std @@QAE@ABQBD@Z) already defined in libcmtd.lib(stdexcpt.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _realloc already defined in libcmtd.lib(dbgheap.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isprint already defined in libcmtd.lib(_ctype.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _memmove already defined in libcmtd.lib(memmove.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strchr already defined in libcmtd.lib(strchr.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _sprintf already defined in libcmtd.lib(sprintf.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __stricmp already defined in libcmtd.lib(stricmp.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __beginthreadex already defined in libcmtd.lib(threadex.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __close already defined in libcmtd.lib(close.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strrchr already defined in libcmtd.lib(strrchr.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _atoi already defined in libcmtd.lib(atox.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _getenv already defined in libcmtd.lib(getenv.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __exit already defined in libcmtd.lib(crt0dat.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _exit already defined in libcmtd.lib(crt0dat.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isalpha already defined in libcmtd.lib(_ctype.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _strspn already defined in libcmtd.lib(strspn.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _atol already defined in libcmtd.lib(atox.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _isalnum already defined in libcmtd.lib(_ctype.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _memmove_s already defined in libcmtd.lib(memmove_s.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: __strnicmp already defined in libcmtd.lib(strnicmp.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: _printf already defined in libcmtd.lib(printf.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: ___iob_func already defined in libcmtd.lib(_file.obj) MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in libcmtd.lib(typinfo.obj) MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@ @AAEAAV0@ABV0@@Z) already defined in libcmtd.lib(typinfo.obj) MSVCRTD.lib(MSVCR80D.dll) : error LNK2005: "public: char const * __thiscall type_info::_name_internal_method(struct __type_info_node *)const " (?_name_internal_method@type_info@@QBEPBDPAU__type_info_node@@@Z) already defined in libcmtd.lib(typinfo.obj) LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library I:\PROJECTEXTREME\opensipstack\Debug\VQubeExtreme.exe : fatal error LNK1169: one or more multiply defined symbols found Build log was saved at "file://i:\PROJECTEXTREME\VQubeExtreme\VQubeExtreme\Debug\BuildLog.htm" VQubeExtreme - 102 error(s), 1 warning(s) ========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ========== cheers, Jay |
From: Joegen E. B. <joe...@gm...> - 2008-08-02 01:35:01
|
Next on my list but not yet. :-) Joegen Claudio Miceli wrote: > Is there any support to any SRTP ? > ------------------------------------------------------------------------- > 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.5.10/1586 - Release Date: 8/1/2008 6:59 PM > > > > |
From: Claudio M. <cmi...@gm...> - 2008-08-01 18:02:38
|
Is there any support to any SRTP ? |
From: <bay...@ic...> - 2008-08-01 13:09:18
|
Dear All, Right now, I am trying the opensbc upper registration feature. I have made the upper registration route to our SIP server (that could not handle SIP client behind NAT). The credentials are : OpenSBC Mode : Full Mode Upper registration route : [sip:8*@SIP.Server.IP.Address:5060] sip:DOMAIN.com:5060 Internal DNS Mapping : [sip:DOMAIN.com] sip:SIP.Server.IP.Address:5060 By using above configuration, my SJ phone could be registered by using credentials : Proxy domain = Open.SBC.IP.Address User Domain = DOMAIN.com Both the SJ Phone and OpenSBC Registration Status indicate that the SIP registration is successful. But after dialing, the SJ phone status is "Creating Out Going Call" for some times then it drops with status "transaction status: time out". I have tried to define the relay routes this way : [sip:8*@SIP.Server.IP.Address] sip:SIP.Server.IP.Address:5060 and the result is exactly the same. and according to the tethereal output during the dialing, the logs state that there were only some SIP registration activities. Please kindly provide me solution and advice about this problem. Best Regards, Bayu Sukmanto ---------------------------------------------------------------- Indonesia Comnet Plus Webmail |
From: Koushik j. <jay...@ya...> - 2008-08-01 10:17:26
|
Hi Joegen, My Bad, I have no patience in the world.. a little bit of common sense and the truth would have prevailed!! I am still laughing at myself while i am writing this mail.. That is in deed the problem... i have exact replication of the functions listed.... I would have unknowingly copied the entire functions twice... I will be cautious the next time before putting up a query to you guys... i wouldn't want you guys think any less of me as a developer anymore cheers, Jay ----- Original Message ---- From: Joegen E. Baclor <joe...@gm...> To: ope...@li... Sent: Friday, 1 August, 2008 1:25:34 PM Subject: Re: [OpenSIPStack] Compilation error!! (My Class cannot override some of the functions declared as virtuals in SoftPhoneInterface Class!!) May because, "indeed", there are double definition of the methods in your CPP file. I tried searching for void CSipStack::Event_PCSoundSystemInitialized and i got two hits. -joegen Koushik jaikishan wrote: > Hi to all developers, > > I am kinda stuck in the middle of compilation issues pertaining to Opensipstack project. I am on the verge of building my own GUI for Sip Phone as a whole. so I am following the pattern of OSS phone but to my pain the basic function overriding is giving me hell lot of problems... I kinda think that the compiler is either not noticing that i have subclassed Softphoneinterface which has all the event related function as Virtuals.. or else I have done some noobie mistake!! > > I will post the snippet for your convenience... > > Sipstack.h File contents > > #pragma once > > #include "SoftPhoneInterface.h" > #include "XMLParser.h" > > using namespace SF; > > class CSipStack: public SoftPhoneInterface > { > public: > > virtual void Event_PCSoundSystemInitialized(const OString & recordDevice,const OString & soundDevice); > > virtual void Event_SIPInitialized(const OString & eventInfo = OString::Empty()); > > virtual void Event_SIPInitializationError(int errorCode, const OString & errorInfo); > > virtual void Event_OutgoingCallRejected(int errorCode, const OString & errorInfo); > > virtual void Event_IncomingCallConnected(const OString & eventInfo = OString::Empty()); > > virtual void Event_CallDisconnected(const OString & eventInfo = OString::Empty()); > > virtual void Event_LoginError(int errorCode, const OString & errorInfo); > > virtual void Event_LoginSuccessful(const OString & eventInfo = OString::Empty()); > > virtual void Event_LogoutSuccessful(const OString & eventInfo = OString::Empty()); > > virtual void Event_OutgoingCallConnected(const SIPParser::SIPMessage & connect,const OString & eventInfo = OString::Empty()); > > virtual void Event_IncomingCall(const OString & eventInfo = OString::Empty()); > > virtual void Event_OutgoingCallRinging(const OString & eventInfo = OString::Empty()); > > virtual void Event_IncomingInstantMessage(const OString & senderInfo,const OString & contentType,const OString & messageBody); > > virtual void Event_RegEventStateOnline(const OString & user,const OString & domain); > > virtual void Event_RegEventStateOffLine(const OString & user,const OString & domain); > > virtual void Event_WritePacketLog(const OString & log); > > virtual void Event_ReadPacketLog(const OString & log); > > virtual void Event_Terminated(); > > virtual void Event_VolumeChanged(const unsigned speakerVolume,const unsigned micVolume); > > void LogMessage(const OString & log); > > void InitializeControls(); > > void UpdateConfiguration(); > > void SetRegistrationStatus(const OString & status); > > void UpdateCallHistory(); > > void SetCallStatus(const OString & status); > > void GetSipSettingsfromFile(); > > void OnRegistertoSipServer(); > > CSipStack(void); > ~CSipStack(void); > > public: > OString m_LogString; > BOOL m_HasTerminated; > BOOL m_IsIncomingCall; > PMutex m_LogMutex; > PMutex m_RegStatusMutex; > PMutex m_CallStatusMutex; > > CString struserId; > CString straccountId; > CString strpassword; > CString strregistrar; > CString stroutboundProxy; > OStringStream straccountAddress; > CString strstunServer; > CString strexpires; > CString strmicrophone; > CString strspeaker; > CString strlbrCodec; > CString strhbrCodec; > > CString strUserID; > CString strAccID; > CString strAccPassword; > CString strRegistrarIP; > CString strOutProxyIP; > CString strSTUNSerIP; > CString strExpDuration; > BOOL bSendReg; > BOOL bAutoLogin; > BOOL bHashReg; > BOOL bUseRFC2833; > BOOL bUseInfoMethod; > > CXMLParser XMLparserObj; > }; > > Sipstack.cpp contents: > > #include "StdAfx.h" > #include "SipStack.h" > #include "OpenSipStack.h" > > > > CSipStack::CSipStack(void) > { > > } > > CSipStack::~CSipStack(void) > { > } > > /// pure virtuals > void CSipStack::Event_PCSoundSystemInitialized( > const OString & recordDevice, > const OString & soundDevice > ) > { > } > > void CSipStack::Event_SIPInitialized( > const OString & eventInfo > ) > { > } > > void CSipStack::Event_SIPInitializationError( > int errorCode, > const OString & errorInfo > ) > { > } > > void CSipStack::Event_OutgoingCallRejected( > int errorCode, > const OString & errorInfo > ) > { > SetCallStatus( errorInfo ); > } > > void CSipStack::Event_IncomingCallConnected( > const OString & eventInfo > ) > { > //SetCallStatus( "Connected" ); > // UpdateCallHistory(); > } > > void CSipStack::Event_CallDisconnected( > const OString & eventInfo > ) > { > //SetCallStatus( "Disconnected" ); > // UpdateCallHistory(); > //m_IsIncomingCall = FALSE; > } > > void CSipStack::Event_LoginError( > int errorCode, > const OString & errorInfo > ) > { > //SetRegistrationStatus( "Registration Error" ); > } > > void CSipStack::Event_LoginSuccessful( > const OString & eventInfo > ) > { > //SetRegistrationStatus( "Online" ); > } > > void CSipStack::Event_LogoutSuccessful( > const OString & eventInfo > ) > { > // SetRegistrationStatus( "Offline" ); > } > > void CSipStack::Event_OutgoingCallConnected( > const SIPParser::SIPMessage & connect, > const OString & eventInfo > ) > { > //SetCallStatus( "Connected" ); > //UpdateCallHistory(); > } > > void CSipStack::Event_IncomingCall( > const OString & eventInfo > ) > { > //m_IsIncomingCall = TRUE; > //SetCallStatus( "eventInfo" ); > } > > void CSipStack::Event_OutgoingCallRinging( > const OString & eventInfo > ) > { > //SetCallStatus( "Ringing" ); > } > > void CSipStack::Event_IncomingInstantMessage( > const OString & senderInfo, > const OString & contentType, > const OString & messageBody > ) > { > } > > void CSipStack::Event_RegEventStateOnline( > const OString & user, > const OString & domain > ) > { > } > > void CSipStack::Event_RegEventStateOffLine( > const OString & user, > const OString & domain > ) > { > } > > void CSipStack::Event_WritePacketLog( > const OString & log > ) > { > //LogMessage( log ); > } > > void CSipStack::Event_ReadPacketLog( > const OString & log > ) > { > // LogMessage( log ); > } > > void CSipStack::LogMessage( > const OString & log > ) > { > // PWaitAndSignal lock( m_LogMutex ); > //static int logCount = 0; > //m_LogString += log; > > /* if(++logCount >= 100 ) > { > logCount = 0; > m_LogString = m_LogString.Right( m_LogString.GetLength() /2 ); > > } > > m_DiagnosticLog.SetWindowText( m_LogString.c_str() ); > > m_DiagnosticLog.SetSel( m_LogString.GetLength() - 2, m_LogString.GetLength() - 1, FALSE ); > m_DiagnosticLog.RedrawWindow();*/ > } > /// pure virtuals > void CSipStack::Event_PCSoundSystemInitialized( > const OString & recordDevice, > const OString & soundDevice > ) > { > > } > > void CSipStack::Event_SIPInitialized( > const OString & eventInfo > ) > { > } > > void CSipStack::Event_SIPInitializationError( > int errorCode, > const OString & errorInfo > ) > { > } > > void CSipStack::Event_OutgoingCallRejected( > int errorCode, > const OString & errorInfo > ) > { > SetCallStatus( errorInfo ); > } > > void CSipStack::Event_IncomingCallConnected( > const OString & eventInfo > ) > { > //SetCallStatus( "Connected" ); > // UpdateCallHistory(); > } > > void CSipStack::Event_CallDisconnected( > const OString & eventInfo > ) > { > //SetCallStatus( "Disconnected" ); > // UpdateCallHistory(); > //m_IsIncomingCall = FALSE; > } > > void CSipStack::Event_LoginError( > int errorCode, > const OString & errorInfo > ) > { > // SetRegistrationStatus( "Registration Error" ); > } > > void CSipStack::Event_LoginSuccessful( > const OString & eventInfo > ) > { > //SetRegistrationStatus( "Online" ); > } > > void CSipStack::Event_LogoutSuccessful( > const OString & eventInfo > ) > { > //SetRegistrationStatus( "Offline" ); > } > > void CSipStack::Event_OutgoingCallConnected( > const SIPParser::SIPMessage & connect, > const OString & eventInfo > ) > { > // SetCallStatus( "Connected" ); > // UpdateCallHistory(); > } > > void CSipStack::Event_IncomingCall( > const OString & eventInfo > ) > { > // m_IsIncomingCall = TRUE; > // SetCallStatus( "eventInfo" ); > } > > void CSipStack::Event_OutgoingCallRinging( > const OString & eventInfo > ) > { > //SetCallStatus( "Ringing" ); > } > > void CSipStack::Event_IncomingInstantMessage( > const OString & senderInfo, > const OString & contentType, > const OString & messageBody > ) > { > } > > void CSipStack::Event_RegEventStateOnline( > const OString & user, > const OString & domain > ) > { > } > > void CSipStack::Event_RegEventStateOffLine( > const OString & user, > const OString & domain > ) > { > } > > void CSipStack::Event_WritePacketLog( > const OString & log > ) > { > //LogMessage( log ); > } > > void CSipStack::Event_ReadPacketLog( > const OString & log > ) > { > //LogMessage( log ); > } > > void CSipStack::LogMessage( > const OString & log > ) > { > /*PWaitAndSignal lock( m_LogMutex ); > static int logCount = 0; > m_LogString += log; > > if(++logCount >= 100 ) > { > logCount = 0; > m_LogString = m_LogString.Right( m_LogString.GetLength() /2 ); > > } > > m_DiagnosticLog.SetWindowText( m_LogString.c_str() ); > > m_DiagnosticLog.SetSel( m_LogString.GetLength() - 2, m_LogString.GetLength() - 1, FALSE ); > m_DiagnosticLog.RedrawWindow();*/ > } > > > void CSipStack::SetRegistrationStatus( > const OString & status > ) > { > /*PWaitAndSignal lock( m_RegStatusMutex ); > OStringStream strm; > strm << "Status: " << status; > m_RegistrationStatus.SetWindowText( strm.str().c_str() );*/ > } > > void CSipStack::SetCallStatus( > const OString & status > ) > { > /*PWaitAndSignal lock( m_CallStatusMutex ); > OStringStream strm; > strm << "Status: " << status; > m_CallStatus.SetWindowText( strm.str().c_str() );*/ > } > > void CSipStack::Event_Terminated() > { > // m_HasTerminated = TRUE; > // EndDialog(0); > } > > void CSipStack::Event_VolumeChanged( > const unsigned speakerVolume, > const unsigned micVolume ) > { > // TODO: Add implementation code here later > } > > > > > Errors: > > SipStack.cpp > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(169) : error C2084: function 'void CSipStack::Event_PCSoundSystemInitialized(const Tools::OString &,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(12) : see previous definition of 'Event_PCSoundSystemInitialized' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(176) : error C2084: function 'void CSipStack::Event_SIPInitialized(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(14) : see previous definition of 'Event_SIPInitialized' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(183) : error C2084: function 'void CSipStack::Event_SIPInitializationError(int,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(16) : see previous definition of 'Event_SIPInitializationError' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(190) : error C2084: function 'void CSipStack::Event_OutgoingCallRejected(int,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(18) : see previous definition of 'Event_OutgoingCallRejected' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(197) : error C2084: function 'void CSipStack::Event_IncomingCallConnected(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(20) : see previous definition of 'Event_IncomingCallConnected' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(205) : error C2084: function 'void CSipStack::Event_CallDisconnected(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(22) : see previous definition of 'Event_CallDisconnected' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(215) : error C2084: function 'void CSipStack::Event_LoginError(int,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(24) : see previous definition of 'Event_LoginError' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(222) : error C2084: function 'void CSipStack::Event_LoginSuccessful(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(26) : see previous definition of 'Event_LoginSuccessful' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(229) : error C2084: function 'void CSipStack::Event_LogoutSuccessful(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(28) : see previous definition of 'Event_LogoutSuccessful' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(237) : error C2084: function 'void CSipStack::Event_OutgoingCallConnected(const SIPParser::SIPMessage &,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(30) : see previous definition of 'Event_OutgoingCallConnected' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(245) : error C2084: function 'void CSipStack::Event_IncomingCall(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(32) : see previous definition of 'Event_IncomingCall' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(253) : error C2084: function 'void CSipStack::Event_OutgoingCallRinging(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(34) : see previous definition of 'Event_OutgoingCallRinging' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(262) : error C2084: function 'void CSipStack::Event_IncomingInstantMessage(const Tools::OString &,const Tools::OString &,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(36) : see previous definition of 'Event_IncomingInstantMessage' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(269) : error C2084: function 'void CSipStack::Event_RegEventStateOnline(const Tools::OString &,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(38) : see previous definition of 'Event_RegEventStateOnline' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(276) : error C2084: function 'void CSipStack::Event_RegEventStateOffLine(const Tools::OString &,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(40) : see previous definition of 'Event_RegEventStateOffLine' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(282) : error C2084: function 'void CSipStack::Event_WritePacketLog(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(42) : see previous definition of 'Event_WritePacketLog' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(289) : error C2084: function 'void CSipStack::Event_ReadPacketLog(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(44) : see previous definition of 'Event_ReadPacketLog' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(296) : error C2084: function 'void CSipStack::LogMessage(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(50) : see previous definition of 'LogMessage' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(413) : error C2664: 'SF::SoftPhoneInterface::SetEnablePrivacy' : cannot convert parameter 1 from 'const char [6]' to 'BOOL' > There is no context in which this conversion is possible > > > > I would be glad if anyone can help out!! > > Thanks in advance!! > > cheers > Jay > > > Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ > ------------------------------------------------------------------------- > 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.5.10/1584 - Release Date: 7/31/2008 12:00 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 Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ |
From: Joegen E. B. <joe...@gm...> - 2008-08-01 07:55:32
|
May because, "indeed", there are double definition of the methods in your CPP file. I tried searching for void CSipStack::Event_PCSoundSystemInitialized and i got two hits. -joegen Koushik jaikishan wrote: > Hi to all developers, > > I am kinda stuck in the middle of compilation issues pertaining to Opensipstack project. I am on the verge of building my own GUI for Sip Phone as a whole. so I am following the pattern of OSS phone but to my pain the basic function overriding is giving me hell lot of problems... I kinda think that the compiler is either not noticing that i have subclassed Softphoneinterface which has all the event related function as Virtuals.. or else I have done some noobie mistake!! > > I will post the snippet for your convenience... > > Sipstack.h File contents > > #pragma once > > #include "SoftPhoneInterface.h" > #include "XMLParser.h" > > using namespace SF; > > class CSipStack: public SoftPhoneInterface > { > public: > > virtual void Event_PCSoundSystemInitialized(const OString & recordDevice,const OString & soundDevice); > > virtual void Event_SIPInitialized(const OString & eventInfo = OString::Empty()); > > virtual void Event_SIPInitializationError(int errorCode, const OString & errorInfo); > > virtual void Event_OutgoingCallRejected(int errorCode, const OString & errorInfo); > > virtual void Event_IncomingCallConnected(const OString & eventInfo = OString::Empty()); > > virtual void Event_CallDisconnected(const OString & eventInfo = OString::Empty()); > > virtual void Event_LoginError(int errorCode, const OString & errorInfo); > > virtual void Event_LoginSuccessful(const OString & eventInfo = OString::Empty()); > > virtual void Event_LogoutSuccessful(const OString & eventInfo = OString::Empty()); > > virtual void Event_OutgoingCallConnected(const SIPParser::SIPMessage & connect,const OString & eventInfo = OString::Empty()); > > virtual void Event_IncomingCall(const OString & eventInfo = OString::Empty()); > > virtual void Event_OutgoingCallRinging(const OString & eventInfo = OString::Empty()); > > virtual void Event_IncomingInstantMessage(const OString & senderInfo,const OString & contentType,const OString & messageBody); > > virtual void Event_RegEventStateOnline(const OString & user,const OString & domain); > > virtual void Event_RegEventStateOffLine(const OString & user,const OString & domain); > > virtual void Event_WritePacketLog(const OString & log); > > virtual void Event_ReadPacketLog(const OString & log); > > virtual void Event_Terminated(); > > virtual void Event_VolumeChanged(const unsigned speakerVolume,const unsigned micVolume); > > void LogMessage(const OString & log); > > void InitializeControls(); > > void UpdateConfiguration(); > > void SetRegistrationStatus(const OString & status); > > void UpdateCallHistory(); > > void SetCallStatus(const OString & status); > > void GetSipSettingsfromFile(); > > void OnRegistertoSipServer(); > > CSipStack(void); > ~CSipStack(void); > > public: > OString m_LogString; > BOOL m_HasTerminated; > BOOL m_IsIncomingCall; > PMutex m_LogMutex; > PMutex m_RegStatusMutex; > PMutex m_CallStatusMutex; > > CString struserId; > CString straccountId; > CString strpassword; > CString strregistrar; > CString stroutboundProxy; > OStringStream straccountAddress; > CString strstunServer; > CString strexpires; > CString strmicrophone; > CString strspeaker; > CString strlbrCodec; > CString strhbrCodec; > > CString strUserID; > CString strAccID; > CString strAccPassword; > CString strRegistrarIP; > CString strOutProxyIP; > CString strSTUNSerIP; > CString strExpDuration; > BOOL bSendReg; > BOOL bAutoLogin; > BOOL bHashReg; > BOOL bUseRFC2833; > BOOL bUseInfoMethod; > > CXMLParser XMLparserObj; > }; > > Sipstack.cpp contents: > > #include "StdAfx.h" > #include "SipStack.h" > #include "OpenSipStack.h" > > > > CSipStack::CSipStack(void) > { > > } > > CSipStack::~CSipStack(void) > { > } > > /// pure virtuals > void CSipStack::Event_PCSoundSystemInitialized( > const OString & recordDevice, > const OString & soundDevice > ) > { > } > > void CSipStack::Event_SIPInitialized( > const OString & eventInfo > ) > { > } > > void CSipStack::Event_SIPInitializationError( > int errorCode, > const OString & errorInfo > ) > { > } > > void CSipStack::Event_OutgoingCallRejected( > int errorCode, > const OString & errorInfo > ) > { > SetCallStatus( errorInfo ); > } > > void CSipStack::Event_IncomingCallConnected( > const OString & eventInfo > ) > { > //SetCallStatus( "Connected" ); > // UpdateCallHistory(); > } > > void CSipStack::Event_CallDisconnected( > const OString & eventInfo > ) > { > //SetCallStatus( "Disconnected" ); > // UpdateCallHistory(); > //m_IsIncomingCall = FALSE; > } > > void CSipStack::Event_LoginError( > int errorCode, > const OString & errorInfo > ) > { > //SetRegistrationStatus( "Registration Error" ); > } > > void CSipStack::Event_LoginSuccessful( > const OString & eventInfo > ) > { > //SetRegistrationStatus( "Online" ); > } > > void CSipStack::Event_LogoutSuccessful( > const OString & eventInfo > ) > { > // SetRegistrationStatus( "Offline" ); > } > > void CSipStack::Event_OutgoingCallConnected( > const SIPParser::SIPMessage & connect, > const OString & eventInfo > ) > { > //SetCallStatus( "Connected" ); > //UpdateCallHistory(); > } > > void CSipStack::Event_IncomingCall( > const OString & eventInfo > ) > { > //m_IsIncomingCall = TRUE; > //SetCallStatus( "eventInfo" ); > } > > void CSipStack::Event_OutgoingCallRinging( > const OString & eventInfo > ) > { > //SetCallStatus( "Ringing" ); > } > > void CSipStack::Event_IncomingInstantMessage( > const OString & senderInfo, > const OString & contentType, > const OString & messageBody > ) > { > } > > void CSipStack::Event_RegEventStateOnline( > const OString & user, > const OString & domain > ) > { > } > > void CSipStack::Event_RegEventStateOffLine( > const OString & user, > const OString & domain > ) > { > } > > void CSipStack::Event_WritePacketLog( > const OString & log > ) > { > //LogMessage( log ); > } > > void CSipStack::Event_ReadPacketLog( > const OString & log > ) > { > // LogMessage( log ); > } > > void CSipStack::LogMessage( > const OString & log > ) > { > // PWaitAndSignal lock( m_LogMutex ); > //static int logCount = 0; > //m_LogString += log; > > /* if(++logCount >= 100 ) > { > logCount = 0; > m_LogString = m_LogString.Right( m_LogString.GetLength() /2 ); > > } > > m_DiagnosticLog.SetWindowText( m_LogString.c_str() ); > > m_DiagnosticLog.SetSel( m_LogString.GetLength() - 2, m_LogString.GetLength() - 1, FALSE ); > m_DiagnosticLog.RedrawWindow();*/ > } > /// pure virtuals > void CSipStack::Event_PCSoundSystemInitialized( > const OString & recordDevice, > const OString & soundDevice > ) > { > > } > > void CSipStack::Event_SIPInitialized( > const OString & eventInfo > ) > { > } > > void CSipStack::Event_SIPInitializationError( > int errorCode, > const OString & errorInfo > ) > { > } > > void CSipStack::Event_OutgoingCallRejected( > int errorCode, > const OString & errorInfo > ) > { > SetCallStatus( errorInfo ); > } > > void CSipStack::Event_IncomingCallConnected( > const OString & eventInfo > ) > { > //SetCallStatus( "Connected" ); > // UpdateCallHistory(); > } > > void CSipStack::Event_CallDisconnected( > const OString & eventInfo > ) > { > //SetCallStatus( "Disconnected" ); > // UpdateCallHistory(); > //m_IsIncomingCall = FALSE; > } > > void CSipStack::Event_LoginError( > int errorCode, > const OString & errorInfo > ) > { > // SetRegistrationStatus( "Registration Error" ); > } > > void CSipStack::Event_LoginSuccessful( > const OString & eventInfo > ) > { > //SetRegistrationStatus( "Online" ); > } > > void CSipStack::Event_LogoutSuccessful( > const OString & eventInfo > ) > { > //SetRegistrationStatus( "Offline" ); > } > > void CSipStack::Event_OutgoingCallConnected( > const SIPParser::SIPMessage & connect, > const OString & eventInfo > ) > { > // SetCallStatus( "Connected" ); > // UpdateCallHistory(); > } > > void CSipStack::Event_IncomingCall( > const OString & eventInfo > ) > { > // m_IsIncomingCall = TRUE; > // SetCallStatus( "eventInfo" ); > } > > void CSipStack::Event_OutgoingCallRinging( > const OString & eventInfo > ) > { > //SetCallStatus( "Ringing" ); > } > > void CSipStack::Event_IncomingInstantMessage( > const OString & senderInfo, > const OString & contentType, > const OString & messageBody > ) > { > } > > void CSipStack::Event_RegEventStateOnline( > const OString & user, > const OString & domain > ) > { > } > > void CSipStack::Event_RegEventStateOffLine( > const OString & user, > const OString & domain > ) > { > } > > void CSipStack::Event_WritePacketLog( > const OString & log > ) > { > //LogMessage( log ); > } > > void CSipStack::Event_ReadPacketLog( > const OString & log > ) > { > //LogMessage( log ); > } > > void CSipStack::LogMessage( > const OString & log > ) > { > /*PWaitAndSignal lock( m_LogMutex ); > static int logCount = 0; > m_LogString += log; > > if(++logCount >= 100 ) > { > logCount = 0; > m_LogString = m_LogString.Right( m_LogString.GetLength() /2 ); > > } > > m_DiagnosticLog.SetWindowText( m_LogString.c_str() ); > > m_DiagnosticLog.SetSel( m_LogString.GetLength() - 2, m_LogString.GetLength() - 1, FALSE ); > m_DiagnosticLog.RedrawWindow();*/ > } > > > void CSipStack::SetRegistrationStatus( > const OString & status > ) > { > /*PWaitAndSignal lock( m_RegStatusMutex ); > OStringStream strm; > strm << "Status: " << status; > m_RegistrationStatus.SetWindowText( strm.str().c_str() );*/ > } > > void CSipStack::SetCallStatus( > const OString & status > ) > { > /*PWaitAndSignal lock( m_CallStatusMutex ); > OStringStream strm; > strm << "Status: " << status; > m_CallStatus.SetWindowText( strm.str().c_str() );*/ > } > > void CSipStack::Event_Terminated() > { > // m_HasTerminated = TRUE; > // EndDialog(0); > } > > void CSipStack::Event_VolumeChanged( > const unsigned speakerVolume, > const unsigned micVolume ) > { > // TODO: Add implementation code here later > } > > > > > Errors: > > SipStack.cpp > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(169) : error C2084: function 'void CSipStack::Event_PCSoundSystemInitialized(const Tools::OString &,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(12) : see previous definition of 'Event_PCSoundSystemInitialized' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(176) : error C2084: function 'void CSipStack::Event_SIPInitialized(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(14) : see previous definition of 'Event_SIPInitialized' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(183) : error C2084: function 'void CSipStack::Event_SIPInitializationError(int,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(16) : see previous definition of 'Event_SIPInitializationError' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(190) : error C2084: function 'void CSipStack::Event_OutgoingCallRejected(int,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(18) : see previous definition of 'Event_OutgoingCallRejected' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(197) : error C2084: function 'void CSipStack::Event_IncomingCallConnected(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(20) : see previous definition of 'Event_IncomingCallConnected' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(205) : error C2084: function 'void CSipStack::Event_CallDisconnected(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(22) : see previous definition of 'Event_CallDisconnected' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(215) : error C2084: function 'void CSipStack::Event_LoginError(int,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(24) : see previous definition of 'Event_LoginError' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(222) : error C2084: function 'void CSipStack::Event_LoginSuccessful(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(26) : see previous definition of 'Event_LoginSuccessful' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(229) : error C2084: function 'void CSipStack::Event_LogoutSuccessful(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(28) : see previous definition of 'Event_LogoutSuccessful' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(237) : error C2084: function 'void CSipStack::Event_OutgoingCallConnected(const SIPParser::SIPMessage &,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(30) : see previous definition of 'Event_OutgoingCallConnected' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(245) : error C2084: function 'void CSipStack::Event_IncomingCall(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(32) : see previous definition of 'Event_IncomingCall' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(253) : error C2084: function 'void CSipStack::Event_OutgoingCallRinging(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(34) : see previous definition of 'Event_OutgoingCallRinging' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(262) : error C2084: function 'void CSipStack::Event_IncomingInstantMessage(const Tools::OString &,const Tools::OString &,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(36) : see previous definition of 'Event_IncomingInstantMessage' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(269) : error C2084: function 'void CSipStack::Event_RegEventStateOnline(const Tools::OString &,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(38) : see previous definition of 'Event_RegEventStateOnline' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(276) : error C2084: function 'void CSipStack::Event_RegEventStateOffLine(const Tools::OString &,const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(40) : see previous definition of 'Event_RegEventStateOffLine' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(282) : error C2084: function 'void CSipStack::Event_WritePacketLog(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(42) : see previous definition of 'Event_WritePacketLog' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(289) : error C2084: function 'void CSipStack::Event_ReadPacketLog(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(44) : see previous definition of 'Event_ReadPacketLog' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(296) : error C2084: function 'void CSipStack::LogMessage(const Tools::OString &)' already has a body > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(50) : see previous definition of 'LogMessage' > i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(413) : error C2664: 'SF::SoftPhoneInterface::SetEnablePrivacy' : cannot convert parameter 1 from 'const char [6]' to 'BOOL' > There is no context in which this conversion is possible > > > > I would be glad if anyone can help out!! > > Thanks in advance!! > > cheers > Jay > > > Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ > ------------------------------------------------------------------------- > 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.5.10/1584 - Release Date: 7/31/2008 12:00 PM > > > > |
From: Koushik j. <jay...@ya...> - 2008-08-01 07:39:27
|
Hi to all developers, I am kinda stuck in the middle of compilation issues pertaining to Opensipstack project. I am on the verge of building my own GUI for Sip Phone as a whole. so I am following the pattern of OSS phone but to my pain the basic function overriding is giving me hell lot of problems... I kinda think that the compiler is either not noticing that i have subclassed Softphoneinterface which has all the event related function as Virtuals.. or else I have done some noobie mistake!! I will post the snippet for your convenience... Sipstack.h File contents #pragma once #include "SoftPhoneInterface.h" #include "XMLParser.h" using namespace SF; class CSipStack: public SoftPhoneInterface { public: virtual void Event_PCSoundSystemInitialized(const OString & recordDevice,const OString & soundDevice); virtual void Event_SIPInitialized(const OString & eventInfo = OString::Empty()); virtual void Event_SIPInitializationError(int errorCode, const OString & errorInfo); virtual void Event_OutgoingCallRejected(int errorCode, const OString & errorInfo); virtual void Event_IncomingCallConnected(const OString & eventInfo = OString::Empty()); virtual void Event_CallDisconnected(const OString & eventInfo = OString::Empty()); virtual void Event_LoginError(int errorCode, const OString & errorInfo); virtual void Event_LoginSuccessful(const OString & eventInfo = OString::Empty()); virtual void Event_LogoutSuccessful(const OString & eventInfo = OString::Empty()); virtual void Event_OutgoingCallConnected(const SIPParser::SIPMessage & connect,const OString & eventInfo = OString::Empty()); virtual void Event_IncomingCall(const OString & eventInfo = OString::Empty()); virtual void Event_OutgoingCallRinging(const OString & eventInfo = OString::Empty()); virtual void Event_IncomingInstantMessage(const OString & senderInfo,const OString & contentType,const OString & messageBody); virtual void Event_RegEventStateOnline(const OString & user,const OString & domain); virtual void Event_RegEventStateOffLine(const OString & user,const OString & domain); virtual void Event_WritePacketLog(const OString & log); virtual void Event_ReadPacketLog(const OString & log); virtual void Event_Terminated(); virtual void Event_VolumeChanged(const unsigned speakerVolume,const unsigned micVolume); void LogMessage(const OString & log); void InitializeControls(); void UpdateConfiguration(); void SetRegistrationStatus(const OString & status); void UpdateCallHistory(); void SetCallStatus(const OString & status); void GetSipSettingsfromFile(); void OnRegistertoSipServer(); CSipStack(void); ~CSipStack(void); public: OString m_LogString; BOOL m_HasTerminated; BOOL m_IsIncomingCall; PMutex m_LogMutex; PMutex m_RegStatusMutex; PMutex m_CallStatusMutex; CString struserId; CString straccountId; CString strpassword; CString strregistrar; CString stroutboundProxy; OStringStream straccountAddress; CString strstunServer; CString strexpires; CString strmicrophone; CString strspeaker; CString strlbrCodec; CString strhbrCodec; CString strUserID; CString strAccID; CString strAccPassword; CString strRegistrarIP; CString strOutProxyIP; CString strSTUNSerIP; CString strExpDuration; BOOL bSendReg; BOOL bAutoLogin; BOOL bHashReg; BOOL bUseRFC2833; BOOL bUseInfoMethod; CXMLParser XMLparserObj; }; Sipstack.cpp contents: #include "StdAfx.h" #include "SipStack.h" #include "OpenSipStack.h" CSipStack::CSipStack(void) { } CSipStack::~CSipStack(void) { } /// pure virtuals void CSipStack::Event_PCSoundSystemInitialized( const OString & recordDevice, const OString & soundDevice ) { } void CSipStack::Event_SIPInitialized( const OString & eventInfo ) { } void CSipStack::Event_SIPInitializationError( int errorCode, const OString & errorInfo ) { } void CSipStack::Event_OutgoingCallRejected( int errorCode, const OString & errorInfo ) { SetCallStatus( errorInfo ); } void CSipStack::Event_IncomingCallConnected( const OString & eventInfo ) { //SetCallStatus( "Connected" ); // UpdateCallHistory(); } void CSipStack::Event_CallDisconnected( const OString & eventInfo ) { //SetCallStatus( "Disconnected" ); // UpdateCallHistory(); //m_IsIncomingCall = FALSE; } void CSipStack::Event_LoginError( int errorCode, const OString & errorInfo ) { //SetRegistrationStatus( "Registration Error" ); } void CSipStack::Event_LoginSuccessful( const OString & eventInfo ) { //SetRegistrationStatus( "Online" ); } void CSipStack::Event_LogoutSuccessful( const OString & eventInfo ) { // SetRegistrationStatus( "Offline" ); } void CSipStack::Event_OutgoingCallConnected( const SIPParser::SIPMessage & connect, const OString & eventInfo ) { //SetCallStatus( "Connected" ); //UpdateCallHistory(); } void CSipStack::Event_IncomingCall( const OString & eventInfo ) { //m_IsIncomingCall = TRUE; //SetCallStatus( "eventInfo" ); } void CSipStack::Event_OutgoingCallRinging( const OString & eventInfo ) { //SetCallStatus( "Ringing" ); } void CSipStack::Event_IncomingInstantMessage( const OString & senderInfo, const OString & contentType, const OString & messageBody ) { } void CSipStack::Event_RegEventStateOnline( const OString & user, const OString & domain ) { } void CSipStack::Event_RegEventStateOffLine( const OString & user, const OString & domain ) { } void CSipStack::Event_WritePacketLog( const OString & log ) { //LogMessage( log ); } void CSipStack::Event_ReadPacketLog( const OString & log ) { // LogMessage( log ); } void CSipStack::LogMessage( const OString & log ) { // PWaitAndSignal lock( m_LogMutex ); //static int logCount = 0; //m_LogString += log; /* if(++logCount >= 100 ) { logCount = 0; m_LogString = m_LogString.Right( m_LogString.GetLength() /2 ); } m_DiagnosticLog.SetWindowText( m_LogString.c_str() ); m_DiagnosticLog.SetSel( m_LogString.GetLength() - 2, m_LogString.GetLength() - 1, FALSE ); m_DiagnosticLog.RedrawWindow();*/ } /// pure virtuals void CSipStack::Event_PCSoundSystemInitialized( const OString & recordDevice, const OString & soundDevice ) { } void CSipStack::Event_SIPInitialized( const OString & eventInfo ) { } void CSipStack::Event_SIPInitializationError( int errorCode, const OString & errorInfo ) { } void CSipStack::Event_OutgoingCallRejected( int errorCode, const OString & errorInfo ) { SetCallStatus( errorInfo ); } void CSipStack::Event_IncomingCallConnected( const OString & eventInfo ) { //SetCallStatus( "Connected" ); // UpdateCallHistory(); } void CSipStack::Event_CallDisconnected( const OString & eventInfo ) { //SetCallStatus( "Disconnected" ); // UpdateCallHistory(); //m_IsIncomingCall = FALSE; } void CSipStack::Event_LoginError( int errorCode, const OString & errorInfo ) { // SetRegistrationStatus( "Registration Error" ); } void CSipStack::Event_LoginSuccessful( const OString & eventInfo ) { //SetRegistrationStatus( "Online" ); } void CSipStack::Event_LogoutSuccessful( const OString & eventInfo ) { //SetRegistrationStatus( "Offline" ); } void CSipStack::Event_OutgoingCallConnected( const SIPParser::SIPMessage & connect, const OString & eventInfo ) { // SetCallStatus( "Connected" ); // UpdateCallHistory(); } void CSipStack::Event_IncomingCall( const OString & eventInfo ) { // m_IsIncomingCall = TRUE; // SetCallStatus( "eventInfo" ); } void CSipStack::Event_OutgoingCallRinging( const OString & eventInfo ) { //SetCallStatus( "Ringing" ); } void CSipStack::Event_IncomingInstantMessage( const OString & senderInfo, const OString & contentType, const OString & messageBody ) { } void CSipStack::Event_RegEventStateOnline( const OString & user, const OString & domain ) { } void CSipStack::Event_RegEventStateOffLine( const OString & user, const OString & domain ) { } void CSipStack::Event_WritePacketLog( const OString & log ) { //LogMessage( log ); } void CSipStack::Event_ReadPacketLog( const OString & log ) { //LogMessage( log ); } void CSipStack::LogMessage( const OString & log ) { /*PWaitAndSignal lock( m_LogMutex ); static int logCount = 0; m_LogString += log; if(++logCount >= 100 ) { logCount = 0; m_LogString = m_LogString.Right( m_LogString.GetLength() /2 ); } m_DiagnosticLog.SetWindowText( m_LogString.c_str() ); m_DiagnosticLog.SetSel( m_LogString.GetLength() - 2, m_LogString.GetLength() - 1, FALSE ); m_DiagnosticLog.RedrawWindow();*/ } void CSipStack::SetRegistrationStatus( const OString & status ) { /*PWaitAndSignal lock( m_RegStatusMutex ); OStringStream strm; strm << "Status: " << status; m_RegistrationStatus.SetWindowText( strm.str().c_str() );*/ } void CSipStack::SetCallStatus( const OString & status ) { /*PWaitAndSignal lock( m_CallStatusMutex ); OStringStream strm; strm << "Status: " << status; m_CallStatus.SetWindowText( strm.str().c_str() );*/ } void CSipStack::Event_Terminated() { // m_HasTerminated = TRUE; // EndDialog(0); } void CSipStack::Event_VolumeChanged( const unsigned speakerVolume, const unsigned micVolume ) { // TODO: Add implementation code here later } Errors: SipStack.cpp i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(169) : error C2084: function 'void CSipStack::Event_PCSoundSystemInitialized(const Tools::OString &,const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(12) : see previous definition of 'Event_PCSoundSystemInitialized' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(176) : error C2084: function 'void CSipStack::Event_SIPInitialized(const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(14) : see previous definition of 'Event_SIPInitialized' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(183) : error C2084: function 'void CSipStack::Event_SIPInitializationError(int,const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(16) : see previous definition of 'Event_SIPInitializationError' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(190) : error C2084: function 'void CSipStack::Event_OutgoingCallRejected(int,const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(18) : see previous definition of 'Event_OutgoingCallRejected' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(197) : error C2084: function 'void CSipStack::Event_IncomingCallConnected(const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(20) : see previous definition of 'Event_IncomingCallConnected' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(205) : error C2084: function 'void CSipStack::Event_CallDisconnected(const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(22) : see previous definition of 'Event_CallDisconnected' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(215) : error C2084: function 'void CSipStack::Event_LoginError(int,const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(24) : see previous definition of 'Event_LoginError' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(222) : error C2084: function 'void CSipStack::Event_LoginSuccessful(const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(26) : see previous definition of 'Event_LoginSuccessful' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(229) : error C2084: function 'void CSipStack::Event_LogoutSuccessful(const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(28) : see previous definition of 'Event_LogoutSuccessful' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(237) : error C2084: function 'void CSipStack::Event_OutgoingCallConnected(const SIPParser::SIPMessage &,const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(30) : see previous definition of 'Event_OutgoingCallConnected' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(245) : error C2084: function 'void CSipStack::Event_IncomingCall(const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(32) : see previous definition of 'Event_IncomingCall' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(253) : error C2084: function 'void CSipStack::Event_OutgoingCallRinging(const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(34) : see previous definition of 'Event_OutgoingCallRinging' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(262) : error C2084: function 'void CSipStack::Event_IncomingInstantMessage(const Tools::OString &,const Tools::OString &,const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(36) : see previous definition of 'Event_IncomingInstantMessage' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(269) : error C2084: function 'void CSipStack::Event_RegEventStateOnline(const Tools::OString &,const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(38) : see previous definition of 'Event_RegEventStateOnline' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(276) : error C2084: function 'void CSipStack::Event_RegEventStateOffLine(const Tools::OString &,const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(40) : see previous definition of 'Event_RegEventStateOffLine' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(282) : error C2084: function 'void CSipStack::Event_WritePacketLog(const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(42) : see previous definition of 'Event_WritePacketLog' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(289) : error C2084: function 'void CSipStack::Event_ReadPacketLog(const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(44) : see previous definition of 'Event_ReadPacketLog' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(296) : error C2084: function 'void CSipStack::LogMessage(const Tools::OString &)' already has a body i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.h(50) : see previous definition of 'LogMessage' i:\projectextreme\vqubeextreme\vqubeextreme\sipstack.cpp(413) : error C2664: 'SF::SoftPhoneInterface::SetEnablePrivacy' : cannot convert parameter 1 from 'const char [6]' to 'BOOL' There is no context in which this conversion is possible I would be glad if anyone can help out!! Thanks in advance!! cheers Jay Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/ |
From: OpenSIPStack F. <ope...@op...> - 2008-08-01 00:58:43
|
Try ./configure --enable-localspeex and rebuild your library. If this does not work, please send the results of your configure output. -joegen > {quote:title=mouncifb wrote:}{quote} > > I have downloaded opensipstack and opensbc from CVS I get this when I run: make bothnoshared > what should I do? > > > g++ -D_REENTRANT -D_REENTRANT -Wall -DPTRACING -I/root/opensbc/opensipstack/include -DPTRACING -I/root/opensbc/opensipstack/include -Os -c /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx -o /root/opensbc/opensipstack/lib/obj_linux_x86_r/echocancel.o > /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:106:24: error: speex_echo.h: No such file or directory [snip] |
From: OpenSIPStack F. <ope...@op...> - 2008-07-31 21:14:45
|
I have downloaded opensipstack and opensbc from CVS I get this when I run: make bothnoshared what should I do? g++ -D_REENTRANT -D_REENTRANT -Wall -DPTRACING -I/root/opensbc/opensipstack/include -DPTRACING -I/root/opensbc/opensipstack/include -Os -c /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx -o /root/opensbc/opensipstack/lib/obj_linux_x86_r/echocancel.o /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:106:24: error: speex_echo.h: No such file or directory /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:107:30: error: speex_preprocess.h: No such file or directory /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx: In destructor âvirtual OpalEchoCanceler::~OpalEchoCanceler()â: /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:158: error: âspeex_echo_state_destroyâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:163: error: âspeex_preprocess_state_destroyâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx: In member function âvoid OpalEchoCanceler::SetParameters(const OpalEchoCanceler::Params&)â: /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:187: error: âspeex_echo_state_destroyâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:192: error: âspeex_preprocess_state_destroyâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx: In member function âvirtual void OpalEchoCanceler::ReceivedPacket(RTP_DataFrame&, INT)â: /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:233: error: âspeex_echo_state_initâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:236: error: âspeex_preprocess_state_initâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:237: error: âSPEEX_PREPROCESS_SET_DENOISEâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:237: error: âspeex_preprocess_ctlâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:241: error: âspx_int16_tâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:241: error: expected primary-expression before â)â token /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:241: error: expected `;' before âmallocâ /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:246: error: âspx_int32_tâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:249: error: âspx_int16_tâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:249: error: expected primary-expression before â)â token /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:249: error: expected `;' before âmallocâ /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:251: error: âspx_int16_tâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:251: error: expected primary-expression before â)â token /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:251: error: expected `;' before âmallocâ /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:257: error: âspx_int16_tâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:257: error: expected primary-expression before â)â token /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:257: error: expected `)' before âref_bufâ /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:267: error: âspx_int16_tâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:267: error: expected primary-expression before â)â token /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:267: error: âspeex_preprocessâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:268: error: expected primary-expression before â)â token /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:277: error: âspx_int32_tâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:277: error: expected primary-expression before â)â token /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:277: error: âspeex_echo_cancelâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:284: error: âspx_int16_tâ was not declared in this scope /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:284: error: expected primary-expression before â)â token /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:284: error: expected primary-expression before â)â token /root/opensbc/opensipstack/src/opal/src/codec/echocancel.cxx:284: error: âspeex_preprocessâ was not declared in this scope make[3]: *** [/root/opensbc/opensipstack/lib/obj_linux_x86_r/echocancel.o] Error 1 make[3]: Leaving directory `/root/opensbc/opensipstack/src' make[2]: *** [/root/opensbc/opensipstack/lib/libopensipstack_linux_x86_r_s.a] Error 2 make[2]: Leaving directory `/root/opensbc/opensbc' make[1]: *** [optnoshared] Error 2 make[1]: Leaving directory `/root/opensbc/opensbc' make: *** [bothnoshared] Error 2 |
From: Joegen E. B. <joe...@gm...> - 2008-07-29 10:26:34
|
You will have to use and event queue for that. See the EventQueue class (EventQueue.h). You need to use the EventQueue(BOOL blockIfEmpty) constructor and set the blockIfEmpty to TRUE m_SDPOfferEventQueue = new EventQueue( TRUE ); The in your virtual method you can do something like void CallSessionManager::EnqueueSDPAnswer( PString * answer ) { m_SDPOfferEventQueue->Enqueue( answer ); } BOOL CallSessionManager::OnRequireSDPAnswer( const SIPMessage & offer, SIPMessage & answer, CallSession & session ) { /// report this event to external module call_your_external_module( ... ); PString * eventObject = dynmic_cast<PString *>(m_SDPOfferEventQueue->DequeueEvent()); answer.SetBody( *eventObject ); delete eventObject; return TRUE; } Be careful about the queue. It will block forever if an event is not received so better make sure that there is an event that will unblock it. HTH, Joegen haripriya alapati wrote: > I am proceeding as per your suggestion. > But the thing is my audio and network module is dialog based, asynchronous event driven ones. How can i subclass those modules to this sip parser module. > Still i am struggling with that. > Can i have any suggestion regarding this. > > Thanks in advance. > > > > On Thu, 26 Jun 2008 jo...@op... wrote : > >> I am going to assume that you sub-classed the CallSession UACore for your gateway. If this NOT what you did, then you need to give more info. If this is what you did, all you need to do is to implement the two blank methods in CallSessionManager. >> BOOL CallSessionManager::OnRequireSDPAnswer( >> const SIPMessage & offer, >> SIPMessage & answer, >> CallSession & session >> ) >> { >> /// Media UA should implement this method >> return FALSE; >> } >> >> BOOL CallSessionManager::OnRequireSDPOffer( >> SIPMessage & _offer, >> CallSession & session >> ) >> { >> /// Media UA should implement this method >> return FALSE; >> } >> >> >> Lastly, as you can see, the default implementation of the CallSession does not have RTP. >> Joegen >> >> >> haripriya alapati wrote: >> >>> Hi, >>> >>> I have already DSP and NETWORK modules. Only thing is I have to include the SIP module to my project. >>> For Sip parser I am using opensipstack source code. But I am not getting how to separate the sip parser from the rtp and media modules in the opensipsatck code. Can anyone please help me regarding this. >>> >>> Thanks in advance. ------------------------------------------------------------------------- >>> 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 >>> 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.5.6/1578 - Release Date: 7/28/2008 5:13 PM > > > > |
From: haripriya a. <har...@re...> - 2008-07-29 10:04:20
|
I am proceeding as per your suggestion. But the thing is my audio and network module is dialog based, asynchronous event driven ones. How can i subclass those modules to this sip parser module. Still i am struggling with that. Can i have any suggestion regarding this. Thanks in advance. On Thu, 26 Jun 2008 jo...@op... wrote : >I am going to assume that you sub-classed the CallSession UACore for your gateway. If this NOT what you did, then you need to give more info. If this is what you did, all you need to do is to implement the two blank methods in CallSessionManager. >BOOL CallSessionManager::OnRequireSDPAnswer( > const SIPMessage & offer, > SIPMessage & answer, > CallSession & session >) >{ > /// Media UA should implement this method > return FALSE; >} > >BOOL CallSessionManager::OnRequireSDPOffer( > SIPMessage & _offer, > CallSession & session >) >{ > /// Media UA should implement this method > return FALSE; >} > > >Lastly, as you can see, the default implementation of the CallSession does not have RTP. >Joegen > > >haripriya alapati wrote: >> Hi, >> >>I have already DSP and NETWORK modules. Only thing is I have to include the SIP module to my project. >>For Sip parser I am using opensipstack source code. But I am not getting how to separate the sip parser from the rtp and media modules in the opensipsatck code. Can anyone please help me regarding this. >> >>Thanks in advance. ------------------------------------------------------------------------- >>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 >>ope...@li... >>https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> > |
From: Bondan W. <bo...@ci...> - 2008-07-28 01:24:59
|
Please unsubscribe this email. Thx. |
From: OpenSIPStack F. <ope...@op...> - 2008-07-27 15:35:43
|
I have recently commited the HTTPSession classes to allow OpenSBC to call HTTP based handlers like PHP. Download the latest from CVS and take a look at php/auth.php, php/setup.php, php/callstart.php, php/callstop.php files. You must modify these files to suit your needs and host them in a php capable web server. You may then put a B2BUA route like so. [sip:*] http://myphpcapablewebserver.com/folder/where/my/phpfiles/are/. Take note that this is still alpha code so you are on your own if you decide to use them at this early stage. Joegen > {quote:title=balajibhr wrote:}{quote} > > Hi > > > > > > thanks for the suggestions > > > since FAR NAT have always problem when we do hosted places > > > since we stay in india, its too far to host the applications there > > > > > > so we are building our own to get addressed the problem what we have described > > > any documents for the same, Low level API, where can i look that > > > is this development need to be done over PHP or XML ? > > > > > > any suggestions > > > balaji > > |
From: OpenSIPStack F. <ope...@op...> - 2008-07-23 18:06:43
|
Thank you, Joegen. {quote}However, m_ThreadPool will delete all threads when SIPUserAgent gets deleted. If they seem to be running forever, then it means SIPUserAgent is staying forever too.{quote} That corresponds with what I was seeing, however, now it is not happening. I don't know why. I will send a private message in regard to the Delphi version of OSSPhone. Finest regards, Bill Root |
From: OpenSIPStack F. <ope...@op...> - 2008-07-23 12:45:43
|
Thanks. I modified the custom build steps to move the files to a different directory other than System32 and just created a C:\tools\share directory and copied bison there, since that directory is apparently hard-coded in bison (unless an environment variable overrides it?). I also copied bison.exe to opensbc\opensipstack\src\pwlib\src\ptlib\common to get around the PATH requirement for bison. OpenSbc would successfully build after those changes. -justin |
From: OpenSIPStack F. <ope...@op...> - 2008-07-23 06:09:43
|
Look for bison.exe.in, flex.exe.in and modify their custom build steps. For example, the current custom build step for bison.exe.in is copy /Y/B external\flexbison-win32\bison.exe.in "%SystemRoot%\system32\bison.exe". Regarding configure, look for configure-vc7.bat or configure-vc8.bat end add the folders you want to exclude from the search in the parameters HTH, Joegen > {quote:title=jmatthewsr wrote:}{quote} > Hi, > > With the Visual Studio build, if I don't want the build to automatically copy a bunch of files to \windows\system32 and modify the custom build steps to copy them to a local directory instead, short of adding this local directory to my PATH, how can I get configure to use a different search path to find the external dependencies? > > Thanks, > > > -justin |