I used to use the local channel to create a global variable (dialplan) [default] exten => s,1,Set(GLOBAL(LSESSION)=${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)}) to that end, I modified cli.conf [startup_commands] originate local/s extension s at default = yes But now I upgraded to Asterisk18 and there is no longer a local channels Does anybody have any idea of a workaround? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230816/9fcf7cc3/attachment.html>
On Wed, 16 Aug 2023, Federico wrote:> But now I upgraded to Asterisk18 and there is no longer a local channelsAre app_originate.so and res_clioriginate.so loaded? -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST https://www.linkedin.com/in/steve-edwards-4244281
You can't set the variable in globals? I don't know if functions work in globals, but it is worth a try. [globals] LSESSION=${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} On 8/16/23 20:39, Federico wrote:> I used to use the local channel to create a global variable > > (dialplan) > > [default] > > exten => s,1,Set(GLOBAL(LSESSION)=${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)}) > > to that end, I modified cli.conf > > [startup_commands] > > originate local/s extension s at default = yes > > But now I upgraded to Asterisk18 and there is no longer a local channels > > Does anybody have any idea of a workaround? > >-- http://help.nyigc.net/
Possibly Parallel Threads
- Alternative to Local channel
- Alternative to Local channel
- Alternative to Local channel
- Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted
- Asterisk 11 - How to trim the number of modules to minimum ?