diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-06 11:07:29 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-06 11:07:29 +0100 |
commit | fd8a7b562664c00e2fc244af0a5a8f721d2b3e17 (patch) | |
tree | 4d063b31a48f85f977909bfc6ff5a28940f3a22a /misc/freeswitch/scripts/phones | |
parent | 3edd6e58ea3f5d25068ea9d47f639ae89e5f2c0c (diff) | |
parent | 500ef315442a7fad3647f9b58ae59ab70c45c4b8 (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'misc/freeswitch/scripts/phones')
-rw-r--r-- | misc/freeswitch/scripts/phones/phone.lua | 5 |
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; |