Use wild card with sofia_contact by default.

This commit is contained in:
FusionPBX
2022-11-15 10:37:37 -07:00
committed by GitHub
parent 520b5d71f3
commit 2d3b41a3ee

View File

@@ -386,7 +386,7 @@
local destination = (DIAL_STRING_BASED_ON_USERID and sip_from_number or sip_from_user) .. "@" .. domain_name;
--set a default dial string
if (dial_string == null) then
dial_string = "{sip_invite_domain=" .. domain_name .. ",presence_id=" .. presence_id .. "}${sofia_contact(" .. destination .. ")}";
dial_string = "{sip_invite_domain=" .. domain_name .. ",presence_id=" .. presence_id .. "}${sofia_contact(*/" .. destination .. ")}";
end
--set the an alternative dial string if the hostnames don't match
if (USE_FS_PATH) then