Hi, I would like to get the user language variable set in the user account, so when I dail *97 the system will get the user language and set it up.
I have a bilingual PBX and some user prefer to have in English and some in French.
I have tried by setting manually the value and it work, it would be great if it it would get it automatically.
Dialplan
vmain_user
condition destination_number ^\*97$ 0 5 true
action answer 0 10 true
action sleep 1000 0 15 true
action set record_append=false 0 20 true
action set voicemail_action=check 0 25 true
action set voicemail_id=${user_name} 0 30 true
action set voicemail_profile=default 0 35 true
action set default_language=${missing the value HERE}
action lua app.lua voicemail 0 40 true
I have a bilingual PBX and some user prefer to have in English and some in French.
I have tried by setting manually the value and it work, it would be great if it it would get it automatically.
Dialplan
vmain_user
condition destination_number ^\*97$ 0 5 true
action answer 0 10 true
action sleep 1000 0 15 true
action set record_append=false 0 20 true
action set voicemail_action=check 0 25 true
action set voicemail_id=${user_name} 0 30 true
action set voicemail_profile=default 0 35 true
action set default_language=${missing the value HERE}
action lua app.lua voicemail 0 40 true