Fix. Add `#` to caller ID name when call from IVR

This commit is contained in:
Alexey Melnichuk 2016-02-24 16:28:38 +03:00
parent 48588d9ec3
commit 7c225b404a
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@
end);
--set the caller id name
if caller_id_name and #caller_id_name >0 then
if caller_id_name and #caller_id_name > 0 and ivr_menu_cid_prefix and #ivr_menu_cid_prefix > 0 then
caller_id_name = ivr_menu_cid_prefix .. "#" .. caller_id_name;
session:setVariable("caller_id_name", caller_id_name);
session:setVariable("effective_caller_id_name", caller_id_name);