Provision 2 lines on Polycom 335 using endponit manager?

We are currently using tribox CE and will be moving to the FreePBX distro. Our current trixbox configures line 1 and 2 for the same extension which is what I would like to do with FreePBX.

I started looking at the config files on the trixbox and FreePBX along with the following other forum posts. I’m not sure how to get this working and would like some help.

http://www.freepbx.org/forum/freepbx/users/polycom-reg-x-linekeys-in-pbx-end-point-manager

http://www.freepbx.org/forum/freepbx-distro/distro-discussion-help/endpoint-manager-issue

trixbox polycom_template.cnf

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

Create a template for your phone, and then edit the mac_reg config file:
Change:
reg.1.lineKeys="1"
to
reg.1.lineKeys=“2”

The template that comes with endpoint manager for the 335 has the follownig in the mac_reg.cfg.

reg.{$line}.lineKeys="{$lineKeys}"/>

Could I just change this so that it says:

reg.1.lineKeys=“2”

or something along those lines?

For now you can just change that. I would ADVISE you don’t change the {$line} part. But it’s up to you.

OK so for now I should just make it as follows correct?

reg.{$line}.lineKeys=“2”/>