Abbreviation for variables are discouraged because they aren't intuitive especially for those from other languages. Replace 'ep' variable no idea what it represented to 'user' which is what freeswitch calls ans extension that you register to.

This commit is contained in:
markjcrane 2015-08-13 11:34:48 -06:00
parent b2c4ff8008
commit 3f9bef47ee
1 changed files with 2 additions and 2 deletions

View File

@ -91,8 +91,8 @@
--set the dial string
if (enabled == "true") then
local ep = (number_alias and #number_alias > 0) and number_alias or extension;
dial_string = "loopback/*99"..ep;
local user = (number_alias and #number_alias > 0) and number_alias or extension;
dial_string = "loopback/*99"..user;
end
--set do not disturb