mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Use a sub string rather than requiring the domain at this point.
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
if (context == "public") then
|
||||
dialplan_dir = "inbound";
|
||||
else
|
||||
if (context == "outbound@"..domain_name) then
|
||||
if (string.sub(context, 0, 9) == "outbound@") then
|
||||
dialplan_dir = "outbound";
|
||||
else
|
||||
if (string.len(destination_number) > 6) then
|
||||
|
||||
Reference in New Issue
Block a user