Re: [OpenSIPS-Users] OpenSIPS CP 9.3.2 password mode ha1_sha256 for adding new user

2022-09-14 Thread jacky z
Hi Team, Does ha1_sha256 work in general opensips config settings? I have the following in the scripts: modparam("auth_db", "calculate_ha1", 0) modparam("auth_db", "password_column", "ha1_sha256") but got the following error in the log: /usr/sbin/opensips[28261]: ERROR:auth:auth_calc_HA1:

Re: [OpenSIPS-Users] The update from yesterday makes all calls fail after 20 seconds, how do I go back?

2022-09-14 Thread Saint Michael
I will, thanks. On Wed, Sep 14, 2022, 4:55 PM Daniel Zanutti wrote: > Hi > > Everytime opensips sends the BYE, it's generated inside local_route: > https://www.opensips.org/Documentation/Script-Routes-3-1#toc6 > > So put a xlog there to see why. Something like this: > local_route > { > if

Re: [OpenSIPS-Users] The update from yesterday makes all calls fail after 20 seconds, how do I go back?

2022-09-14 Thread Daniel Zanutti
Hi Everytime opensips sends the BYE, it's generated inside local_route: https://www.opensips.org/Documentation/Script-Routes-3-1#toc6 So put a xlog there to see why. Something like this: local_route { if (is_method("BYE")) { xlog("L_ERR", "LOCAL_ROUTE - BYE - $DLG_end_reason - $ru -

Re: [OpenSIPS-Users] The update from yesterday makes all calls fail after 20 seconds, how do I go back?

2022-09-14 Thread Johan De Clercq
Xlog(….); Outlook voor iOS downloaden Van: Users namens Saint Michael Verzonden: Wednesday, September 14, 2022 9:56:41 PM Aan: OpenSIPS users mailling list Onderwerp: Re: [OpenSIPS-Users] The update from yesterday makes all calls fail

Re: [OpenSIPS-Users] The update from yesterday makes all calls fail after 20 seconds, how do I go back?

2022-09-14 Thread Saint Michael
how do I do this: " put some log on local_route" Sorry I am learning On Wed, Sep 14, 2022 at 3:55 PM Daniel Zanutti wrote: > So your Opensips is hanging up the call. > > Do you see any log on it? Try put some log on local_route if you don't see > anything. > > > > On Wed, Sep 14, 2022 at 4:40

Re: [OpenSIPS-Users] The update from yesterday makes all calls fail after 20 seconds, how do I go back?

2022-09-14 Thread Daniel Zanutti
So your Opensips is hanging up the call. Do you see any log on it? Try put some log on local_route if you don't see anything. On Wed, Sep 14, 2022 at 4:40 PM Saint Michael wrote: > This is a trace showing a BYE from Opensips, but none of the sides did > actually hangup. > > > On Wed, Sep 14,

Re: [OpenSIPS-Users] The update from yesterday makes all calls fail after 20 seconds, how do I go back?

2022-09-14 Thread Saint Michael
This is a trace showing a BYE from Opensips, but none of the sides did actually hangup. On Wed, Sep 14, 2022 at 3:33 PM Saint Michael wrote: > I use opensips 3.1, and I did an update yesterday. in all the boxes that I >> upgraded all calls fail after 20 seconds. > > cd /usr/src/opensips-3.1/ >

[OpenSIPS-Users] The update from yesterday makes all calls fail after 20 seconds, how do I go back?

2022-09-14 Thread Saint Michael
> > I use opensips 3.1, and I did an update yesterday. in all the boxes that I > upgraded all calls fail after 20 seconds. cd /usr/src/opensips-3.1/ git pull make clean;make proper;make all make modules make install clearlog.sh systemctl restart opensips opensips -V How do I go back?

Re: [OpenSIPS-Users] Autoscaler in 3.2.x

2022-09-14 Thread Yury Kirsanov
Hi Bogdan, Thanks a lot for your help and support! The only question I know have is why OpenSIPS was going into a crash if all TCP processes were blocked waiting for connection? It was starting to consume more and more memory and then it was crashing with a segfault upon reaching then -m memory

Re: [OpenSIPS-Users] Autoscaler in 3.2.x

2022-09-14 Thread Yury Kirsanov
Hi Bogdan, Looks like my problem was quite complex as I had following issues: 1. tcp_async was off 2. TCP timeouts were set to be very high I've tried to just enable tcp_async and that didn't help - after restart and TCP SYN storm OpenSIPS started to consume memory and processes got locked up

Re: [OpenSIPS-Users] Autoscaler in 3.2.x

2022-09-14 Thread Yury Kirsanov
Hi Bogdan, Thanks for your answer, I've checked my configs and yes, for some reason I had tcp_async off!!! I will definitely switch it on for now and then give it a try!!! Can't believe I missed that one!!! Best regards, Yury. On Wed, Sep 14, 2022 at 10:58 PM Bogdan-Andrei Iancu wrote: > Hi

Re: [OpenSIPS-Users] How can I retrieve the callID and start time for a call inside event_route[E_RTPPROXY_DTMF] {

2022-09-14 Thread Bogdan-Andrei Iancu
There are several options here, unfortunately none really simple. Here is one: a) after creating the dialog (at initial INVITE time), save the Call-id into a $dlg_val [1]     $dlg_val(my_callid) = $ci; b) in event route, use load_dialog_ctx() [2] - do NOT forget to pair it with the unload

Re: [OpenSIPS-Users] How can I retrieve the callID and start time for a call inside event_route[E_RTPPROXY_DTMF] {

2022-09-14 Thread Saint Michael
Is there way to obtain the SIP Call ID from the "id" or when is_callid=0? if I save the callID on a global variable, will it be visible around all the code? Sorry I am still learning the ropes. On Wed, Sep 14, 2022 at 9:38 AM Bogdan-Andrei Iancu wrote: > Hi, > > As per docs [1], you have in

Re: [OpenSIPS-Users] How can I retrieve the callID and start time for a call inside event_route[E_RTPPROXY_DTMF] {

2022-09-14 Thread Bogdan-Andrei Iancu
Hi, As per docs [1], you have in event_route :  id - represents the identifier of the call for which that event was received.  is_callid - is 0 if the id parameter represents the Dialog ID, or 1 if it is a callid. [1]

Re: [OpenSIPS-Users] Connect to AWS RDS database with SSL enabled

2022-09-14 Thread Vlad Patrascu
Hi Jacky, OpenSIPS will always require you to configure a client certificate for TLS client domains and will also present that certificate when connecting. But normally, a TLS server can simply choose not to verify the client certificate. I don't have any experience with AWS RDS though but

Re: [OpenSIPS-Users] Autoscaler in 3.2.x

2022-09-14 Thread Bogdan-Andrei Iancu
Hi Yury, You need to check the TCP setting and to be sure your OpenSIPS will (1) not try to perform TCP connect against destination known not to be able to accept (like TCP/WS end points behind NAT) - see the tcp_no_new_conn_bflag [1] - or (2) not block for long time while attempting a

Re: [OpenSIPS-Users] Opensips CP Permissions "RELOAD on SERVER" produces error

2022-09-14 Thread mtck01
Thank you so much and my apologies. Regards, Martin From: Bogdan-Andrei Iancu Sent: Tuesday, September 13, 2022 8:49 AM To: mtck01 ; users@lists.opensips.org Subject: Re: [OpenSIPS-Users] Opensips CP Permissions "RELOAD on SERVER" produces error Be sure you have in the

[OpenSIPS-Users] How can I retrieve the callID and start time for a call inside event_route[E_RTPPROXY_DTMF] {

2022-09-14 Thread Saint Michael
> > My goal is to close the call as soon as the callee presses any DTMF when any DTMF is detected, then I need to access the callID variable, $ci but it's nowhere to be found Also I need $avp(start_time) and $avp(duration) I am at a loss as to how to retrieve this information. The call is