Change the way the outbound context is used so that domain_name is not needed.
This commit is contained in:
parent
6f7b005aa0
commit
ec16d3e4fb
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue