Skip to main content

Tenant specific directories

Posted by mattdarnell on Mon, 06/09/2008

I want specific directories for each of our tenants.

If I have an entry like:
/home/ftp_config/${TENANT}

I get the following error:
Error saving settings : Configuration files directory does not exist

Has anyone gotten this working? Do you have to create the directory beforehand?

Aloha,
Matt


Submitted by eeman on Mon, 06/09/2008 Permalink

yes, but how would your phone know to look in a tenant specific directory without a lot of onsite customizations?

Submitted by mattdarnell on Mon, 06/09/2008 Permalink

We use the FTP client to route the phone to the correct directory. Each tenant has a unique ftp username/password.

Part of our provisioning process.

Did you mean 'yes' you got it working? I fired up the ISO in a virtual machine and created all the directories ahead of time & that didn't solve the issue.

-Matt

Submitted by eeman on Mon, 06/09/2008 Permalink

I meant yes, you would have to create a dir if you were to get it to accept the variable. I took a different approach..

I use a single directory but instead using local-settings.cfg I use a unique ${TENANT}-settings.cfg so each tenant can have its own unique settings.

Submitted by eeman on Mon, 06/09/2008 Permalink

what if you use /home/ftp_config but in models.txt you do something like

[polycom-301]

label=Polycom 301

lines=2

phone_template=polycom_phone.cfg

line_template=polycom_line.cfg

output=${TENANT}/${mac}-registration.cfg

input_1=polycom_mac.cfg

output_1=${TENANT}/${mac}.cfg

input_2=polycom_local.cfg

output_2=${TENANT}/local-settings.cfg

required_1=${TENANT}/sip.cfg

required_2=${TENANT}/phone1.cfg