Re: [OpenSIPS-Users] Question about cache_store and lifetime of variables

2022-09-25 Thread Saint Michael
Question: can you write your own functions with opensips? On Sun, Sep 25, 2022 at 12:05 PM Saint Michael wrote: > Dear Daniel > Can you point me to an example? > Right now Opensios will get a clogged memory. > Many thanks. > > > On Sun, Sep 25, 2022, 11:45 AM Daniel Zanutti > wrote: > >> You

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

2022-09-25 Thread Ovidiu Sas
Which version of opensips are you using? Can you install the debug symbols and get a backtrace from the core file? https://www.opensips.org/Documentation/TroubleShooting-Crash Regards, Ovidiu Sas On Sun, Sep 25, 2022 at 6:32 AM jacky z wrote: > > Hi Vlad, > > It seems opensips crashed when I

Re: [OpenSIPS-Users] Question about cache_store and lifetime of variables

2022-09-25 Thread Saint Michael
Dear Daniel Can you point me to an example? Right now Opensios will get a clogged memory. Many thanks. On Sun, Sep 25, 2022, 11:45 AM Daniel Zanutti wrote: > You have to use dialog variable storing. > Take a look at dialog module. > > Em dom., 25 de set. de 2022 10:42, Saint Michael >

Re: [OpenSIPS-Users] Question about cache_store and lifetime of variables

2022-09-25 Thread Daniel Zanutti
You have to use dialog variable storing. Take a look at dialog module. Em dom., 25 de set. de 2022 10:42, Saint Michael escreveu: > I noticed that the variable > $avp(lineid) > set in the section of the code handling the original INVITE, is null when > I need to close the call. > Is there a way

[OpenSIPS-Users] Question about cache_store and lifetime of variables

2022-09-25 Thread Saint Michael
I noticed that the variable $avp(lineid) set in the section of the code handling the original INVITE, is null when I need to close the call. Is there a way to store a variable that will be available throughout the call, everywhere? I am trying: cache_store("local","lineid_$ci","$avp(lineid)",0);

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

2022-09-25 Thread jacky z
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", "db_url", "mysql://root:1234@localhost/opensips?tls_domain=dom1") Here is the log. Sep 25 10:14:01 ip-10-100-20-35