summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-02-19 14:59:21 +0100
committerspag <spag@golwen.net>2013-02-19 14:59:21 +0100
commitec85421d570b64f3d3ddc6f638d9401b49621224 (patch)
treefd9068bdc5d3c30f43d67e25d1181f5320b17b65 /misc
parent4715082b46073d7ca4108b1093d2304eb5999e1b (diff)
phrase fixed
Diffstat (limited to 'misc')
-rw-r--r--misc/freeswitch/scripts/common/conference.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/freeswitch/scripts/common/conference.lua b/misc/freeswitch/scripts/common/conference.lua
index 7143f1c..b56cba9 100644
--- a/misc/freeswitch/scripts/common/conference.lua
+++ b/misc/freeswitch/scripts/common/conference.lua
@@ -159,7 +159,7 @@ function Conference.enter(self, caller, domain)
caller:sleep(1000);
caller.session:sayPhrase('conference_welcome');
- if pin and pin ~= "" then
+ if not common.str.blank(pin) then
local digits = "";
for i = 1, 3, 1 do
if digits == pin then
@@ -167,7 +167,7 @@ function Conference.enter(self, caller, domain)
elseif digits ~= "" then
caller.session:sayPhrase('conference_bad_pin');
end
- digits = caller.session:read(PIN_LENGTH_MIN, PIN_LENGTH_MAX, 'conference/conf-enter_conf_pin.wav', PIN_TIMEOUT, '#');
+ digits = caller.session:read(PIN_LENGTH_MIN, PIN_LENGTH_MAX, 'conference/conf-pin.wav', PIN_TIMEOUT, '#');
end
if digits ~= pin then
caller.session:sayPhrase('conference_goodbye');