[Freeswitch-users] User Variables from directory not accessible
Örn Arnarson
orn at arnarson.net
Thu Jun 2 09:45:37 UTC 2022
Hello guys,
I have a bit of a conundrum; I recently upgraded from FreeSWITCH 1.6.12 to
1.10.6.
I copied most of the configuration over as-is and most everything works as
expected. However, any variables set in the user directory that were
previously accessible in the dialplan, such as accountcode and other custom
variables that I set are no longer accessible from the dialplan when users
originate calls.
I can access them via the user_data function as a workaround, but I am
struggling to understand why I need to do this.
That is, I can access them like so:
${user_data(${caller_id_number}@${domain_name}
var accountcode)}
But not like so: ${accountcode}
In the previous version (and on another FreeSWITCH installation of the same
version), the latter is enough.
Can anyone think of a reason why this would be the case? I have another
FreeSWITCH instance running the same exact version where I can access
directory variables without a problem, so it must be a configuration issue
or a module that I am missing or something.
Regards,
Örn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220602/fbaffc0c/attachment.html>
More information about the FreeSWITCH-users
mailing list