Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2021-01-13 Thread Mark Allen
n wrote: >> >>> It seems like you read that as I intended, but I want to clarify I meant >>> to say I *wouldn’t* feel safe assuming that this would work long term. >>> >>> >>> >>> Ben Newlin >>> >>> >>> >>

Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2020-12-23 Thread johan
>> > *Date: *Thursday, December 3, 2020 at 10:40 AM > *To: *OpenSIPS users mailling list <mailto:users@lists.opensips.org>> > *Subject: *Re: [OpenSIPS-Users] lua_exec in timer route - > OpenSIPS 3.1 > > > a memory leak or

Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2020-12-04 Thread Mark Allen
ouldn’t result in a memory leak or segfault after >> continued use. >> >> >> >> Ben Newlin >> >> >> >> *From: *Users on behalf of Mark Allen >> >> *Date: *Thursday, December 3, 2020 at 10:04 AM >> *To: *OpenSIPS users maill

Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2020-12-03 Thread Mark Allen
wlin > > > > *From: *Users on behalf of Mark Allen < > m...@allenclan.co.uk> > *Date: *Thursday, December 3, 2020 at 10:40 AM > *To: *OpenSIPS users mailling list > *Subject: *Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1 > > > a memory leak or segf

Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2020-12-03 Thread Ben Newlin
-Users] lua_exec in timer route - OpenSIPS 3.1 > a memory leak or segfault after continued use Yes - it would be useful to know if this could result in problems down the road. Not sure how else I can run a timed job if I can't use the TIMER route though. On Thu, 3 Dec 2020 at 15:17, Ben New

Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2020-12-03 Thread Mark Allen
would feel safe > assuming that this wouldn’t result in a memory leak or segfault after > continued use. > > > > Ben Newlin > > > > *From: *Users on behalf of Mark Allen < > m...@allenclan.co.uk> > *Date: *Thursday, December 3, 2020 at 10:04 AM > *To: *OpenSIPS users

Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2020-12-03 Thread Ben Newlin
safe assuming that this wouldn’t result in a memory leak or segfault after continued use. Ben Newlin From: Users on behalf of Mark Allen Date: Thursday, December 3, 2020 at 10:04 AM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1 Thanks

Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2020-12-03 Thread Mark Allen
t; > [1] https://opensips.org/docs/modules/3.1.x/lua.html#idp5933680 > > > > Ben Newlin > > > > *From: *Users on behalf of Johan De > Clercq > *Date: *Thursday, December 3, 2020 at 6:55 AM > *To: *OpenSIPS users mailling list > *Subject: *Re: [OpenSIPS-Use

Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2020-12-03 Thread Ben Newlin
Date: Thursday, December 3, 2020 at 6:55 AM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1 what you can try, is to call another route in the time route. And then in that route, you execute the lua script. maybe (just a myabe) that will work. wkr, O

Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2020-12-03 Thread Johan De Clercq
what you can try, is to call another route in the time route. And then in that route, you execute the lua script. maybe (just a myabe) that will work. wkr, Op do 3 dec. 2020 om 12:23 schreef Mark Allen : > Hi Johan > > In the documentation for 3.1 lua module - TIMER_ROUTE is not one of the >

Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2020-12-03 Thread Mark Allen
Hi Johan In the documentation for 3.1 lua module - TIMER_ROUTE is not one of the routes available to lua_exec. If I include it in a TIMER route, OpenSIPS fails to start with syntax error and the log error is: CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg:265:19-20: Command

Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2020-12-03 Thread Johan De Clercq
It for sure does not run in async mode. Did you try executing a script in timer route ? What's the output in the log ? Op do 3 dec. 2020 om 11:56 schreef Mark Allen : > Is there a way to run a lua_exec from a timer route? > ___ > Users mailing list >

[OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2020-12-03 Thread Mark Allen
Is there a way to run a lua_exec from a timer route? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users