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

2016-04-22 Thread Daniel Zanutti
That makes a lot of sense. Do you think is there anything I could do on my side to solve this? Maybe manually fix the RR? This client has some kind of link balancing, so public IP may change at any time. This must be the reason he hasn't set it. Thanks in advance! Em 22/04/2016 7:40 PM, "Bogdan-

Re: [OpenSIPS-Users] issues with latest head logging

2016-04-22 Thread Tito Cumpen
Bogdan, Here are the first lines from my config: 1 # 2 # OpenSIPS residential configuration script 3 # by OpenSIPS Solutions 4 # 5 # Please refer to the Core CookBook at: 6 # http://www.opensips.org/Resources/DocsCookbooks 7 # for a explanation of possible st

Re: [OpenSIPS-Users] 487 for SIP forking

2016-04-22 Thread Bogdan-Andrei Iancu
Hi Chen-Che, Usually you need to have in the very beginning of your failure route: if (t_was_cancelled()) { exit; } Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 21.04.2016 01:12, Chen-Che Huang wrote: Dear all, When a caller

Re: [OpenSIPS-Users] issues with latest head logging

2016-04-22 Thread Bogdan-Andrei Iancu
Hi Tito, what are the values for the debug_mode and for log_stderror ? And in what order to they pop into your script ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 22.04.2016 21:50, Tito Cumpen wrote: Liviu, I don't see any messages reg

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

2016-04-22 Thread Bogdan-Andrei Iancu
Hi Daniel, Actually, on the A side, you have another proxy ( see the Record Route with 172.20.17.11 in the INVITE). OpenSIPS tries to send the BYE to the RR header, but that is private. A SIP proxy, if sending traffic to public Internet, should not use at all private IPs. Bottom line, the br

Re: [OpenSIPS-Users] Startup event

2016-04-22 Thread Bogdan-Andrei Iancu
Hi Tito, You can use the startup route and do any kind of processing there (including firing events): http://www.opensips.org/Documentation/Script-Routes-2-1#toc7 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 22.04.2016 23:58, Tito Cumpen w

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

2016-04-22 Thread Daniel Zanutti
Hi I'm facing an strange issue when my Opensips instance hangs up a call, generating BYE to both sides (timeout on dialog module or rtpproxy). The BYE is sent to both sides but A side is behind NAT and the BYE is sent to the local IP address and not to the public one. See trace bellow: Customer

[OpenSIPS-Users] Startup event

2016-04-22 Thread Tito Cumpen
Group, Is there a way to launch or subscribe to an opensips event on startup or shutdown? I am looking to do this so I can add active opensips servers to a management list or remove them when they are down. I want to make sure they are up before trying to access the http_fifo interface. The down s

Re: [OpenSIPS-Users] issues with latest head logging

2016-04-22 Thread Tito Cumpen
Liviu, I don't see any messages regarding opensips in /var/log/messages. I don't see an issue finding opensips.cfg. Since opensips is starting with all the changes I make to the config being applied. Here is my definition in rsyslog.conf local0.*/v

Re: [OpenSIPS-Users] issues with latest head logging

2016-04-22 Thread Liviu Chircu
Hi Tito, Did you find anything into /var/log/{syslog,messages}? A common error is that the config file is not found ("-f /bad/path/opensips.cfg"), and OpenSIPS will naturally throw this error to syslog, rather than the log file you expect. Liviu Chircu OpenSIPS Developer http://www.opensips-

Re: [OpenSIPS-Users] event for expiring sessions

2016-04-22 Thread Bogdan-Andrei Iancu
Hi Tito, There is no dedicated event in dialog module for expired calls. What you can do is to use the local_route to capture the local BYE requests (when dialog module terminates an expired dialog) - if is a BYE and direction is UPSTREAM (to get only one BYE per call), you can fire an event f

Re: [OpenSIPS-Users] Rely forbidden

2016-04-22 Thread Jeff Wilkie
Do you have a link to provide your config and confirm what modules are compiled and loaded from install? Receiving calls from outside to your OPENSIPS should be straight forward. I'm not sure how your RURI even routes to you if the upstream provider is a real provider and not in a test lab. sip:

Re: [OpenSIPS-Users] Rely forbidden

2016-04-22 Thread SamyGo
Did you modify something. Now the error from your opensips seem like 500 Service Full. That usually is configured with load balancer. Means that it was unable to find any active server to route the call to. On Apr 15, 2016 06:04, "Francjos" <35...@heb.be> wrote: > Here is the output of :ngrep -d e