[OpenSIPS-Users] "477 Send failed" processing

2016-05-03 Thread Yuri Ritvin
Hi, I'm looking into a way to convert a response code "477 Send failed" into "404". It looks like the failure_route doesn't take care of the "477" cases (at least in ver.2.2). Is it by design or something is missing in the picture ? Thank you. ___ Users

Re: [OpenSIPS-Users] How to overcome SIP ALG on Wi-Fi routers

2016-05-03 Thread Alex Balashov
On 05/03/2016 08:03 PM, Nabeel wrote: A possible solution to this seems to be a 'SIP tunnel' server. The server would tunnel the SIP and UDP packets over a common TCP port such as 80 or 443, which are more likely to be open and unblocked on Wi-Fi routers for browsing, Email, etc. The tunnel serv

Re: [OpenSIPS-Users] How to overcome SIP ALG on Wi-Fi routers

2016-05-03 Thread Nabeel
A possible solution to this seems to be a 'SIP tunnel' server. The server would tunnel the SIP and UDP packets over a common TCP port such as 80 or 443, which are more likely to be open and unblocked on Wi-Fi routers for browsing, Email, etc. The tunnel server would then send this data to OpenSIPS

Re: [OpenSIPS-Users] How to overcome SIP ALG on Wi-Fi routers

2016-05-03 Thread Adrian Georgescu
+1 > On 02 May 2016, at 21:59, Russell Treleaven wrote: > > TCP works for me. > On May 2, 2016 8:43 PM, "Nabeel" > wrote: > Thanks for the suggestions of using TLS or changing the port. I changed the > port, but some routers are still able to mess with the SIP h

Re: [OpenSIPS-Users] opensips 2.3 crash

2016-05-03 Thread Bogdan-Andrei Iancu
Hi Tito, You should have reported it sooner:) Could you compile in the memory debugger (as the backtrace you posted here points to a memory corruption). Use DBG_MALLOC flag in combination with F_ / HP_ / QM_ memeory managers : http://www.opensips.org/Documentation/TroubleShooting-OutOfMem

[OpenSIPS-Users] opensips 2.3 crash

2016-05-03 Thread Tito Cumpen
Group, I get about two nightly crashes in the latest opensips head this has been happening consistently for about a week and half now. All crashes are identical to: Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/sbin/opensips -P /var/run/opensips.pid -u open

Re: [OpenSIPS-Users] Dynamic routing .

2016-05-03 Thread Bogdan-Andrei Iancu
To eliminate both scripting error and provisioning error, just place an xlog() before that "if (is_from_gw() )" to print the source ip of the call (use $si) - in this case you will be sure your script get there and the IP is correct. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] OpenSips 2.2 crash

2016-05-03 Thread Hristo Donev
This is last line from my opensips.log WARNING:core:timer_ticker: timer task already scheduled for 194629310 ms (now 194630310 ms), it may overlap.. WARNING:core:timer_ticker: timer task already scheduled for 194629310 ms (now 194631300 ms), it may overlap.. INFO:core:handle_sigs: child process

Re: [OpenSIPS-Users] OpenSips 2.2 crash

2016-05-03 Thread Ionut Ionita
Can you please tell me the value of the following parameters: natping_interval ping_threshold (if set) max_pings_lost (if set) Ionut Ionita OpenSIPS Developer On 04/28/2016 10:34 PM, Hristo Donev wrote: Hello, I run opensips 2.2 (git from 26.04.2016) After 2 days opensips crash. Here is BG FUL

Re: [OpenSIPS-Users] OpenSips 2.2 crash

2016-05-03 Thread Hristo Donev
modparam("nathelper", "natping_interval", 30) modparam("nathelper", "ping_threshold", 5) I not set max_pings_lost. 2016-05-03 17:11 GMT+03:00 Ionut Ionita : > Can you please tell me the value of the following parameters: > natping_interval > ping_threshold (if set) > max_pings_lost (if set) > > I

Re: [OpenSIPS-Users] Dynamic routing .

2016-05-03 Thread Sasmita Panda
Thank you so much for your reply . I had solved my problem earlier . But now I am facing a strange problem . I am trying to implement the dynamic routing login in a machine which has two interface , one public and one private . I have added listen as : listen=10.138.x.x:5508 AS 54.167.x.x:5

Re: [OpenSIPS-Users] Nathelper module doesn't send OPTIONS keepalive

2016-05-03 Thread Bogdan-Andrei Iancu
Hi Julian, When handling the REGISTER, set the bflag 8 (for options pinging) before the save() function, not after it. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 02.05.2016 13:50, Julian Santer wrote: Hi guys, my mistake was to configur

Re: [OpenSIPS-Users] Dynamic Routing module issue with srip

2016-05-03 Thread Michele Pinassi
Hi Bogdan, yes i'm sure (checked via tcpdump). How i can strip the '0' in the To (alto che in R-URI) before sending SIP INVITE outside through the gateway ? Thanks, Michele Il 03/05/2016 14:29, Bogdan-Andrei Iancu ha scritto: > Hi Michele, > > Sorry for my question, but are you sure that $var(ca

Re: [OpenSIPS-Users] Ubuntu 16.04 can no longer access trusty packages at apt.opensips.org

2016-05-03 Thread Bogdan-Andrei Iancu
Hi Jeff, We do not host package for ubuntu (only for debian). Still, Nick, our maintainer for the opensips apt repo, is working on creating an ubuntu repo too. He will keep you posted. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 01.05.201

Re: [OpenSIPS-Users] Dynamic Routing module issue with srip

2016-05-03 Thread Bogdan-Andrei Iancu
Hi Michele, Sorry for my question, but are you sure that $var(carrier) points to "toip" carrier ? Note that the module changes only the username in RURI, it does not change TO hdr . Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 02.05

Re: [OpenSIPS-Users] Re-Invite routed to private IP

2016-05-03 Thread Bogdan-Andrei Iancu
Hi Julian, The routing of the re-INVITEs is done based on the routing set learned during initial INVITE (routing set == far-end contact URI + all the Record-Routes). Check the original INVITE (on the callee side) and the 200 OK for it, to see if the routing set contains private (or wrong) IP

Re: [OpenSIPS-Users] Dynamic routing .

2016-05-03 Thread Bogdan-Andrei Iancu
Hi Sasmita, Take a look at the carrier flags definition (1.1.4.2): http://www.opensips.org/html/docs/modules/2.1.x/drouting.html#id293400 flags : 0x1 - use weight for sorting the list and not definition order; 0x2 - use only the first gateway from the carrier (depending on the sorting); 0x4 -

[OpenSIPS-Users] Apologies for emails from Ali Ariyayi

2016-05-03 Thread Bogdan-Andrei Iancu
Hi all, As maintainer of this list, I apologize for all the frustrated emails from Ali Ariyayi - his emails are below the level of normal people's decency. And his IQ does not help him to understand that you need unsubscribe in order to stop receiving emails from a list. His email was remove

[OpenSIPS-Users] Dynamic routing .

2016-05-03 Thread Sasmita Panda
Hi All , I am using opensips-1.11 and seting up the dynamic routing . I wanted to randomly distribute the call between two gateways . When I have added two gateways with weight 50% each in the dr_carriers table and set flags=2 , it didnt worked . But when i just changed the

Re: [OpenSIPS-Users] Memory fragments

2016-05-03 Thread Bogdan-Andrei Iancu
Hi Dragomir, Please compile with F_MALLOC / QM_MALLOC / HP_MALLOC with DBG_MALLOC - this will generate (when sending SIGUSR1) a memory dump. See more on: http://www.opensips.org/Documentation/TroubleShooting-OutOfMem Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.o

Re: [OpenSIPS-Users] BYE generated locally going to private IP, not public IP

2016-05-03 Thread Ali Ariyayi
fuck youfuck you do not send mail for me fuck you fuck your parents  sun of the bech On Saturday, April 23, 2016 12:50 PM, Bogdan-Andrei Iancu wrote: Hi Daniel, There is no easy fix to come into my mind right now. But I will do more thinking on this. BTW, please check as you hav

Re: [OpenSIPS-Users] opensips 2.1.2 not accepting transformation in if statement and t_relay()

2016-05-03 Thread Ali Ariyayi
fuck youfuck you do not send mail for me fuck you fuck your parents  sun of the bech On Friday, April 29, 2016 1:37 AM, Stefan Tobé wrote: Thanks Bogdan, that works fine! Stefan On Thu, Apr 28, 2016 at 6:06 PM, Bogdan-Andrei Iancu wrote: Hi Stefan, Instead of     if (src_ip =

Re: [OpenSIPS-Users] Git clone Compiling Error

2016-05-03 Thread Ali Ariyayi
fuck youfuck you do not send mail for me fuck you fuck your parents  sun of the bech On Wednesday, April 27, 2016 6:38 PM, Hamid Hashmi wrote: #yiv8404946513 #yiv8404946513 --.yiv8404946513hmmessage P{margin:0px;padding:0px;}#yiv8404946513 body.yiv8404946513hmmessage{font-size:12pt;fo

Re: [OpenSIPS-Users] Re-Invite routed to private IP

2016-05-03 Thread Ali Ariyayi
fuck youfuck you do not send mail for me fuck you fuck your parents  sun of the bech On Friday, April 29, 2016 8:49 PM, Ali Ariyayi wrote: fuck youfuck you do not send mail for me fuck you fuck your parents  sun of the bech On Friday, April 29, 2016 8:48 PM, Ali Ariyayi wrote:

Re: [OpenSIPS-Users] OpenSips 2.2 crash

2016-05-03 Thread Ali Ariyayi
fuck youfuck you do not send mail for me fuck you fuck your parents  sun of the bech On Friday, April 29, 2016 12:05 AM, Hristo Donev wrote: Hello,I run opensips 2.2 (git from 26.04.2016) After 2 days opensips crash. Here is BG FULL log: #0  0x0053cf0a in remove_given_cell (cell=0xa7a

Re: [OpenSIPS-Users] Re-Invite routed to private IP

2016-05-03 Thread Ali Ariyayi
fuck youfuck you do not send mail for me fuck you fuck your parents  sun of the bech On Friday, April 29, 2016 8:48 PM, Ali Ariyayi wrote: fuck youfuck you do not send mail for me fuck you fuck your parents  sun of the bech On Friday, April 29, 2016 6:56 PM, Julian Santer wrote:

Re: [OpenSIPS-Users] Re-Invite routed to private IP

2016-05-03 Thread Ali Ariyayi
fuck youfuck you do not send mail for me fuck you fuck your parents  sun of the bech On Friday, April 29, 2016 6:56 PM, Julian Santer wrote: Ok. I read the OpenSips doc of force_rport again: Force_rport() adds the rport parameter to the first Via header. Thus, OpenSIPS will add the rec

Re: [OpenSIPS-Users] Regarding siptrace module .

2016-05-03 Thread Ali Ariyayi
fuck youfuck you do not send mail for me fuck you fuck your parents  sun of the bech On Friday, April 29, 2016 8:45 PM, Bogdan-Andrei Iancu wrote: The SIP protocol is not really designed to work with 0.0.0.0 - which is an IP that makes sense only when listening, but not when reading a