summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts/phones/phone.lua
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-06 11:07:29 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-06 11:07:29 +0100
commitfd8a7b562664c00e2fc244af0a5a8f721d2b3e17 (patch)
tree4d063b31a48f85f977909bfc6ff5a28940f3a22a /misc/freeswitch/scripts/phones/phone.lua
parent3edd6e58ea3f5d25068ea9d47f639ae89e5f2c0c (diff)
parent500ef315442a7fad3647f9b58ae59ab70c45c4b8 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'misc/freeswitch/scripts/phones/phone.lua')
-rw-r--r--misc/freeswitch/scripts/phones/phone.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/freeswitch/scripts/phones/phone.lua b/misc/freeswitch/scripts/phones/phone.lua
index 6da20f0..57997ba 100644
--- a/misc/freeswitch/scripts/phones/phone.lua
+++ b/misc/freeswitch/scripts/phones/phone.lua
@@ -115,8 +115,9 @@ end
function Phone.resync(self, arg)
if not self.model then
- self.log:notice('PHONE_RESYNC - unsupported phone model');
- return false;
+ self.log:notice('PHONE_RESYNC phone model not found - trying Snom resync');
+ require 'phones.snom'
+ return phones.snom.Snom:new{ log = self.log }:resync(arg);
end
arg.ip_address = arg.ip_address or self.record.ip_address;