[SR-Users] Kamailio SCTP support

Klaus Darilion klaus.mailinglists at pernau.at
Wed May 5 21:37:51 CEST 2010


Daniel-Constantin Mierla wrote:
> Hello,
> 
> On 5/5/10 9:52 AM, Francisco José Méndez Cirera wrote:
>> Hello,
>>
>> I've downloaded Kamailio 3.0.0 (the last release) and I´ve seen it´s 
>> possible downloading a "binary tar.gz" or the source to compile 
>> directly. I would like to know if the binary has enabled support for 
>> SCTP by default.
>>
>> If it´s enabled by default, how can I activate it (I can´t find any 
>> option related to sctp in kamailio.cfg) ?
>>
>> If it isn´t enabled by default, which are the dependencies? Is there a 
>> document or something with at least the main dependencies?
>>
>> Thank you very much. Bye!
> 
> I think the binaries don't have SCTP built, you can check with 'kamailio 
> -V', if you see SCTP use flag, then it is otherwise is not.

 From Makefile.defs (for Linux):

                 ifeq ($(SCTP),1)
                         # use lksctp
                         C_DEFS+=-DUSE_SCTP
                         LIBS+=-lsctp
                 endif



So I guess you should do "make cfg SCTP=1" before make, make install. 
Further, libsctp is needed. So for example if you are using 
Debian/Ubuntu then "apt-get install libsctp-dev" should be the trick.

regards
klaus



More information about the sr-users mailing list