mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-07 20:23:51 +00:00
ring group lua minor improvement (#5998)
ring_group_distinctive_ring is always an empty string
This commit is contained in:
@@ -753,7 +753,7 @@
|
||||
session:execute("set", "uuids="..uuids);
|
||||
|
||||
--export the ringback
|
||||
if (ring_group_distinctive_ring ~= nil) then
|
||||
if (ring_group_distinctive_ring and #ring_group_distinctive_ring > 0) then
|
||||
if (local_ip_v4 ~= nil) then
|
||||
ring_group_distinctive_ring = ring_group_distinctive_ring:gsub("${local_ip_v4}", local_ip_v4);
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user