Re: [OpenSIPS-Users] rtpengine errors: can't send command to a RTP proxy (22:Invalid argument)

2020-06-23 Thread Răzvan Crainea
Hi, Ovidiu! I doubt this is a problem of OpenSIPS version, but rather of the OS you are running on. I suspect that error comes from the fact that the bson resulted has more than IOV_MAX elements, which if I recall correctly it was 15 on some OSes. We had a similar problem in rtpproy[1], where

Re: [OpenSIPS-Users] rtpengine errors: can't send command to a RTP proxy (22:Invalid argument)

2020-06-23 Thread Ovidiu Sas
This is happening also on the latest 3.0. The weird thing is that opensips doesn't send anything to rtpengine. The first opensips/rtpengine exchange on the initial INVITE works ok, but the opensips/rtpengine exchange on the 200ok fails (no command is sent by opensips - confirmed by running ngrep on

Re: [OpenSIPS-Users] Possibilities to handle short duration calls using new capabilities in opensips 3.1

2020-06-23 Thread Jon Abrams
You may be able to use the load_dialog_ctx()/unload_dialog_ctx() dialog functions to peek at the dialog when a BYE is received, prior to invoking match_dialog(). If it is a BYE from the calling party that you wish to delay, use an async sleep() to delay the call of match_dialog() and relay of the B

Re: [OpenSIPS-Users] Specify Port for db_url

2020-06-23 Thread Mark Farmer
Thanks :) On Tue, 23 Jun 2020 at 16:09, Liviu Chircu wrote: > On 23.06.2020 18:06, Mark Farmer wrote: > > Is it possible to specify a different port? > > Yes > > -- > Liviu Chircu > www.twitter.com/liviuchircu | www.opensips-solutions.com > > > ___ >

[OpenSIPS-Users] Specify Port for db_url

2020-06-23 Thread Mark Farmer
Hi everyone I need to connect the acc module to a different DB which uses haproxy on port 3308. I've checked the documentation for acc but there's no mention of database ports. Is it possible to specify a different port? For example: modparam("acc", "db_url", "mysql://username:passw...@xxx.xxx.

Re: [OpenSIPS-Users] Specify Port for db_url

2020-06-23 Thread Liviu Chircu
On 23.06.2020 18:06, Mark Farmer wrote: Is it possible to specify a different port? Yes -- Liviu Chircu www.twitter.com/liviuchircu | www.opensips-solutions.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailm

Re: [OpenSIPS-Users] 502 Bad Gateway events leads to calls being rejected with 480 Temporarily Unavailable

2020-06-23 Thread Ben Newlin
Yes, I saw your other response. I had sent this reply before that and it appears to have gotten stuck in the email list until now. ☺ Ben Newlin From: Users on behalf of solarmon Reply-To: OpenSIPS users mailling list Date: Tuesday, June 23, 2020 at 4:45 AM To: OpenSIPS users mailling list S

Re: [OpenSIPS-Users] Nathelper - will not send SIP OPTIONS pings

2020-06-23 Thread Adrian Fretwell
Hi Bogdan, Thankyou, SIPPING_ENABLE bflag was olny being set where nat_uac_test was returning true. When I set SIPPING_ENABLE bflag irrespective of nat_uac_test, I see the SIP OPTIONS pings. I did not realise that even with modparam("nathelper", "ping_nated_only", 0) set, the bflag was sti

Re: [OpenSIPS-Users] Nathelper - will not send SIP OPTIONS pings

2020-06-23 Thread Bogdan-Andrei Iancu
Hi Adrian, Do you set the SIPPING_ENABLE bflag before saving the contact ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com On 6/23/20 1:35 PM, Adrian Fretwell wrote: Hello All, Opensips v3.0. I have a simple routing script that implements a

Re: [OpenSIPS-Users] CDR no longer work for permission denied

2020-06-23 Thread Saint Michael
Please ask Vlad Paiu. He fixed it. It turns out that in the new kernel 5.4.0-37-generic of Ubuntu 20.04, the fifo has a lock, so he took these steps: mkdir /home/opensips chown -R opensips:opensips /home/opensips/ /etc/opensips/opensips.cfg , changed to modparam("mi_fifo", "fifo_name", "/home/opens

[OpenSIPS-Users] Nathelper - will not send SIP OPTIONS pings

2020-06-23 Thread Adrian Fretwell
Hello All, Opensips v3.0. I have a simple routing script that implements a mid-registrar. All of the endpoints are behind NAT so I need the proxy to send keep alive pings. I have the nathelper module loaded with the following configuration: /* --- Module NATHELPER ---  NAT trave

Re: [OpenSIPS-Users] HEPv3 siptrace to Homer v7 - "Trailing stray characters"

2020-06-23 Thread Bogdan-Andrei Iancu
OK, let's continue on the ticket. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com On 6/22/20 11:54 PM, solarmon wrote: Hi, I had opened a GitHub for this issue: https://github.com/OpenSIPS/opensips/issues/2146 (Sorry, I seem to have forgotte

Re: [OpenSIPS-Users] 502 Bad Gateway events leads to calls being rejected with 480 Temporarily Unavailable

2020-06-23 Thread solarmon
Hi Ben, Removing "ds_mark_dst" for this particular case resolved the behaviour of unnecessarily/incorrectly putting the endpoint into Probing mode. I don't understand the code completely (it was written for us) but this small change is good enough for us, for now. Thank you. On Tue, 23 Jun 2020

Re: [OpenSIPS-Users] CDR no longer work for permission denied

2020-06-23 Thread Răzvan Crainea
Can you provide more information abut the environment you're running on? Is it debian or redhat based, could you send us the fifo file permissions, as well as the user OpenSIPS is running with? Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 6/14/20 2

Re: [OpenSIPS-Users] New Errors

2020-06-23 Thread Răzvan Crainea
Hi, Michael! I believe you are running the do_accounting() function with the "CDR" flag on a BYE message - this is not correct, the "cdr" flag should only be used on initial INVITEs. Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 6/13/20 6:30 PM, S

Re: [OpenSIPS-Users] 502 Bad Gateway events leads to calls being rejected with 480 Temporarily Unavailable

2020-06-23 Thread Ben Newlin
He is also performing dispatcher failover in these cases using ds_next_domain, which may not be necessary or warranted on an error code relayed from further upstream. Just removing ds_mark_dst will not resolve that. Although some extra unnecessary failover in error cases may not be an issue. Be

[OpenSIPS-Users] Help with Opensips Installation

2020-06-23 Thread Segun Odunade
Hi, I recently tried to install opensips 24 on Ubuntu 18.04.4. I was able to start and stop Opensips service successfully, however, when I installed opensips-cp I ran into some issues. For example, when I log into Opensips control panel, after clicking on domain tab and reload server I get this e