Re: [OpenSIPS-Users] rtpproxy_offer() adds IP and Port twice in SDP

2014-06-06 Thread Bogdan-Andrei Iancu
Hello, Check your script, for sure you do the rtpproxy_offer twice for that SIP message. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 06.06.2014 19:03, kaushik parmar wrote: Hello, rtpproxy_offer() set IP and Port numbers twice in SDP. My

[OpenSIPS-Users] rtpproxy_offer() adds IP and Port twice in SDP

2014-06-06 Thread kaushik parmar
Hello, rtpproxy_offer() set IP and Port numbers twice in SDP. My code and SDP output are as below. *Opensips.cfg* onreply_route[handle_nat] { if (is_method("INVITE") && has_body("application/sdp")) { rtpproxy_offer(); } } *SDP Packet : * *SDP Befo

Re: [OpenSIPS-Users] RabbitMQ Timer Route Not Working

2014-06-06 Thread Kneeoh
Hi Razvan, thank you for the reply. I don't necessarily need expiration of subscriptions to rabbit or the timer route per se. I'm just trying to figure out (with the existing capabilities) how to make opensips fail to another member in the rabbit cluster in the event that the current node dies.

Re: [OpenSIPS-Users] contact with maddr in 3xx response from opensips

2014-06-06 Thread Bogdan-Andrei Iancu
Hi, See here an example on how to do it: https://github.com/OpenSIPS/opensips/blob/master/examples/redirect.cfg Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 05.06.2014 16:46, Kumar Abhishek wrote: Hi I want to deploy opensips as redirect se

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread Bogdan-Andrei Iancu
Thanks for report and testing ! I pushed the fix on GIT on all maintained versions. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 06.06.2014 15:14, dpa wrote: Sorry, Bogdan I missed one moment during starting opensips (I used wrong director

Re: [OpenSIPS-Users] RTPproxy errors

2014-06-06 Thread Rik Broers
I've sent you some Debug logs on a separate mail. Kind Regards, Met vriendelijke groet,   Rik Broers   -Oorspronkelijk bericht- Van: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] Namens Razvan Crainea Verzonden: vrijdag 6 juni 2014 13:37 Aan: users@lists.ope

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread dpa
Sorry, Bogdan I missed one moment during starting opensips (I used wrong directory for opensips modules) The patch fixed the main problem. Now I see "retcode -2". Thank you very much! From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Friday, June 06, 2014 3:38 PM To: dpa;

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread Bogdan-Andrei Iancu
Strange... Could you directly add in your modules/aaa_radius/aaa_radius.c file, after line 331 which is: res = rc_auth(rh, SIP_PORT, send, &recv, mess); and extra log: LM_ERR("rc_auth returned %d\n",res); Recompile and run again - let's see exactly what the libradius has to return :).

Re: [OpenSIPS-Users] RTPproxy errors

2014-06-06 Thread Răzvan Crainea
Hi, Rik! The R flag indicates that the IP advertised in SDP should be trusted. Can you increase the debugging level of rtpproxy to DEBUG? This way we can see exactly what commands are sent by OpenSIPS and check what's wrong with them. Best regards, Razvan Crainea OpenSIPS Core Developer http

Re: [OpenSIPS-Users] Req. for increase the opensips thread limit

2014-06-06 Thread Bogdan-Andrei Iancu
Hi, See the "children" option : http://www.opensips.org/Documentation/Script-CoreParameters-1-11#toc31 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 06.06.2014 09:32, Muralidhar Reddy Narra wrote: Hi, I would like to know how to increase the

[OpenSIPS-Users] contact with maddr in 3xx response from opensips

2014-06-06 Thread Kumar Abhishek
Hi I want to deploy opensips as redirect server , returning 301 with FQDN in contact wit maddr, for any message ite recieves. Could you please help me pot. -- Regards Kumar Abhishek ___ Users mailing list Users@lists.opensips.org http://lists.opensips.

Re: [OpenSIPS-Users] opensips crash with location data

2014-06-06 Thread Bogdan-Andrei Iancu
no, it is not related to that :) - see my previous email. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 06.06.2014 06:35, Pasan Meemaduma wrote: Hi Bogdan, I just found that I have got the key constraint wrong. Will that be the issue ? | l

[OpenSIPS-Users] Req. for increase the opensips thread limit

2014-06-06 Thread Muralidhar Reddy Narra
Hi, I would like to know how to increase the opensips thread limit. please respond me as soon as possible. -- Thanks & Regards, N.Muralidhar Reddy, 919094494901. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/

Re: [OpenSIPS-Users] opensips crash with location data

2014-06-06 Thread Bogdan-Andrei Iancu
Hi Pasan, OK, the online docs were fixed, thank for the notice. The backtrace points to the "cflags" field - this was changed from "int" to "string" - and you did not made the correct change in your table definition. This causes the crash. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and D

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread dpa
Unfortunately it doesn`t help. I tried the patch (make command I gave from "module/aaa_radius" directory). A test call shows "Jun 6 13:57:42 opensips-mirror /usr/local/opensipsdev/sbin/opensips[4297]: ERROR:aaa_radius:send_auth_func: radius authentication message failed with ERROR Jun 6 1

[OpenSIPS-Users] RTPproxy errors

2014-06-06 Thread Rik Broers
These errors suddenly appear after an update from 1.8 to 1.10.1 Script is unchanged. Audio/RTP seems to work in almost all the cases that this error comes. ERROR:rtpproxy:force_rtp_proxy: can't extract reply destination from transaction/reply_via2 RTPProxy logs the following: rtpproxy[8051]:

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread dpa
Hello Bogdan Yes, I see reject. I will try the patch and let you know about the result From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Friday, June 06, 2014 1:21 PM To: dpa; 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

Re: [OpenSIPS-Users] transformation

2014-06-06 Thread kostenftw
dont mind this issue, I found a fix -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/transformation-tp7591741p7591745.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list

Re: [OpenSIPS-Users] RabbitMQ Timer Route Not Working

2014-06-06 Thread Răzvan Crainea
Hi, Kneeoh! Currently the event_rabbitmq module does not need expiration. Since it is a connection oriented protocol, if the external application does not want to receive messages any more, it should close the connection. If you really need the expire feature in the near future, please open a

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread Bogdan-Andrei Iancu
Hi, The libradius returns the error via the rc_auth() function.I notices a bit of an inconsistency in the handling of the retcode of rc_auth() - old stuff :). You say you see a REJECT and the RADIUS level, right ? Could you please try the attached patchand see if the failures are properly r

Re: [OpenSIPS-Users] Opensips 1.10.1 and radius problem

2014-06-06 Thread dpa
Hello Bogdan What I can see in logs during test call "ERROR:aaa_radius:send_auth_func: radius authentication message failed with ERROR" From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Thursday, June 05, 2014 6:20 PM To: dpa; 'OpenSIPS users mailling list' Subject: Re: [OpenS

[OpenSIPS-Users] transformation

2014-06-06 Thread Mike Claudi Pedersen
if i want to transfrom a value like this $var(FROMIP) = "xxx.xxx.xxx.xxx" some transformation to allow me to cut the ip after the 3rd "." (full stop) im thinking something like {s.select,x,y} but im not sure how to define i want to use the 3rd full stop instead of the first, if i say $(var(FROM