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

2022-09-13 Thread jacky z
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 only supports one-way TSL, that is, TSL is used without a client cert. Does OPENSIPS support such one-way TSL to connect a database? Thanks!

[OpenSIPS-Users] unsubscribe

2022-09-13 Thread Anand Gupta
unsubscribe On Tue, Sep 13, 2022 at 3:58 AM Bogdan-Andrei Iancu wrote: > Hi Yury, > > it looks like you some multiple issues, overlapping here. The traps you > sent here have nothing to do with the auto-scaling, but with a blocking TCP > connect for SIP - most of the procs get blocked into a syn

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

2022-09-13 Thread jacky z
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://stackoverflow.com/questions/53760104/how-to-configure-x509-client-certificate-based-authentication-to-connect-to-aws I

[OpenSIPS-Users] proto_smpp questions

2022-09-13 Thread Aleksandar Lolic
Hi, I have couple questions related to proto_smpp: 1. Does proto_smpp support long message segmentation and concatenation (UDH and/or TLV). 2. Multilanguage support in proto_smpp 3. Support for SMPP over TLS. Thank you Aleksandar -- NOTE: This email message and any attachm

Re: [OpenSIPS-Users] Load_Balancing

2022-09-13 Thread Vadim Dumalekov via Users
Hello! Thanks! But I stayed with the LB-module and CacheDB-local. It works well! Best regards! > 9 сент. 2022 г., в 15:32, David Villasmil > написал(а): > > Agreed, just go with dispatcher (I usually do random, which distributes the > calls pretty well) > > On Fri, 9 Sep 2022 at 12:00, B

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

2022-09-13 Thread Bogdan-Andrei Iancu
Set the certificate and key you have in the tls_mgm module, for the "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-2022

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

2022-09-13 Thread Bogdan-Andrei Iancu
Be sure you have in the opensips.cfg file the     loadmodule "permissions.so" line PS: and please post to the list, not privately ;) Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 27-30 Sept 2022, Athens https://www.opensips.o

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

2022-09-13 Thread jacky z
Hi Bogdan-Andrei, I tried two methods. Method 1: #enabled TLS connection: modparam("db_mysql", "use_tls", 1) #setup a client domain: modparam("tls_mgm", "client_domain", "dom1") modparam("tls_mgm", "match_ip_address", "[dom1]*") modparam("tls_mgm", "match_sip_domain", "[dom1]*") modparam("tls_m

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

2022-09-13 Thread Yury Kirsanov
Hi Bogdan, Thanks for this update, but it looks like I can't check autoscaler because of this first issue with blocking TCP connect. Is there a way to resolve it? Am I doing something wrong? Or is that something to do with OpenSIPS code? As yes, you're right, as soon as I restart OpenSIPS having a

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

2022-09-13 Thread Bogdan-Andrei Iancu
Hi Yury, it looks like you some multiple issues, overlapping here. The traps you sent here have nothing to do with the auto-scaling, but with a blocking TCP connect for SIP - most of the procs get blocked into a sync TCP connect. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

Re: [OpenSIPS-Users] sl question.

2022-09-13 Thread johan
I have put my opensips.cfg to abolute bare metal and do the needed manips in sipp. route{     # ASYNC PROCESSING => opensips handles it     if (is_method("OPTIONS|NOTIFY|SUBSCRIBE")) {    send_reply(200,"OK");    drop();     }          if ($sp==IADPORT)        {    xlog("from iad sp

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

2022-09-13 Thread Bogdan-Andrei Iancu
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 Sept 2022, Athens https://www.opensips.org/events/Summit-2022Athens/ On 9/13/22 10:41 AM

Re: [OpenSIPS-Users] Using use_next_gw with partitions

2022-09-13 Thread Bogdan-Andrei Iancu
On the second question: you cannot exclude. The only options are (1) use one partition or (2) use all partitions. 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-20

Re: [OpenSIPS-Users] sl question.

2022-09-13 Thread Bogdan-Andrei Iancu
Well, use $du to the destination of the ACK, instead of $ru. 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/ On 9/12/22 6:03 PM, johan wrote: so the q

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

2022-09-13 Thread jacky z
Hi Team, We hope to connect to aws RDS database with ssl encryption. We have setup a client domain according to OPENSIPS documents. However, AWS RDS does not support client cert as someone has confirmed with AWS https://stackoverflow.com/questions/53760104/how-to-configure-x509-client-certificate-