Re: [OpenSIPS-Users] UDP vs TCP/TLS

2014-04-17 Thread leo
Thanks Razvan, /The first logs show that opensips is unable to ping your client over TCP. Most likely because OpenSIPS was restarted and the TCP connection was lost./ I can confirm that opensips wasn't restarted. Not by command and in the logs i don't see a restart. /The next errors show that o

Re: [OpenSIPS-Users] UDP vs TCP/TLS

2014-04-17 Thread leo
Enabling debug, when i call the client, i see a lot of events like: Apr 17 11:15:50 sip-lab /usr/local/opensips110/sbin/opensips[21281]: ERROR:nathelper:msg_send: tcp_send failed Apr 17 11:15:50 sip-lab /usr/local/opensips110/sbin/opensips[21281]: ERROR:nathelper:nh_timer: sip msg_send failed! Ap

[OpenSIPS-Users] Rewrite all uri user part in sip messages

2014-04-17 Thread Mickael Hubert
Hi list, I want rewrite user part in all uris. Ex: INVITE -- --> OpenSIPS -- --> Client X I already use this command in textops module: *subst_user('/\+33/0/g');* It's work fine, but it's just r-ruri is changed, no From header or To header uri. Have you any idea please to change all uris ?

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-04-17 Thread Răzvan Crainea
Hi, Samuel! Sorry for getting back so late. Do you still have this issue with the latest 1.10 source? Best regards, Razvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 01/21/2014 02:44 PM, Samuel Muller wrote: Hello Răzvan , Yes, rr module is loaded, with this neede

Re: [OpenSIPS-Users] UDP vs TCP/TLS

2014-04-17 Thread Răzvan Crainea
Hi, Leo! From the logs, for me it is pretty clear that the connection does not exist, therefore OpenSIPS cannot contact your client behind NAT. After finally managing to call over TCP (after 10 seconds or so), placing another call succeeds? Or you can never call that client over TCP? Best reg

Re: [OpenSIPS-Users] Rewrite all uri user part in sip messages

2014-04-17 Thread Răzvan Crainea
Hi, Michael! There is no function that allows you to change the whole SIP message. In order to change the From/To header, you have to use uac_replace_from/to() functions from the uac module. Best regards, Razvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 04/17/2014

Re: [OpenSIPS-Users] Rewrite all uri user part in sip messages

2014-04-17 Thread Mickael Hubert
Hi Razvan, thanks a lot for your response. I suspected that there was no way ;) Best regards 2014-04-17 14:35 GMT+02:00 Răzvan Crainea : > Hi, Michael! > > There is no function that allows you to change the whole SIP message. In > order to change the From/To header, you have to use uac_replace

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-04-17 Thread Samuel Muller
Hello Razvan, I admit I could not wait anymore, I had to find another solution. So, I don't use the function anymore in that particular case. I hope you will resolve the problem in next version. Furthermore I'm trying the v.1.11, that breaks several core stuff : following issues on github, almost

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-04-17 Thread Răzvan Crainea
Hi, Samuel! If there are any issues with the new variables, we would be very grateful if you could report them so we can get them fixed. Otherwise, if there are bugs out there and nobody reports them, most likely they will never get fixed. Best regards, Razvan Crainea OpenSIPS Core Develope

Re: [OpenSIPS-Users] uac_replace_to segmentation fault

2014-04-17 Thread Liviu Chircu
Hello Samuel, By any chance, have you downloaded your sources from the "latest" links [1] from the *Downloads* section of the website? If *yes*, then mind you that it is very likely that you've been working with only the initial release of the 1.11 beta from March 21 (Răzvan updated the tarbal

Re: [OpenSIPS-Users] UDP vs TCP/TLS

2014-04-17 Thread leo
Hello Razvan, /From the logs, for me it is pretty clear that the connection does not exist, therefore OpenSIPS cannot contact your client behind NAT. After finally managing to call over TCP (after 10 seconds or so), placing another call succeeds? / Yes, normally is taken between 10 to 30 seconds t

Re: [OpenSIPS-Users] UDP vs TCP/TLS

2014-04-17 Thread Răzvan Crainea
Can you trace the traffic between the server and the clients in those 10 minutes? Is the TCP connection kept alive by any sort of pinging? Are you using the keep_alive parameter? [1] http://www.opensips.org/Documentation/Script-CoreParameters-1-11#toc98 Best regards, Razvan Crainea OpenSIPS Co

[OpenSIPS-Users] mediaproxy-2.3.8 and Centos 6.5 Problem

2014-04-17 Thread Jonathan Hunter
Hi Guys, Hope you are all well. I have installed OpenSIPs 1.5.3 on a new Centos 6.5 server, with a few to starting the upgrade process (as I appreciate this is an old version). I am having issues with mediaproxy, and when I try and start media-dispatcher, I get the following error; Apr 17 17:10:

Re: [OpenSIPS-Users] mediaproxy-2.3.8 and Centos 6.5 Problem

2014-04-17 Thread Saúl Ibarra Corretgé
On Apr 17, 2014, at 6:16 PM, Jonathan Hunter wrote: > Hi Guys, > > Hope you are all well. > > I have installed OpenSIPs 1.5.3 on a new Centos 6.5 server, with a few to > starting the upgrade process (as I appreciate this is an old version). > > I am having issues with mediaproxy, and when I