Re: [OpenSIPS-Users] Opensips 3.2.8 does not send message with opensips-cli command

2022-09-29 Thread jacky z
lt to fix, hope the Opensips team can help. Thank you! On Tue, Sep 27, 2022 at 10:56 PM jacky z wrote: > Who can help on this? It is difficult to understand why the live tcp > connection can't be found with opensips 3.2. It works well with opensips > 3.1. Thanks! > > On Mon, Sep

Re: [OpenSIPS-Users] Opensips 3.2.8 does not send message with opensips-cli command

2022-09-27 Thread jacky z
Who can help on this? It is difficult to understand why the live tcp connection can't be found with opensips 3.2. It works well with opensips 3.1. Thanks! On Mon, Sep 26, 2022 at 3:54 PM jacky z wrote: > Hi Team, > > We use MI command to send messages to a user successfully with

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

2022-09-26 Thread jacky z
erver and inspect it > with gdb. > Everything should be detailed here: > https://www.opensips.org/Documentation/TroubleShooting-Crash > > -ovidiu > > On Mon, Sep 26, 2022 at 2:54 AM jacky z wrote: > > > > Hi Ovidiu, > > > > The version I am using is 3.2.

[OpenSIPS-Users] OPENSIPS 3.2.8 msilo can't send offline message on Register

2022-09-26 Thread jacky z
Hi Team, We are testing Opensips 3.2.8 and found it can't send stored offline messages on register. Compared with 3.1, it doesn't look for the tcp con. Here are the comparisons between the logs of these two versions: In 3.1, the existing con was looked and found and then the message was sent. Ple

[OpenSIPS-Users] Opensips 3.2.8 does not send message with opensips-cli command

2022-09-26 Thread jacky z
Hi Team, We use MI command to send messages to a user successfully with opensips 3.1, but after we upgraded to 3.2.8, the message can't be sent with opensips-cli command. We compared the logs and found that when the command was run on 3.2.8, the tcp connection couldn't be found though we can conf

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

2022-09-25 Thread jacky z
as > > On Sun, Sep 25, 2022 at 6:32 AM jacky z wrote: > > > > Hi Vlad, > > > > It seems opensips crashed when I set ?tls_domain=dom1 to enable tls > connection to mysql db. I followed the method in the manual. > > > > modparam("usrloc&

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

2022-09-25 Thread jacky z
ls_mgm","require_cert", "[dom1]0") It is expected to see some other errors such as invalid cert but not crash in pre-daemon process. Any clue on this for me to debug? If I remove "?tls_domain=dom1", there is no such crash though the opensips server still couldn'

[OpenSIPS-Users] Build a cluster with "sql-only"

2022-09-19 Thread jacky z
Hi Team, I am trying to build a cluster with two opensips instances. The two opensips instances run on two servers, but they share the same database. With such a configuration, can I use the sql-only cluster_mode? In the scripts, I added some extra configurations compared with single instance, s

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

2022-09-17 Thread jacky z
Vlad Patrascu > OpenSIPS Core Developerhttp://www.opensips-solutions.com > > On 14.09.2022 05:42, jacky z wrote: > > Hi Bogdan-Andrei, > > I checked the mariadb documentation and found mariadb has two options to > set ssl connection: two-way TSL and one-way TSL. It seems AWS RDS onl

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

2022-09-15 Thread jacky z
Correction on my comments. It is a client side issue. Thank you! On Thu, Sep 15, 2022 at 3:40 PM jacky z wrote: > After checking the log in the client side, here are some interesting > findings: > > Here is the what the client side received: > > WWW-Authenticate: Digest rea

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

2022-09-15 Thread jacky z
't understand why it needs to inform the client side "SHA-256". Secondly, if the client side just simply ignored "SHA-256", there would be no such issue. However, the client side treated it as not supported. On Thu, Sep 15, 2022 at 3:16 PM jacky z wrote: > Hi Bogdan-Andrei,

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

2022-09-15 Thread jacky z
//opensips.org/html/docs/modules/3.2.x/auth.html#func_www_challenge > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 27-30 Sept 2022, Athens > https://www.opensips.org/events/Summit-2022Athens/ >

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

2022-09-15 Thread jacky z
seems > odd to not accept a connection only because the client did present a > certificate. > > Regards, > > -- > Vlad Patrascu > OpenSIPS Core Developerhttp://www.opensips-solutions.com > > On 14.09.2022 05:42, jacky z wrote: > > Hi Bogdan-Andrei, > > I

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: In

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

2022-09-13 Thread jacky z
! On Wed, Sep 14, 2022 at 12:06 AM jacky z wrote: > Hi Bogdan-Andrei, > > I have set the "certificate" and "private_key" in my script, as I > explained in method 1. However, AWS RDS doesn't support a client cert. > Please refer to > > https://stackov

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

2022-09-13 Thread jacky z
"certificate" and "private_key" parameters. > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 27-30 Sept 2022, Athens > https://www.opensips.org/events/Summit-2022Athens

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

2022-09-13 Thread jacky z
22 at 4:52 PM Bogdan-Andrei Iancu wrote: > Hi, > > sorry for my silly question, but how do you connect from the OpenSIPS side > ?? > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS Summit 27-30

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

2022-09-13 Thread jacky z
file. Thanks Jacky z ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] send message via opensips-cli

2021-12-08 Thread jacky z
Hi Team, We are trying to send messages with opensips-cli, but can't find too much info on how to make it work. Here is what we tried but it did not work. opensips-cli -x mi t_uac_dlg method=MESSAGE ruri=" sip:al...@sip.domain.com:5061" headers="From: sip:b...@sip.domain.com:5061\r\nTo: sip:al...

Re: [OpenSIPS-Users] MSILO can't send message

2021-10-21 Thread jacky z
; Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS eBootcamp 2021 > https://opensips.org/training/OpenSIPS_eBootcamp_2021/ > > On 10/15/21 11:02 AM, jacky z wrote: > > Hi Bogdan-Andrei, > > Did you also noticed the m

Re: [OpenSIPS-Users] MSILO can't send message

2021-10-21 Thread jacky z
Best regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS eBootcamp 2021 > https://opensips.org/training/OpenSIPS_eBootcamp_2021/ > > On 10/15/21 11:02 AM, jacky z wrote: > > Hi Bogdan-Andrei, > > Did

Re: [OpenSIPS-Users] We didn't manage to read a full request

2021-10-20 Thread jacky z
ransaction 0x7f0fc18a35b0 Oct 19 13:35:07 sipserver /usr/sbin/opensips[18622]: DBG:tm:wait_handler: done jacky z wrote: > Thanks! We found an end point sent an INVITE, but the server did not > receive. The time of this message in the opensips log matched the INVITE. > Not sure whether the INVITE m

Re: [OpenSIPS-Users] We didn't manage to read a full request

2021-10-20 Thread jacky z
still a test server and we don't expect there are a lot random connection attempts. Giovanni Maruzzelli wrote: > On Wed, Oct 20, 2021 at 11:00 AM jacky z wrote: > >> >> Recently checked the log and found a lot of items. >> >> DBG:proto_tls:tcp_handle_req: We d

Re: [OpenSIPS-Users] config 477 for offline message

2021-10-20 Thread jacky z
477 reply automatically ? > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS eBootcamp 2021 > https://opensips.org/training/OpenSIPS_eBootcamp_2021/ > > On 10/14/21 5:17 AM, jacky z wrote: > &g

[OpenSIPS-Users] We didn't manage to read a full request

2021-10-20 Thread jacky z
Hi Team, Recently checked the log and found a lot of items. DBG:proto_tls:tcp_handle_req: We didn't manage to read a full request Does this mean that there is an incoming message but the server can't read it successfully? What can induce this problem? Thanks! Regards, Jacky

Re: [OpenSIPS-Users] MSILO can't send message

2021-10-15 Thread jacky z
S Founder and Developer > https://www.opensips-solutions.com > OpenSIPS eBootcamp 2021 > https://opensips.org/training/OpenSIPS_eBootcamp_2021/ > > On 10/14/21 5:03 AM, jacky z wrote: > > Hi Bogdan-Andrei, > > Finally made it send offline message by setting > &g

[OpenSIPS-Users] config 477 for offline message

2021-10-13 Thread jacky z
Hi Team, I am working on msilo module for offline message processing. When a message receiver just closed the user agent but the server hasn't updated the "location", the server will try to send the message several times through TCP/TLS and failed with "477". How can we capture this "477" and m_st

Re: [OpenSIPS-Users] MSILO can't send message

2021-10-13 Thread jacky z
in. > > Best regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > OpenSIPS eBootcamp 2021 > https://opensips.org/training/OpenSIPS_eBootcamp_2021/ > > On 9/28/21 3:03 AM, jacky z wrote: > > Hi Team, > >

[OpenSIPS-Users] MSILO can't send message

2021-09-27 Thread jacky z
Hi Team, I want to use MSILO to forward offline messages. I use TLS connections and have set up both server domain and client domains. If we don't use outbound_proxy, the logs show no error, but the message just was not sent. I searched online and it was said that the outbound proxy needs to be us