summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts/phones/phone.lua
diff options
context:
space:
mode:
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;