Re: [OpenSIPS-Users] Take the value of the newly added SIP X-header for the log

2019-09-26 Thread Oleg Podguyko via Users
Hello Ben, Thank you for your advices!   >Четверг, 26 сентября 2019, 21:16 +03:00 от Ben Newlin : >  >Oleg, >  >OpenSIPS stores all the changes you make to the INVITE and applies them all >together right before sending it out. This is to be more efficient. So you >cannot usually see these

Re: [OpenSIPS-Users] Take the value of the newly added SIP X-header for the log

2019-09-26 Thread Ben Newlin
Oleg, OpenSIPS stores all the changes you make to the INVITE and applies them all together right before sending it out. This is to be more efficient. So you cannot usually see these types of changes during processing. This means if you want to keep using those headers in your script you need

Re: [OpenSIPS-Users] Problems with loose_route and ACK

2019-09-26 Thread Bogdan-Andrei Iancu
Hi, You should have it on the OpenSIPS with the 172.25.251.4 IP. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-2019Amsterdam/ On 9/26/19 6:45 PM, Olle Frimanson wrote: Hi again

[OpenSIPS-Users] Take the value of the newly added SIP X-header for the log

2019-09-26 Thread Oleg Podguyko via Users
Hello everebody!   My opensips works as proxy. Get INVITE from one side and communicates with a remote web server via rest. Opensips sends a request to the web server and receives a lot of custom data, which it converts to SIP X-header. In the end I get 10 different SIP X-headers   $var(i) =

Re: [OpenSIPS-Users] codec_delete() not working in 3.0

2019-09-26 Thread James Hogbin
I think this is helpful? https://opensips.org/pipermail/users/2016-September/035510.html james James Hogbin Director IP Sentinel t. +44 (0)20 3011 4150 m. +44 7786910895 w. https://www.ip-sentinel.com On 26 Sep 2019, at 16:37, Mark Farmer mailto:farm...@gmail.com>> wrote: Been looking at

[OpenSIPS-Users] codec_delete() not working in 3.0

2019-09-26 Thread Mark Farmer
Been looking at this for a while now and it just won't play ball. I have an avp defined: # Codecs we do NOT support! $avp(BadCodec) = "G729"; $avp(BadCodec) = "G729a"; Then I use a for each to remove any instances of the codecs: for ($var(ToDelete) in $(avp(BadCodec)[*])) if

Re: [OpenSIPS-Users] Problems with loose_route and ACK

2019-09-26 Thread Bogdan-Andrei Iancu
Hi Olle, It is like the double-RR indication is ignored (the r2 param) from the top Route hdr. Are you sure that the "enable_double_rr" modparam is still on ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019

Re: [OpenSIPS-Users] CentOS7: Possible SYN flooding on port 5061

2019-09-26 Thread Bogdan-Andrei Iancu
Hi Alexey, see https://opensips.org/Documentation/Script-CoreParameters-2-4#toc67 I see no reason why not trying to increase the value - at the end this will probably translate into a larger buffer attached by the kernel to the listening socket. So, just give it a try. Regards,

Re: [OpenSIPS-Users] Need some clarification in rtpengine module .

2019-09-26 Thread Bogdan-Andrei Iancu
Hi Sasmita, Not sure if rtpengine has a similar built-in feature (their doc is something that can be improved :P), but you can achieve the same from script level I guess (adding and testing that SDP 'a' line). Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] event_route DLG_state ERROR

2019-09-26 Thread Bogdan-Andrei Iancu
Hi Anton, The backtrace looks similar to one from a crash fixed couple of days ago - get the latest build (nightly packages or latest 3.0 from git) and try again. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019

Re: [OpenSIPS-Users] play wav file with rtpengine.

2019-09-26 Thread Bogdan-Andrei Iancu
Hi Johan, No, they will not be backported and they are new features, and no new features are pushed into 3.0, but only fixes. You can try to grab the 3.1 module and see if it compiles against 3.0 - if someone asks you, I never suggested anything like this :P. Regards, Bogdan-Andrei Iancu

[OpenSIPS-Users] Problems with loose_route and ACK

2019-09-26 Thread olle
Hi , I have stumbled on a issue with ACK on 200 OK from Freeswitch. We are running 2.4.4 but I have also upgraded to 2.4.6 and testad with the same result. I get an ACK from our Freeswitch (172.25.0.25), trace from ngrep (some address and numbers have been anonymized). U 2019/09/26

Re: [OpenSIPS-Users] Segfault on mi reload_routes

2019-09-26 Thread Mark Farmer
Excellent, thank you. On Wed, 25 Sep 2019 at 17:12, Liviu Chircu wrote: > Hi, Mark! > > Thank you for the nice backtrace! I managed to reproduce the crash and > opened up a GitHub issue for it [1]. > This should bring us one step closer to getting it fixed, so I suggest > we move the