Change the way the outbound context is used so that domain_name is not needed.

This commit is contained in:
Mark Crane 2014-03-27 02:38:15 +00:00
parent 6f7b005aa0
commit ec16d3e4fb
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
if (context == "public") then
call_direction = "inbound";
else
if (context == "outbound@"..domain_name) then
if (string.sub(context, 0, 9) == "outbound@") then
call_direction = "outbound";
else
if (string.len(destination_number) > 6) then