Skip to main content

Auto Provisioning Stopped Working

Posted by abongard on Mon, 11/15/2010

Auto Provisioning Stopped Working today right after we did the PBX Manager upgrade to 6.1.1.6

The snom3xx-xxxxxxxxxxx.cfg files no longer get written to the /usr/libexec/webmin/unauthenticated/provisioning directory

Any ideas?

Andrew


Submitted by eeman on Mon, 11/15/2010 Permalink

did you check to see if somehow the provisioning settings got changed during the upgrade? what does the system -> provisioning screen detail?

Submitted by abongard on Mon, 11/15/2010 Permalink

models.txt looks fine
[snom-300]
label=Snom 300
lines=4
phone_template=snom3xx_phone.cfg
line_template=snom3xx_line.cfg
blf_template=snom3xx_blf.cfg
speeddial_template=snom3xx_speeddial.cfg
output=snom3xx-${MAC}.cfg
input_1=snom3xx_settings.cfg
output_1=snom3xx.cfg

[snom-320]
label=Snom 320
lines=12
phone_template=snom3xx_phone.cfg
line_template=snom3xx_line.cfg
blf_template=snom3xx_blf.cfg
speeddial_template=snom3xx_speeddial.cfg
output=snom3xx-${MAC}.cfg
input_1=snom3xx_settings.cfg
output_1=snom3xx.cfg

as well as the snom3xx_settings.cfg

# snom 3xx general settings file

# After each setting (before the colon) you can set a flag, which means respectively:
# ! means writeable by the user, but will not overwrite existing
# $ means writeable by the user, but will overwrite existing (available since version 4.2)
# & (or no flag) means read only, but will overwrite existing

# more settings can be found at the settings (dump) page of the phone's build in webinterface

# Language and Time settings

language$: English
web_language$: English
## specify timezone as needed
timezone$: USA-5
date_us_format&: on
time_24_format&: off

# Default ring
ring_sound$: Ringer6

# specify DST if needed
## dst:

tone_scheme$: USA
# Volume
vol_speaker$: 13
vol_ringer$: 13
vol_handset$: 13
vol_headset$: 10
vol_speaker_mic$: 5
vol_handset_mic$: 5
vol_headset_mic$: 6

# Intercom
intercom_enabled$: on
answer_after_policy$: idle

# in order to perform automated updates, define the firmware setting file URL
"snom3xx_settings.cfg" 55L, 1399C

This is all that is on the provisioning screen
This server's address* 204.x.x.x
The server address is used to replace $SERVER variable in provisioning templates
System variables for replacement in provisioning templates

Name* Value*

SAVE

What else should I look for?

Andrew

Submitted by eeman on Mon, 11/15/2010 Permalink

then theres something went wrong during the upgrade because theres a selection for provisioning method

o Use PBX Manager to serve configuration files using HTTP(s)

o Use other method (TFTP, FTP, etc) to deliver files to devices. Create configuration files in the directory

Submitted by thirdlane on Tue, 11/30/2010 Permalink

We will be coming up with a fix ASAP - hopefully today.

As far as the support - Andrew, there were other issues with your system earlier and I did suggest to purchase support - you decided not to do that.

Rather than repeatedly telling customers that they have to purchase support if they want us to provide it every time there is an issue (regardless of the cause - misconfiguration, bug, servers crashing, Asterisk issues, device issues, network issues, provider issues, upgrade issues, license moves, etc - anything that requires us to look at the problem) we may just give up and start bundling basic support with the software thus increasing the cost - something we were trying to avoid.

To make it clear - free support is provided by volunteers on the forum - otherwise support must be purchased - just like for any other software. Bug fixes are available if you are under maintenance, but not the free support.

Just wonder what people on the list prefer - bundling support or not?

Submitted by bup413 on Sun, 07/31/2011 Permalink

I am currently running version 6.1.1.11 and am experiencing the same issue. When you go to the "System Settings --> Provisioning Settings" I only get an "Add Variables" Button. How do I go about resolving this? I provisioned an Aastra phone and the .cfg file landed in /home/PlcmSpIp/

Any help is more than welcome!

Thanks,
-Adam

Submitted by eeman on Sun, 07/31/2011 Permalink

it seems as though you installed from an ISO. The interface determines if you install from an ISO and if it does it does _not_ allow you to change the directory. If it instead determines you did your own install of the OS and only installed the webmin module then it lets you set this value in the interface. What does /etc/asterisk/provisioning.txt show?

Submitted by bup413 on Sun, 07/31/2011 Permalink

It contains only:
Service type=

I had setup a copy from the same iso and it was fine. Now it's gone. I don't care where the files are on the server. I would just like (prefer) https://server.address.com/something to work to auto provision phones like the trial I set up.

Thanks!
-Adam

Submitted by bup413 on Mon, 09/19/2011 Permalink

How can I get fix what I have to do the auto provisioning. Can I setup an apache pointer to the directory where it is putting the config files? Is there a module I can install? A script I can run?
Advice and / or direction would be greatly appreciated.

-Adam