Polycom firmware 4.x key assignment is working great with on demand web based provisioning no files are saved to the file system.

This commit is contained in:
Mark Crane 2014-07-20 09:23:10 +00:00
parent a75cc0fccd
commit a84d81fa9b
2 changed files with 28 additions and 10 deletions

View File

@ -4,12 +4,5 @@
<PHONE_CONFIG> <PHONE_CONFIG>
<WEB <WEB
nat.keepalive.interval="15" nat.keepalive.interval="15"
{foreach $keys as $row}
{if $row.device_key_category != "line"}
attendant.resourceList.{$row.device_key_id}.address="{$row.device_key_value}"
attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}"
attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}"
{/if}
{/foreach}
/> />
</PHONE_CONFIG> </PHONE_CONFIG>

View File

@ -12,7 +12,7 @@
reg.1.thirdPartyName="{$display_name_1}" reg.1.thirdPartyName="{$display_name_1}"
reg.1.auth.userId="{$user_id_1}" reg.1.auth.userId="{$user_id_1}"
reg.1.auth.password="{$user_password_1}" reg.1.auth.password="{$user_password_1}"
reg.1.lineKeys="3" reg.1.lineKeys="{$line_key_value_1}"
reg.1.auth.optimizedInFailover="" reg.1.auth.optimizedInFailover=""
reg.1.server.1.address="{$server_address_1}" reg.1.server.1.address="{$server_address_1}"
reg.1.server.1.port="5060" reg.1.server.1.port="5060"
@ -33,7 +33,7 @@
reg.2.thirdPartyName="{$display_name_2}" reg.2.thirdPartyName="{$display_name_2}"
reg.2.auth.userId="{$user_id_2}" reg.2.auth.userId="{$user_id_2}"
reg.2.auth.password="{$user_password_2}" reg.2.auth.password="{$user_password_2}"
reg.2.lineKeys="1" reg.2.lineKeys="{$line_key_value_2}"
reg.2.auth.optimizedInFailover="" reg.2.auth.optimizedInFailover=""
reg.2.server.1.address="{$server_address_2}" reg.2.server.1.address="{$server_address_2}"
reg.2.server.1.port="5060" reg.2.server.1.port="5060"
@ -54,7 +54,7 @@
reg.3.thirdPartyName="{$display_name_3}" reg.3.thirdPartyName="{$display_name_3}"
reg.3.auth.userId="{$user_id_3}" reg.3.auth.userId="{$user_id_3}"
reg.3.auth.password="{$user_password_3}" reg.3.auth.password="{$user_password_3}"
reg.3.lineKeys="1" reg.3.lineKeys="{$line_key_value_3}"
reg.3.auth.optimizedInFailover="" reg.3.auth.optimizedInFailover=""
reg.3.server.1.address="{$server_address_3}" reg.3.server.1.address="{$server_address_3}"
reg.3.server.1.port="5060" reg.3.server.1.port="5060"
@ -67,6 +67,31 @@
reg.3.server.1.retryMaxCount="" reg.3.server.1.retryMaxCount=""
reg.3.server.1.expires.lineSeize="" /> reg.3.server.1.expires.lineSeize="" />
<attendant attendant.reg="1" attendant.ringType="ringer1" attendant.uri="">
<attendant.behaviors>
<attendant.behaviors.display>
<attendant.behaviors.display.remoteCallerID
attendant.behaviors.display.remoteCallerID.automata="1"
attendant.behaviors.display.remoteCallerID.normal="1">
</attendant.behaviors.display.remoteCallerID>
<attendant.behaviors.display.spontaneousCallAppearances
attendant.behaviors.display.spontaneousCallAppearances.automata="0"
attendant.behaviors.display.spontaneousCallAppearances.normal="1">
</attendant.behaviors.display.spontaneousCallAppearances>
</attendant.behaviors.display>
</attendant.behaviors>
<attendant.resourceList
{foreach $keys as $row}{if $row.device_key_type != "line"}attendant.resourceList.{$row.device_key_id}.address="{$row.device_key_value}"
attendant.resourceList.{$row.device_key_id}.callAddress=""
attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}"
attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0"
attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}"
{/if}
{/foreach}>
</attendant.resourceList>
</attendant>
<msg msg.bypassInstantMessage="1"> <msg msg.bypassInstantMessage="1">
<mwi <mwi
msg.mwi.1.subscribe="" msg.mwi.1.subscribe=""