aboutsummaryrefslogtreecommitdiffstats
path: root/phoneprov
diff options
context:
space:
mode:
Diffstat (limited to 'phoneprov')
-rw-r--r--phoneprov/000000000000-directory.xml2
-rw-r--r--phoneprov/polycom.xml2
-rw-r--r--phoneprov/polycom_line.xml1
3 files changed, 3 insertions, 2 deletions
diff --git a/phoneprov/000000000000-directory.xml b/phoneprov/000000000000-directory.xml
index a79e6eda0..7602dd180 100644
--- a/phoneprov/000000000000-directory.xml
+++ b/phoneprov/000000000000-directory.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" standalone="yes"?>
<directory>
<item_list>
- ${PP_EACH_USER(<item><fn>%{DISPLAY_NAME}</fn><ct>%{CALLERID}</ct><bw>1</bw></item>|${MAC})}
+ ${PP_EACH_USER(<item><fn>%{DISPLAY_NAME}</fn><ct>%{CALLERID}</ct><bw>1</bw></item>,${MAC})}
</item_list>
</directory>
diff --git a/phoneprov/polycom.xml b/phoneprov/polycom.xml
index 05195a862..df2b49593 100644
--- a/phoneprov/polycom.xml
+++ b/phoneprov/polycom.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<phone1>
- <reg reg.1.displayName="${DISPLAY_NAME}" reg.1.address="${USERNAME}" reg.1.label="${LABEL}" reg.1.type="private" reg.1.thirdPartyName="" reg.1.auth.userId="${USERNAME}" reg.1.auth.password="${SECRET}" reg.1.server.1.address="${SERVER}" reg.1.server.1.port="${SERVER_PORT}" reg.1.server.1.transport="DNSnaptr" reg.1.server.1.expires="300" reg.1.server.1.register="1" reg.1.server.1.retryTimeOut="" reg.1.server.1.retryMaxCount="" reg.1.server.1.expires.lineSeize="" reg.1.acd-login-logout="0" reg.1.acd-agent-available="0" reg.1.ringType="2" reg.1.lineKeys="2" reg.1.callsPerLineKey="1"/>
+ <reg ${PP_EACH_EXTENSION(${MAC},polycom_line.xml)} />
<call>
<donotdisturb call.donotdisturb.perReg="1" />
<autoOffHook call.autoOffHook.1.enabled="0" call.autoOffHook.1.contact="" call.autoOffHook.2.enabled="0" call.autoOffHook.2.contact="" call.autoOffHook.3.enabled="0" call.autoOffHook.3.contact="" call.autoOffHook.4.enabled="0" call.autoOffHook.4.contact="" call.autoOffHook.5.enabled="0" call.autoOffHook.5.contact="" call.autoOffHook.6.enabled="0" call.autoOffHook.6.contact=""/>
diff --git a/phoneprov/polycom_line.xml b/phoneprov/polycom_line.xml
new file mode 100644
index 000000000..f63c676eb
--- /dev/null
+++ b/phoneprov/polycom_line.xml
@@ -0,0 +1 @@
+reg.${LINE}.displayName="${DISPLAY_NAME}" reg.${LINE}.address="${USERNAME}" reg.${LINE}.label="${LABEL}" reg.${LINE}.type="private" reg.${LINE}.thirdPartyName="" reg.${LINE}.auth.userId="${USERNAME}" reg.${LINE}.auth.password="${SECRET}" reg.${LINE}.server.1.address="${SERVER}" reg.${LINE}.server.1.port="${SERVER_PORT}" reg.${LINE}.server.1.transport="DNSnaptr" reg.${LINE}.server.1.expires="300" reg.${LINE}.server.1.register="1" reg.${LINE}.server.1.retryTimeOut="" reg.${LINE}.server.1.retryMaxCount="" reg.${LINE}.server.1.expires.lineSeize="" reg.${LINE}.acd-login-logout="0" reg.${LINE}.acd-agent-available="0" reg.${LINE}.ringType="2" reg.${LINE}.lineKeys="2" reg.${LINE}.callsPerLineKey="1"