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
b2c4ff8008
commit
3f9bef47ee
|
|
@ -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