mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Merge pull request #1441 from moteus/page_caller_id_name
Fix. set caller id name in `page` application
This commit is contained in:
@@ -65,7 +65,7 @@ if ( session:ready() ) then
|
||||
--caller id name provided do nothing
|
||||
else
|
||||
effective_caller_id_name = session:getVariable("effective_caller_id_name");
|
||||
caller_id_number = effective_caller_id_name;
|
||||
caller_id_name = effective_caller_id_name;
|
||||
end
|
||||
|
||||
if (caller_id_number) then
|
||||
@@ -113,7 +113,7 @@ if ( session:ready() ) then
|
||||
destination_count = 0;
|
||||
api = freeswitch.API();
|
||||
for index,value in pairs(destination_table) do
|
||||
if (string.find(value, "-") == nill) then
|
||||
if (string.find(value, "-") == nil) then
|
||||
value = value..'-'..value;
|
||||
end
|
||||
sub_table = explode("-",value);
|
||||
|
||||
Reference in New Issue
Block a user