[OpenSIPS-Users] TCP/TLS connection issue

2024-11-09 Thread Hamed Ramezani
Hello all, Recently I added TLS configuration to the opensips configuration file to let the clients make connections with TLS.(We use nathelper,mid_registrar,rtpproxy,cfgutils,proto_tcp,proto_tls,tls_mgm,dialog,sl,signaling,tm,rr, sipmsgops,maxfwd,textops,mi_fifo,usrloc,acc,db_mysql,options,topol

Re: [OpenSIPS-Users] TCP keepalive problem.

2024-09-24 Thread Bogdan-Andrei Iancu
Hi Volkan, The TCP persistent flag is a passive way to keep the connection open, meaning OpenSIPS will not close it during the registration time. But does not imply any kind of keep alive. For some active ways of keeping the conn up, see https://www.opensips.org/Documentation/Script-CoreParam

[OpenSIPS-Users] TCP keepalive problem.

2024-08-24 Thread Volkan Oransoy
Hi all, I have an interesting issue that I am trying to identify the cause of. I am trying to migrate a quite old Kamailio SIP proxy to OpenSIPS 3.4. The new OpenSIPS proxy uses mid_registrar and replicates registrations to the backend boxes. A specific type of UACs (Gigaset AS690) does not keep t

[OpenSIPS-Users] TCP connection relay issue

2022-05-04 Thread Devang Dhandhalya via Users
Hi All Issue is whenever i am sending Register or INVITE request with TCP in opensips using tcp connection to relay request to Freeswitch server while i want to use UDP socket to send Request from OpenSIPs to Freeswitch , using mid registrar for registering users. OpenSIPS version : 3.2.2 flow :e

Re: [OpenSIPS-Users] TCP-related errors

2022-01-18 Thread Bogdan-Andrei Iancu
. I opened a Github issue for it here: https://github.com/OpenSIPS/opensips/issues/2724 <https://github.com/OpenSIPS/opensips/issues/2724> Ben Newlin *From: *Users on behalf of Jeff Pyle *Date: *Tuesday, January 11, 2022 at 7:25 PM *To: *OpenSIPS users mailling list *Subject: *[OpenSIPS

Re: [OpenSIPS-Users] TCP-related errors

2022-01-11 Thread Ben Newlin
To: OpenSIPS users mailling list Subject: [OpenSIPS-Users] TCP-related errors Hello, I have two similarly configured systems running a recent OpenSIPS 3.2 with may errors like this: CRITICAL:core:io_watch_add: >>> fd_array idx 1 (fd=193) points to bogus map >>> (fd=-1,type=0,f

[OpenSIPS-Users] TCP-related errors

2022-01-11 Thread Jeff Pyle
Hello, I have two similarly configured systems running a recent OpenSIPS 3.2 with may errors like this: CRITICAL:core:io_watch_add: >>> fd_array idx 1 (fd=193) points to bogus map (fd=-1,type=0,flags=2000,data=(nil)) It seems you have hit a programming bug. Please help us make OpenSIPS bette

Re: [OpenSIPS-Users] TCP to UDP

2017-10-13 Thread Bogdan-Andrei Iancu
gt; au nom de Denis via Users mailto:users@lists.opensips.org>> *Répondre à : *Denis mailto:denis7...@mail.ru>>, OpenSIPS users mailling list <mailto:users@lists.opensips.org>> *Date : *mardi 12 septembre 2017 à 13:14 *À : *OpenSIPS users mailling list <mailto:users@lists.

Re: [OpenSIPS-Users] TCP to UDP

2017-09-12 Thread Denis via Users
rg> au nom de Denis via Users <users@lists.opensips.org>Répondre à : Denis <denis7...@mail.ru>, OpenSIPS users mailling list <users@lists.opensips.org>Date : mardi 12 septembre 2017 à 13:14À : OpenSIPS users mailling list <users@lists.opensips.org>Objet : [OpenSIPS-Users] T

Re: [OpenSIPS-Users] TCP to UDP

2017-09-12 Thread Alain Bieuzent
Denis, you can do it with subst_uri like : subst_uri('/(sip:.*);transport=tcp/\1/'); Regards De : Users au nom de Denis via Users Répondre à : Denis , OpenSIPS users mailling list Date : mardi 12 septembre 2017 à 13:14 À : OpenSIPS users mailling list Objet : [Open

[OpenSIPS-Users] TCP to UDP

2017-09-12 Thread Denis via Users
Hello! Should Opensips change "transport" parameter from tcp to udp in RURI during transition from one protocol to another? Opensips 2.3 Thank you. -- С уважением, Денис.Best regards, Denis    ___ Users mailing list Users@lists.opensips.org http://lists.

Re: [OpenSIPS-Users] tcp with opensips .

2017-01-24 Thread Bogdan-Andrei Iancu
Hi Sasmita, 1.6 is a real old version. The oldest still maintained version is 1.11, so you should consider it. The newer version have support for async (none blocking) TCP support (connect, read, write) so it should not be a problem at all. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and

[OpenSIPS-Users] tcp with opensips .

2017-01-18 Thread Sasmita Panda
HI All, Earlier there is problem with running tcp with saving data in database at the same time . Is the problem get solved . If yes then in which version of opensips . I think , there was problem with openisps -1.6 . In heavy load it was not recomended to run tcp in same instance whi

Re: [OpenSIPS-Users] tcp io logs, loop

2016-11-03 Thread Răzvan Crainea
Hi, Dawid! That log appears when you have traffic. If you stop the traffic and you're still seeing those debug messages, then that might be a problem. BR Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 11/03/2016 10:24 AM, Dawid Mielnik wrote: Hi Razvan, I know they are deb

Re: [OpenSIPS-Users] tcp io logs, loop

2016-11-03 Thread Dawid Mielnik
Hi Razvan, I know they are debug level but because they only happen from time to time and they really flood the log I was worried this might be some loop error. Ok then, thank you for the info! BR, Dawid On Thu, Nov 3, 2016 at 9:11 AM, Răzvan Crainea wrote: > Hi, Dawid! > > Those are simply d

Re: [OpenSIPS-Users] tcp io logs, loop

2016-11-03 Thread Răzvan Crainea
Hi, Dawid! Those are simply debug messages from the process's internal reactor. There is nothing wrong with them, it simply proves the TCP interface (for bin replication) is working properly. Unless there is no ERROR, WARNING, CRITICAL logs, there is nothing to worry about. Best regards, Ră

[OpenSIPS-Users] tcp io logs, loop

2016-11-02 Thread Dawid Mielnik
Hi, I have a reduntant OpenSIPS 2.2.1 setup with clusterer and binary interface replication. TCP is not used for SIP. A few times I have observed debug log being flooded with messages like these below. What is causing them ? Should I be worried ? How to get rid of this issue ? Oct 17 11:25:56.281

Re: [OpenSIPS-Users] TCP/TLS Connection timeout 120 seconds

2015-05-08 Thread Bogdan-Andrei Iancu
Hi Domenico, I just tested 1.11.4 and the flags seems to work properly. I set the tcp_connection_lifetime to 10 secs and a REGISTER with 300 secs. I run both cases (with and without the flag) and monitor the status of the tcp conns by "opensipsctl fifo list_tcp_conns" . Could you do the same

Re: [OpenSIPS-Users] TCP connection closed after the call is established

2015-05-07 Thread Bogdan-Andrei Iancu
Hi Mickael, No, you cannot force it - it is against the TCP philosophy :) . Which entity closes the TCP conn - OpenSIPS or the SBC ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 06.05.2015 11:02, Mickael Marrache wrote: Forget the previous

Re: [OpenSIPS-Users] TCP connection closed after the call is established

2015-05-06 Thread Mickael Marrache
Forget the previous error, it is not related to the issue. The issue is that when OpenSIPS sends the BYE to the SBC, it opens a new TCP connection to the SBC but uses a randomly chosen source port, therefore we don't see the SIP traffic using ngrep since we are filtering using port. Is ther

[OpenSIPS-Users] TCP connection closed after the call is established

2015-05-06 Thread Mickael Marrache
Hi, We systematically get the following error with a particular SBC when a BYE is received: Apr 30 21:41:47 [11535]: ERROR:core:tcp_read: error reading: Connection reset by peer Apr 30 21:41:47 [11535]: ERROR:core:tcp_read_req: failed to read The components present in the call flow are

[OpenSIPS-Users] TCP/TLS Connection timeout 120 seconds

2015-04-28 Thread Domenico Cardile
Hi all, I use opensips 1.11.3 with TLS and I notice that the bug related to version 1.8.x: http://sourceforge.net/p/opensips/bugs/544/#f352 is also present in the version 1.11.3. If I declared modparam("registrar", "tcp_persistent_flag", 7) and then set the flag setflag(7) before the save()

Re: [OpenSIPS-Users] tcp keep-alive time

2014-10-18 Thread george wu
So it seems the sctp is the best. reliable and scalable. At 2014-10-18 16:30:02, "Bogdan-Andrei Iancu" wrote: George, If the TCP conn closes, it is not much you can do from the server side...you cannot open a TCP conn behind NAT. You have to wait for the UAC to re-connect again. About y

Re: [OpenSIPS-Users] tcp keep-alive time

2014-10-18 Thread Bogdan-Andrei Iancu
George, If the TCP conn closes, it is not much you can do from the server side...you cannot open a TCP conn behind NAT. You have to wait for the UAC to re-connect again. About your manual UDP defrag - I do not think it is a good it - the UDP stack must to that for you, you cannot simulate it

Re: [OpenSIPS-Users] tcp keep-alive time

2014-10-17 Thread george wu
Bogdan-Andrei: Thank you very much for so many helps. Yes, tcp_connection_lifetime. As you said before, udp scale up very well. But tcp is not. However, I have no choice other than tcp. If the tcp get closed often, is it similar to udp? Recently I modify the udp_server.c so that I defragment the

Re: [OpenSIPS-Users] tcp keep-alive time

2014-10-17 Thread Bogdan-Andrei Iancu
Hi Geroge, You want to change the keepalive or the lifetime of the TCP conn ? As it sounds to me you are more looking for lifetime (to have closed asap): http://www.opensips.org/Documentation/Script-CoreParameters-1-11#toc91 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://ww

[OpenSIPS-Users] tcp keep-alive time

2014-10-16 Thread george wu
Hi, guys: How can I adjust the global tcp keep alive time? what's the default in opensips? I want it to close as soon as possible so that tcp deployment can scale. George Wu ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-

Re: [OpenSIPS-Users] TCP Errors

2014-08-06 Thread Bogdan-Andrei Iancu
t;Liviu Chircu" *To:* users@lists.opensips.org *Subject:* Re: [OpenSIPS-Users] TCP Errors Hello Gary, That "error" is most likely due to out-of-dialog ACKs to 487 responses (CANCEL scenarios). Thank you for reporting - it should actually be a debugging message. Best regards, L

Re: [OpenSIPS-Users] TCP Errors

2014-07-02 Thread Gary Nyquist
suggestion? Thanks again...   BR - Gary   Sent: Tuesday, July 01, 2014 at 8:05 AM From: "Liviu Chircu" To: users@lists.opensips.org Subject: Re: [OpenSIPS-Users] TCP Errors Hello Gary, That "error" is most likely due to out-of-dialog ACKs to 487 responses (CANCEL scenarios)

Re: [OpenSIPS-Users] TCP Errors

2014-07-01 Thread Liviu Chircu
atch dialog, ci '4E14BD6E-53B17A8F00026071-6B1EA700' Thanks again... BR -Gary *Sent:* Monday, June 30, 2014 at 5:06 AM *From:* "Vlad Paiu" *To:* users@lists.opensips.org *Cc:* g...@gmx.us *Subject:* Re: [OpenSIPS-Users] TCP Errors Hello, First of all, are you using the async_tcp op

Re: [OpenSIPS-Users] TCP Errors

2014-06-30 Thread Gary Nyquist
ialog, ci '4E14BD6E-53B17A8F00026071-6B1EA700'   Thanks again... BR -Gary   Sent: Monday, June 30, 2014 at 5:06 AM From: "Vlad Paiu" To: users@lists.opensips.org Cc: g...@gmx.us Subject: Re: [OpenSIPS-Users] TCP Errors Hello, First of all, are you using the async_tc

Re: [OpenSIPS-Users] TCP Errors

2014-06-30 Thread Vlad Paiu
*From:* "Bogdan-Andrei Iancu" *To:* "Gary Nyquist" *Cc:* "OpenSIPS users mailling list" *Subject:* Re: [OpenSIPS-Users] TCP Errors Hi, That bug log actually says OpenSIPS tries to remove a connection marked as READ from a list for WRITEs :).. I will look into t

Re: [OpenSIPS-Users] TCP Errors

2014-06-27 Thread Gary Nyquist
, 2014 at 10:56 AM From: "Bogdan-Andrei Iancu" To: "Gary Nyquist" Cc: "OpenSIPS users mailling list" Subject: Re: [OpenSIPS-Users] TCP Errors Hi, That bug log actually says OpenSIPS tries to remove a connection marked as READ from a list for WRITEs :).. I will look

Re: [OpenSIPS-Users] TCP Errors

2014-06-26 Thread Bogdan-Andrei Iancu
flags 2 1 Any advice? BR -Gary *Sent:* Wednesday, June 25, 2014 at 5:54 AM *From:* "Bogdan-Andrei Iancu" *To:* "OpenSIPS users mailling list" , g...@gmx.us *Subject:* Re: [OpenSIPS-Users] TCP Errors Hi, Those messages say that OpenSIPS tried to open a TCP connection to a

Re: [OpenSIPS-Users] TCP Errors

2014-06-25 Thread Gary Nyquist
, June 25, 2014 at 5:54 AM From: "Bogdan-Andrei Iancu" To: "OpenSIPS users mailling list" , g...@gmx.us Subject: Re: [OpenSIPS-Users] TCP Errors Hi, Those messages say that OpenSIPS tried to open a TCP connection to a party which does not respond -> there was a timeout fo

Re: [OpenSIPS-Users] TCP Errors

2014-06-25 Thread Bogdan-Andrei Iancu
Hi, Those messages say that OpenSIPS tried to open a TCP connection to a party which does not respond -> there was a timeout for connect in 10 seconds. Because of this blocking in connects, there were not more opensips workers available to handle other traffic. So what you need to do is :

[OpenSIPS-Users] TCP Errors

2014-06-24 Thread Gary Nyquist
Hi,   The following lines are repeating in the log.   ERROR:core:tcp_blocking_connect: timeout 10 s elapsed from 10 s ERROR:core:tcpconn_connect: tcp_blocking_connect failed ERROR:core:tcp_send: connect failed ERROR:tm:msg_send: tcp_send failed   INFO:core:send2child: no free tcp receiver, c

Re: [OpenSIPS-Users] TCP

2014-03-27 Thread Bogdan-Andrei Iancu
Hello, Are you INVITEs hitting the t_relay() function in your opensips script ? use xlog() to print debugs in your script (or use the script_trace() function - http://www.opensips.org/Documentation/Script-CoreFunctions-1-10#toc42 ) Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

[OpenSIPS-Users] TCP

2014-03-26 Thread darin vivekanadan
Our SIP client is sending TCP register request to opensips[use  opensips as a loadbalancer ] server  but its not forwarding this request  to load balancing servers. Why opensips not forwarding tcp request...  my opensips configuration   core parameters listen=udp:eth0:5060 listen=udp:eth0:7

Re: [OpenSIPS-Users] TCP to UDP proxy

2013-11-07 Thread Ali Pey
Add this in your route: subst_uri('/(sip:.*);transport=tcp/\1/'); To remove transport=tcp from request-uri. This should fix it. Regards, Ali Pey On Wed, Nov 6, 2013 at 2:15 PM, Simon Quigley wrote: > Hi, > > I've done some more testing, and it seems the issue I'm having with the > NATed cont

Re: [OpenSIPS-Users] TCP to UDP proxy

2013-11-06 Thread Simon Quigley
Hi, I've done some more testing, and it seems the issue I'm having with the NATed contact is related to the UA I'm using. If I use empathy/telepathy-sofiasip, then the contact isn't being mangled properly, which causes it to send the 200 OK packet after answering, receive no ACK, and continue res

Re: [OpenSIPS-Users] TCP to UDP proxy

2013-11-01 Thread Simon Quigley
Hi Bogdan, Thanks for your response, your suggestion was much appreciated, and gave me a good direction to work in. You are correct, I was trying to mix stateless and stateful routing together, I realised after watching the webinar. I've made some changes to my configuration file to use record_r

Re: [OpenSIPS-Users] TCP to UDP proxy

2013-10-30 Thread Bogdan-Andrei Iancu
Hello Simon, Most probably it is a mistake on the way you do record_routing (for initial INVITE) and loose_route (for sequential requests). All sequential requests are driven by this mechanism. If the case, check how it suppose to work : http://www.opensips.org/Documentation/Webinars#toc12 (5

[OpenSIPS-Users] TCP to UDP proxy

2013-10-25 Thread Simon Quigley
Hello, I'm trying to use OpenSIPS as a TCP to UDP proxy, (with the registrar module disabled) connecting all sorts of devices from different IP addresses over TCP to a UDP switch. So far I've managed to get OpenSIPS configured to change the contact header, and the SDP, append the transport, and f

Re: [OpenSIPS-Users] TCP Connection Reuse

2013-07-08 Thread Damien Sandras
Hi, Apparently, and for the archives, force_tcp_alias() is the solution for connection reuse. Damien Le 05/07/13 17:33, Damien Sandras a écrit : Hi, I have a question about TCP connection reuse. Let's imagine a phone that REGISTERs to OpenSIPS using TCP. tcp_persistent_flag is enabled, a

[OpenSIPS-Users] TCP Connection Reuse

2013-07-05 Thread Damien Sandras
Hi, I have a question about TCP connection reuse. Let's imagine a phone that REGISTERs to OpenSIPS using TCP. tcp_persistent_flag is enabled, and the appropriate setflag is called a bit before the save function. The phone creates a TCP connection with source port 5 (for example) to Open

Re: [OpenSIPS-Users] TCP connections for relaying calls

2012-11-08 Thread Bogdan-Andrei Iancu
Yes, multiple listeners (same ip, different ports) on receiver (let's say OS2) and using dispatcher on OS1 to do round-robin (or so) over all listeners on OS2. force_send_socket() is to control the interface the message will go out - what you actually have to do is to choose different destinat

Re: [OpenSIPS-Users] TCP connections for relaying calls

2012-11-08 Thread Mariana Arduini
Hi Bogdan, Thanks for the suggestions! So this means we´ll need new "listen" lines, right? Plus, we´d need some mechanism to round-robin through the destinations sockets - like dispatcher? We´re also using force_send_socket(). Will we need to round-robin through the many ports we´re listening as

Re: [OpenSIPS-Users] TCP connections for relaying calls

2012-11-08 Thread Bogdan-Andrei Iancu
Hi Mariana, Because of the TCP conn reusage, between 2 SIP entities preserving their IP and port, you will have only 1 TCP conn (per direction). This will lead to a "tunneling" effect between 2 proxies - all traffic will be pushed via a single connection. To avoid this, use multiple TCP inte

[OpenSIPS-Users] TCP connections for relaying calls

2012-11-08 Thread Mariana Arduini
Hello all, We are using 2 OpenSIPS servers and TCP between them: tcp ---> OSIPS1 <--- tcp ---> OPSIPS2 <--- tcp OSIPS2 has a bunch of children processes running, but we can only see few of them actually being used. When we use SIPp scripts instead of OPSIPS1 and set it to use 1 TCP connection pe

Re: [OpenSIPS-Users] TCP timeout

2011-01-10 Thread Bogdan-Andrei Iancu
To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] TCP timeout Hi Andrei, which party do hang up the call ? caller? callee ? after the call setup (200 OK), do you any ACK from caller to callee ? Maybe the ACK is not properly routed to callee and callee fires a BYE request - maybe a

Re: [OpenSIPS-Users] TCP timeout

2011-01-07 Thread Andrei Bucur
properly Thank you, Andrei -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu Sent: Friday, January 07, 2011 6:26 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] TCP timeout Hi Andrei

Re: [OpenSIPS-Users] TCP timeout

2011-01-07 Thread Bogdan-Andrei Iancu
Hi Andrei, which party do hang up the call ? caller? callee ? after the call setup (200 OK), do you any ACK from caller to callee ? Maybe the ACK is not properly routed to callee and callee fires a BYE request - maybe a sip capture from opensips machine will help. Regards, Bogdan Andrei Buc

[OpenSIPS-Users] TCP timeout

2011-01-07 Thread Andrei Bucur
?Hi, I use opensips 1.6.4-notls and I configure it to listen on TCP 5060 and UDP 5060 Everything is working ok on the UDP part but if using TCP 5060 the call hangs up after about 130 sec The problem seems like to be tcpconn_timeout: ==

Re: [OpenSIPS-Users] TCP Sockets Phones De-Register and then Quickly Re-Register.

2010-12-28 Thread Bogdan-Andrei Iancu
Hi David, With TCP, there is no need to have the TCP connection up during the whole duration of the registration - it is perfectly normal for the TCP conn to be terminated after REGISTER request (by server or client side). For example, opensips has a timeout - for how long it should keep an

[OpenSIPS-Users] TCP Sockets Phones De-Register and then Quickly Re-Register.

2010-12-28 Thread David J.
I am noticing a strange behavior on the phones. They are connecting over TCP; It seems like every 3 minutes they quickly lose registration and then re-register. I am not sure if it is because the phone is sending a register every 3 minutes and then opensips is closing the old socket and openi

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-08-01 Thread Premalatha Kuppan
Still i couldn't make TCP to work. Iam using Opensips 1.6.2 (TLS) enabled. But TLS is working. I wonder even for TLS; TC handshake is done and certificate exchane is successful and can make call. But for TCP, i couldn't even register my client (Qjsimple) behind the NAT with OPENSIPS. At client s

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-08-01 Thread Premalatha Kuppan
Sorry forgot to attach the cfg file..attached now. On Wed, Jul 28, 2010 at 11:15 AM, Premalatha Kuppan wrote: > Still call fails to TC P enabled clients. > > Please find my config file attached. I dono where iam doing mistake > :(..please help > > > Jul 28 01:21:43 204548-4 /usr/local/sbin/opens

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-28 Thread Premalatha Kuppan
Hi, Have you seen my cfg file ? I have tried fix_nat_contact() and fix_nat_register also...:( Am i missing anything ? /* uncomment the next line to disable TCP (default on) */ disable_tcp=no tcp_children=10 tcp_connect_timeout=1 tcp_send_timeout=3 tcp_accept_aliases=1 # - registrar params -

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-28 Thread Premalatha Kuppan
Yes, i have checked. Have you seen my config file. Probably can you guide me where its going wrong ? On Wed, Jul 28, 2010 at 2:36 PM, Anca Vamanu wrote: > Hi, > > Have you checked all the things that I told you in the first reply? > Probably one of that is not matched and this is why it is not

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-28 Thread Anca Vamanu
Hi, Have you checked all the things that I told you in the first reply? Probably one of that is not matched and this is why it is not working. Regards, -- Anca Vamanu www.voice-system.ro On 07/28/2010 10:01 AM, Premalatha Kuppan wrote: Can anyone please help me... On Wed, Jul 28, 2010 a

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-28 Thread Premalatha Kuppan
Can anyone please help me... On Wed, Jul 28, 2010 at 11:16 AM, Premalatha Kuppan wrote: > Sorry forgot to attach the cfg file..attached now. > > > On Wed, Jul 28, 2010 at 11:15 AM, Premalatha Kuppan < > premala...@ngintech.com> wrote: > >> Still call fails to TC P enabled clients. >> >> Please f

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-27 Thread Premalatha Kuppan
Still call fails to TC P enabled clients. Please find my config file attached. I dono where iam doing mistake :(..please help Jul 28 01:21:43 204548-4 /usr/local/sbin/opensips[21528]: REGISTER MESSAGE Jul 28 01:21:43 204548-4 /usr/local/sbin/opensips[21528]: REGISTER sips:PUBLIC IP

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-27 Thread Premalatha Kuppan
Thanks. Sorry for frequent questions. The set-up is already up and running for UDP; i have problem for TCP and TLS. Thats the reason looking for quick remedy. I dono which one is quick and easily done; protocol switching or transfer call from asterisk and then opensips to hanlde it further betwee

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-27 Thread Anca Vamanu
On 07/27/2010 12:29 PM, Premalatha Kuppan wrote: > while compiling , i'm getting error, :( > > b2b_logic.c:32:27: error: libxml/parser.h: No such file or directory > In file included from records.h:36, > from b2b_logic.c:41: > b2b_logic.h:56: error: expected specifier-qualifier-lis

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-27 Thread Premalatha Kuppan
while compiling , i'm getting error, :( b2b_logic.c:32:27: error: libxml/parser.h: No such file or directory In file included from records.h:36, from b2b_logic.c:41: b2b_logic.h:56: error: expected specifier-qualifier-list before ‘xmlNodePtr’ b2b_logic.h:78: error: expected specif

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-27 Thread Premalatha Kuppan
Sorry my mistake...While compiling, i have excluded the module b2b_logic. So no .so is created for b2b_logic. Now i have removed it from the Make file -exclude module and compiled. On Tue, Jul 27, 2010 at 1:17 PM, Premalatha Kuppan wrote: > Thanks Anca. I have already installed opensips 1.6.2 its

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-27 Thread Premalatha Kuppan
Thanks Anca. I have already installed opensips 1.6.2 its up and running. To enable B2BUA logic, i followed the link. and loaded the modules, loadmodule "b2b_entities.so" loadmodule "b2b_logic.so" Its throwing me an error, ERROR:core:yyparse: module 'b2b_logic.so' not found in '//lib64/opensips/m

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-26 Thread Anca Vamanu
Hi Prem, Unless you require to do some changes in the outbound messages( like adding or modifying headers ), you can put all the logic - proxy and b2bua in one OpenSIPS instance. The limitations are only the script ones ( the thing that changes on the message are applied only when the message

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-26 Thread Premalatha Kuppan
Thanks Anca. This is what i was looking for. Btw, if i understood correct. I can make current Opensips (TLS enabled - 1.6.2 (Proxy)) one to act as B2BUA. or is it i hv to uninstall the current one and install other 2BUA. Iam confused. Please clarify. On Mon, Jul 26, 2010 at 6:15 PM, Anca Vamanu

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-26 Thread Anca Vamanu
Hi Prem, Yes, your scenario is possible with OpenSIPS B2BUA and it will work also with TCP/TLS. When asterisk gets the destination it can send a BYE to OpenSIPS with a header ( with any name you like) containing the destination. You just have to take care to put this name in the scenario ( mod

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-26 Thread Premalatha Kuppan
Thanks Anca. Iam going to try this now and let you the results. BTW, i have one question: Iam using Opensips 1..6.2 TLS enabled, can i make it to works as well as B2BUA ? If so how ? Actaully, my scenario is All users will get registered with opensips and all calls (Incoming Invite) would be fo

Re: [OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-26 Thread Anca Vamanu
Hi Prem, There are some things that you have to take care if you want TCP to work: 1) set the script parameter : tcp_accept_aliases = 1' 2) the top most Via header in Register from the client must contain 'alias' parameter. To check this print the Register message from the script: xlog("$mb\n

[OpenSIPS-Users] TCP CONNECT ERROR;

2010-07-25 Thread Premalatha Kuppan
Hi, I have Integrated setup of Opensips(TLS) (1.6.2)) and Asterisk (1.4.3.1). When i try to make call to TCP enabled client. The call fails. Below is the Error observed at Opensips. Jul 23 13:54:45 204548-4 /usr/local/sbin/opensips[8374] : new branch at sip:999_456_1...@209.242.149.98:1036;trans

Re: [OpenSIPS-Users] TCP AORs and db_mode 1/2/3

2010-02-09 Thread Bogdan-Andrei Iancu
Hi Brian, opensipsl...@encambio.com wrote: > Hello Bogdan, > > An lun., févr 08, 2010, Bogdan-Andrei Iancu schrieb: > >> opensipsl...@encambio.com wrote: >> >>> Thinking today about why my messages are sometimes routed to >>> nonexistent TCP endpoints, I came upon the following idea: >>> >

Re: [OpenSIPS-Users] TCP AORs and db_mode 1/2/3

2010-02-08 Thread opensipslist
Hello Bogdan, An lun., févr 08, 2010, Bogdan-Andrei Iancu schrieb: >opensipsl...@encambio.com wrote: >> Thinking today about why my messages are sometimes routed to >> nonexistent TCP endpoints, I came upon the following idea: >> >> It seems that if the usrloc db_mode is anything but 0, >> th

Re: [OpenSIPS-Users] TCP AORs and db_mode 1/2/3

2010-02-08 Thread Bogdan-Andrei Iancu
Hi Brian, opensipsl...@encambio.com wrote: > Hello list, > > Thinking today about why my messages are sometimes routed to > nonexistent TCP endpoints, I came upon the following idea: > > It seems that if the usrloc db_mode is anything but 0, > then TCP AORs could be read from the database afte

[OpenSIPS-Users] TCP AORs and db_mode 1/2/3

2010-02-06 Thread opensipslist
Hello list, Thinking today about why my messages are sometimes routed to nonexistent TCP endpoints, I came upon the following idea: It seems that if the usrloc db_mode is anything but 0, then TCP AORs could be read from the database after a crash. This can't work because once OpenSIPS stop