orn at arnarson.net Guest
|
Posted: Thu Jun 02, 2022 5:07 am Post subject: [Freeswitch-users] User Variables from directory not accessi |
|
|
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 |
|