Change the way the outbound context is used so that domain_name is not needed.
This commit is contained in:
parent
7d6af49c9c
commit
3ee3634103
|
|
@ -42,7 +42,7 @@
|
||||||
if (context == "public") then
|
if (context == "public") then
|
||||||
call_direction = "inbound";
|
call_direction = "inbound";
|
||||||
else
|
else
|
||||||
if (context == "outbound@"..domain_name) then
|
if (string.sub(context, 0, 9) == "outbound@") then
|
||||||
call_direction = "outbound";
|
call_direction = "outbound";
|
||||||
else
|
else
|
||||||
if (string.len(destination_number) > 6) then
|
if (string.len(destination_number) > 6) then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue