Hello,
On 31.07.2009 10:57 Uhr, Martin Werne wrote:
Thanks, Daniel!
libosptk3-dev is not in 8.04.
According to Transnexus, Kamailio 1.5.x only works with OSP Toolkit version 3.4.2.
ok, I see. 9.04 has the 3.4.2 indeed. We should add note in the readme
of the mode.
So compiling and installing OSP Toolkit 3.4.2 solved
the problem.
Also tested installing Kamailio with OSP-support on a clean 9.04 with libosptk3, works
great!
Thanks,
Daniel
Thanks!
Martin
----- Original Message -----
From: "Daniel-Constantin Mierla" <miconda(a)gmail.com>
To: "Martin Werne" <martin.werne(a)googlemail.com>
Cc: osp-toolkit-client(a)lists.sourceforge.net, users(a)lists.kamailio.org
Sent: Wednesday, 29 July, 2009 15:52:36 GMT +01:00 Amsterdam / Berlin / Bern / Rome /
Stockholm / Vienna
Subject: Re: [Kamailio-Users] Kamailio OSP-module compile problem
Hello,
On 29.07.2009 15:47 Uhr, Martin Werne wrote:
Hi!
I have problem compiling the OSP-module in Kamailio 1.5.x
OS: Ubuntu Server 8.04LTS
Compiling and installing OSPToolkit is OK.
have you installed from sources? I have ubuntu desktop 9.04 and
libosptk3-dev installed - the module compiles ok. IIRC, libosptk3
package was also in 8.10.
Cheers,
Daniel
The problem occures when it comes to compiling
the OSP-module in Kamailio:
make[1]: Entering directory `/usr/src/kamailio/modules/osp'
make[1]: Leaving directory `/usr/src/kamailio/modules/osp'
make[1]: Entering directory `/usr/src/kamailio/modules/osp'
Compiling destination.c
Compiling globals.c
Compiling orig_transaction.c
In file included from orig_transaction.c:40:
sipheader.h:48: error: expected declaration specifiers or '...' before
'OSPTCALLID'
orig_transaction.c: In function 'ospLoadRoutes':
orig_transaction.c:84: error: 'OSPE_DEST_PROT' undeclared (first use in this
function)
orig_transaction.c:84: error: (Each undeclared identifier is reported only once
orig_transaction.c:84: error: for each function it appears in.)
orig_transaction.c:84: error: expected ';' before 'protocol'
orig_transaction.c:85: error: 'OSPE_DEST_OSP_ENABLED' undeclared (first use in
this function)
orig_transaction.c:85: error: expected ';' before 'enabled'
orig_transaction.c:150: error: 'protocol' undeclared (first use in this
function)
orig_transaction.c:154: error: 'OSPE_DEST_PROT_SIP' undeclared (first use in this
function)
orig_transaction.c:157: error: 'OSPE_DEST_PROT_H323_LRQ' undeclared (first use in
this function)
orig_transaction.c:158: error: 'OSPE_DEST_PROT_H323_SETUP' undeclared (first use
in this function)
orig_transaction.c:159: error: 'OSPE_DEST_PROT_IAX' undeclared (first use in this
function)
orig_transaction.c:163: error: 'OSPE_DEST_PROT_UNDEFINED' undeclared (first use
in this function)
orig_transaction.c:164: error: 'OSPE_DEST_PROT_UNKNOWN' undeclared (first use in
this function)
orig_transaction.c:170: error: 'enabled' undeclared (first use in this function)
orig_transaction.c:174: error: 'OSPE_OSP_FALSE' undeclared (first use in this
function)
orig_transaction.c:189: error: 'OSPC_SOURCE' undeclared (first use in this
function)
orig_transaction.c: In function 'ospRequestRouting':
orig_transaction.c:260: error: 'OSPTCALLID' undeclared (first use in this
function)
orig_transaction.c:260: error: 'callids' undeclared (first use in this function)
orig_transaction.c:282: error: too many arguments to function 'ospGetCallId'
orig_transaction.c:325: error: 'OSPC_E164' undeclared (first use in this
function)
make[1]: *** [orig_transaction.o] Error 1
make[1]: Leaving directory `/usr/src/kamailio/modules/osp'
make: *** [modules] Error 2
Has tried with both OSPToolkit 3.5.2 and 3.3.6.
And with both Kamailio 1.5.1 and 1.5.2
Same problem.
Does anyone know what is the problem?
Regards,
Martin
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
* SIP Router Bootcamp
* Kamailio (OpenSER) and Asterisk Training
* Berlin, Germany, Sep 1-4, 2009
*
http://www.asipto.com/index.php/sip-router-bootcamp/