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:
parent
79296d89fa
commit
b0ea34d38d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue