Update {$mac}.cfg (#4594)

* Update {$mac}.cfg

added issset for line key spanning as polycom generates error on blank line key number

* Use regular double quotes.
This commit is contained in:
benwiesner1 2019-09-12 16:19:25 -07:00 committed by FusionPBX
parent 9b052331ce
commit e1f48d0ad1
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
reg.{$row.line_number}.thirdPartyName=""
reg.{$row.line_number}.auth.userId="{$row.user_id}"
reg.{$row.line_number}.auth.password="{$row.password}"
reg.{$row.line_number}.lineKeys="{$line_key_value_{$row.line_number}}"
{if isset($line_key_value_{$row.line_number})}reg.{$row.line_number}.lineKeys="{$line_key_value_{$row.line_number}}"{else}reg.{$row.line_number}.lineKeys="1"{/if}
{if isset($row.outbound_proxy)}reg.{$row.line_number}.outboundProxy.address = "{$row.outbound_proxy}"{/if}
{if isset($row.sip_port)}reg.{$row.line_number}.outboundProxy.port="{$row.sip_port}"{else}reg.{$row.line_number}.outboundProxy.port="5060"{/if}