summaryrefslogtreecommitdiffstats
path: root/config/templates/polycom-template.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/templates/polycom-template.lua')
-rw-r--r--config/templates/polycom-template.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/templates/polycom-template.lua b/config/templates/polycom-template.lua
index 7bed28e..9751ef8 100644
--- a/config/templates/polycom-template.lua
+++ b/config/templates/polycom-template.lua
@@ -30,6 +30,7 @@
forwardbusyenable = boolean
forwardnoanswer = EXTEN
forwardnoanswerenable = boolean
+ polycomringtone = select
}
-- Assuming that services will not be nil
services = {
@@ -209,6 +210,8 @@ for pg, pg_t in pairs(values) do
xml_attr({ 'reg', num, 'auth.password' }, pg_t.password)
-- Caller ID string
xml_attr({ 'reg', num, 'displayName' }, pg_t.callerid)
+ -- Ringtone
+ xml_attr({ 'reg', num, 'ringType'}, 'ringer'..pg_t.polycomringtone)
-- From Admin_Guide_UCS_v3.3.0:
-- "The phone has a flexible call forward/diversion feature for each registration. In all cases, a call will only be diverted if a non-Null contact has been configured."