Displaying 3 results from an estimated 3 matches for "lsession".
Did you mean:
session
2023 Aug 17
1
Alternative to Local channel
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...
2023 Aug 17
2
Alternative to Local channel
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?
-------------- n...
2023 Aug 18
1
Alternative to Local channel
...-Commercial Discussion <asterisk-users at lists.digium.com>; Federico <federico at digitalipvoice.com>
Subject: Re: [asterisk-users] Alternative to Local channel
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...