Bruce McAlister schrieb:
Hi All,
I am wanting to play with Kamailio 3.0.0 and SCTP as well. I just want to verify that I am building it in to Kamailio properly. When I build Kamailio do I need to have USE_SCTP=1 as an option on the make command line to enable SCTP support?
I can see there are updates in the ChangeLog for SCTP but I cannot find how to enable support for it in the INSTALL/README-MODULES documentation.
Can someone point me in the right direction please.
I do not know. For kamailio 1.5 I would just grep for SCTP in the sources to get the answer. For kamailio 3.0 (based on sip-router with a new (I guess much better) SCTP implementation there is probably another method needed. A cite from another email from Andrei:
Yes, make cfg SCTP=1 and then make all will compile with SCTP support. I'm currently pondering whether or not I should make the SCTP support automatic (if the needed *.h files are installed compile it automatically).
regards klaus
Thanks Bruce
-----Original Message----- From: users-bounces@lists.kamailio.org [mailto:users-bounces@lists.kamailio.org] On Behalf Of Daniel-Constantin Mierla Sent: 11 January 2010 09:57 To: mustafa samara Cc: users@lists.kamailio.org Subject: Re: [Kamailio-Users] about kamailio with sctp
Hello,
On 1/11/10 1:37 AM, mustafa samara wrote:
Hello i do not know how to try sctp, imake kmailio 1.5 with sctp=1 could you help me?
if you want to play with sctp then I recommend to use 3.0.0 (to be released today). It has far more improvements and new features than older versions to SCTP. You can take it from git now: http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.0.x-from-git
Some highlights about sctp and 3.0.0: http://by-miconda.blogspot.com/2010/01/best-of-new-in-kamailio-300-15-sctp.h tml
Cheers, Daniel
Hi Klaus,
I do not know. For kamailio 1.5 I would just grep for SCTP in the sources to get the answer. For kamailio 3.0 (based on sip-router with a new (I guess much better) SCTP implementation there is probably another method needed. A cite from another email from Andrei:
Yes, make cfg SCTP=1 and then make all will compile with SCTP support. I'm currently pondering whether or not I should make the SCTP support automatic (if the needed *.h files are installed compile it
automatically).
I am compiling Kamailio 3.0.0 on Solaris 10 which does have SCTP support inherent in the OS. I did a 'grep -i sctp Makefile*' and saw that there were checks for SCTP in the makefiles.
I ended up building Kamailio 3.0.0 with the following command line:
make prefix=/opt/kamailio \ SCTP=1 \ CC_EXTRA_OPTS=-I/usr/gnu/include \ group_include="standard postgres presence" \ include_modules="snmpstats perl tls" \ all
The build went through successfully and I can see that sctp_server.o has been linked into the kamailio binary when the build is running.
Does anyone know of any tool that I can use to test Kamailio using the SCTP protocol?
Thanks Bruce