[OpenSIPS-Users] No support for TCP in OpenSIPS v2.1?

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Mar 2 11:40:05 CET 2015


The TCP-plain and UDP-plain protocols are modules directly in code (see 
net/ directory ). These module are automatically compiled, you do not 
have to do anything more than placing that loadmodule in the script. It 
should automagically do the work for you ;)

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 02.03.2015 05:42, shahzad at voip-demos.com wrote:
>
> OK, in the source tree, i only see proto_tls and proto_sctp directors 
> under modules. Searching proto_tcp lead me to net directory which 
> indeed has proto_tcp and proto_udp directories however, there is no 
> "so" file, so i guess these protos not compiled by default, however 
> interestingly they also do not have any Makefile, so i can't even try 
> to manually compile them (i.e. without relying on "make menuconfig").
>
> Should i continue my attempt to compile and run v2.1 tunk or is it too 
> early to test it? Please advise.
>
> Thank you.
>
> On 2015-03-01 13:03, Bogdan-Andrei Iancu wrote:
>
>> Hi,
>> In 2.1 the protocols are loaded as modules and there is no disable 
>> param at all.
>> So just set the tcp listener and do loadmodule "proto_tcp.so" .
>> Note many parameters related to protocols were changed or moved and 
>> the docs were not yet updated.
>> Regards,
>> Bogdan
>> Sent from Samsung Mobile
>>
>>
>> -------- Original message --------
>> From: shahzad at voip-demos.com
>> Date:01/03/2015 03:25 (GMT+01:00)
>> To: users at lists.opensips.org
>> Subject: [OpenSIPS-Users] No support for TCP in OpenSIPS v2.1?
>>
>> OK, so i have successfully compiled opensip v2.1 trunk and tried to
>> start it with minimal configuration, it fails and gives error on global
>> TCP parameters. It does not even accepts "disable_tcp=no".
>>
>> I do not understand what is wrong here, i rechecked every option in
>> "make menuconfig" and didn't find anything related to TCP anywhere.
>> Please help, i need TCP support to test opensips capability to
>> interconnect with webrtc endpoints and rtpengine service.
>>
>> Here is the output of opensips -V command,
>>
>> --
>> version: opensips 2.1.1dev (x86_64/linux)
>> flags: STATS: On, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
>> FAST_LOCK-FUTEX-ADAPTIVE_WAIT, USE_PTHREAD_MUTEX
>> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
>> MAX_URI_SIZE 1024, BUF_SIZE 65535
>> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
>> git revision: 2dd472a
>> main.c compiled on 03:10:21 Mar  1 2015 with gcc 4.7
>> --
>>
>>
>> Thank you.
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150302/c2c5e272/attachment.htm>


More information about the Users mailing list