Yealink Forums
Auto provision W52P - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Auto Provisioning (/forumdisplay.php?fid=14)
+--- Thread: Auto provision W52P (/showthread.php?tid=21331)



Auto provision W52P - samrh - 08-25-2016 03:22 AM

Hi,

I am trying to auto provision W52P with Enswitch (via http).
But the telephone don't get any modification.

Here the template that I used

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Company XML Provisioning Configuration -->
<gs_provision version="1">

<config version="1">


#!version:1.0.0.1

auto_provision.mode = 1
auto_provision.pnp_enable =1
auto_provision.repeat.enable = 1
auto_provision.repeat.minutes = 25


<!--#Enable the account 1; 0-Disabled (default), 1-Enabled;-->
account.1.enable = 1

<!--#Configure the label displayed on the LCD screen for account 1.-->
account.1.label = Yealink 52WP

<!--#Configure the display name of account 1.-->
account.1.display_name = 245

<!--#Configure the username and password for register authentication.-->
account.1.auth_name = 245
account.1.password = ****

<!--#Configure the register user name.-->
account.1.user_name = 245

<!--#Configure the SIP server address.-->
account.1.sip_server_host = ***.***.***.***
account.1.sip_server_port = 5060

account.1.sip_listen_port = 5060


<!--#Configure the voice mail number of account 1.-->
voice_mail.number.1 = *4


</config>
</gs_provision>

Please I need a help !

Please be informed that manually i succeeded to register the phone.

Thank you!


RE: Auto provision W52P - complex1 - 08-25-2016 04:52 AM

Hi,

I don’t have any experience with a Enswitch, but in your template from #!version:1.0.0.1 till voice_mail.number.1 = *4 everything looks OK.
The header and footer I don’t know.

Workaround:
If you have access to a server you can try to provisiong direct from that server.
Create a config file (y000000000025.cfg) and add all the rows from #!version:1.0.0.1 till voice_mail.number.1 = *4
Store the file in a directory which is accessible from the internet.
Then add the base station provisioning field (Phone > Auto Provision) something like:
http://<your_server_fqdn>/directory/y000000000025.cfg
Press “Autoprovision Now” and the phone will provisioned with the config file.


RE: Auto provision W52P - samrh - 08-25-2016 10:20 PM

Hi,

Thank you for your response.
I don't have access to the server, it takes automatically the mac address and name the template as macaddress.cfg.
But I tried by tftp in my local machine and the provision work with this template.
Another issue, when I use pcap I see that the phone took the file from the Enswitch server via http. But why not it doesn't' change the account settings ?

I am sure now with the pcap that it took the file. And our Enswitch work perfectly with Cisco, Aastra ...

Thank you !

(08-25-2016 04:52 AM)complex1 Wrote:  Hi,

I don’t have any experience with a Enswitch, but in your template from #!version:1.0.0.1 till voice_mail.number.1 = *4 everything looks OK.
The header and footer I don’t know.

Workaround:
If you have access to a server you can try to provisiong direct from that server.
Create a config file (y000000000025.cfg) and add all the rows from #!version:1.0.0.1 till voice_mail.number.1 = *4
Store the file in a directory which is accessible from the internet.
Then add the base station provisioning field (Phone > Auto Provision) something like:
http://<your_server_fqdn>/directory/y000000000025.cfg
Press “Autoprovision Now” and the phone will provisioned with the config file.



RE: Auto provision W52P - Chris Barron - 11-03-2016 11:59 PM

surely the problem here is the inclusion of PNP enable

auto_provision.pnp_enable =1

should be
auto_provision.pnp_enable =0