summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-03-27 10:37:12 +0100
committerPeter Kozak <spag@golwen.net>2013-03-27 10:37:12 +0100
commitc2e5547c22d2021bfa0dbafadd55723485e1c7d1 (patch)
tree123b64a7067c24c0c4f4f4737f4c9e9458a6737b
parentac8bce76b8666f532ddce00057290e1ea3592e9a (diff)
handle voicemailaccount destinations
-rw-r--r--misc/freeswitch/scripts/dialplan/dialplan.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan/dialplan.lua b/misc/freeswitch/scripts/dialplan/dialplan.lua
index 7ed835b..31b88fd 100644
--- a/misc/freeswitch/scripts/dialplan/dialplan.lua
+++ b/misc/freeswitch/scripts/dialplan/dialplan.lua
@@ -711,7 +711,7 @@ function Dialplan.switch(self, destination)
end
end
return result;
- elseif destination.type == 'voicemail' then
+ elseif destination.type == 'voicemail' or destination.type == 'voicemailaccount' then
return self:voicemail(destination);
elseif destination.type == 'dialplanfunction' then
return self:dialplanfunction(destination);