Yealink Forums
Yealink 48G Phone Auto Provisioning with Elastix - 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: Yealink 48G Phone Auto Provisioning with Elastix (/showthread.php?tid=3863)

Pages: 1 2


Yealink 48G Phone Auto Provisioning with Elastix - mallesh - 05-25-2015 07:33 PM

Hello Friends,

I am trying to Configure & Setup yealink 48G phone Auto Provisioning with Elastix.
My Current setup is as below :
Kernel
Linux(x86_64)-2.6.18-371.1.2.el5

Elastix
elastix-2.4.0-8
elastix-a2billing-1.9.4-5
elastix-addons-2.4.0-10
elastix-agenda-2.4.0-14
elastix-asterisk-sounds-1.2.3-1
elastix-email_admin-2.4.0-6
elastix-endpointconfig2-2.5.0-1
elastix-extras-2.4.0-5
elastix-fax-2.4.0-4
elastix-firstboot-2.4.0-4
elastix-framework-2.4.0-19
elastix-im-2.4.0-2
elastix-my_extension-2.4.0-6
elastix-pbx-2.4.0-18
elastix-portknock-0.0.1-0
elastix-reports-2.4.0-10
elastix-security-2.4.0-9
elastix-system-2.4.0-13

RoundCubeMail
RoundCubeMail-0.3.1-12

Mail
postfix-2.3.3-6.el5
cyrus-imapd-2.3.7-12.el5_7.2

IM
openfire-3.7.1-1

FreePBX
freePBX-2.11.0-17

Asterisk
asterisk-11.13.0-0
asterisk-perl-1.03-0
asterisk-addons-11.13.0-0

FAX
hylafax-4.3.10-2rhel5
iaxmodem-1.2.0-2

DRIVERS
dahdi-2.10.0.1-0
rhino-0.99.6-3.b4
wanpipe-util-7.0.10-2

Please help me How & where i can start this process ?

Thank you.


RE: Yealink 48G Phone Auto Provisioning with Elastix - Flora_Yealink - 05-25-2015 08:56 PM

Hi,
Sorry , we don't understand how to configure the Elastix very well.
But if you want to use auto provisioning feature on Yealink, you need to upload the provisioning file to your server , you can copy the provisioning file to tftp folder.

Yealink T48G AutoProvisioning Template.zip


Yealink_SIP-T2_Series_T4_Series_IP_Phones_Auto_Provisioning_Guide_V73_40.pdf
Hope it help.
Flora


RE: Yealink 48G Phone Auto Provisioning with Elastix - mallesh - 05-29-2015 11:25 PM

Hi,

Thanks for reply Flora.

I am stuck at Auto Provision url.

I am doing all config in MAC.cfg regarding registration below is config.
#!version:1.0.0.1
#Note: This file header cannot be edited or deleted
account.1.enable = 1
account.1.label = Tony
account.1.display_name =
account.1.auth_name = 1234
account.1.user_name = 1234
account.1.password = XXXXX
account.1.sip_server.1.address = SERVERIP
account.1.sip_server.1.port = 5060
account.1.sip_listen_port = 5060
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
account.1.transport = 0
#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
account.1.subscribe_register = 1

& yMACADDRESS35.cfg is below.
All codes are keeps are default.
Just change
################################################################################​#######
## Autop URL ##
################################################################################​#######
auto_provision.server.url = tftp://SIPSERVERIP

But my yealink phone is not getting all configuration at phone Bootup time.
One thing interesting when i add SIPIP in Phone web interface at Settings ----Auto provision -- Server URL -- tftp://SIPSERVERIP --- & Auto Provision now.

Strange... It's Working fine really.

Please address me what i am missing in configuration.

Thanks in advance.

Regards
Mallesh


RE: Yealink 48G Phone Auto Provisioning with Elastix - Flora_Yealink - 05-30-2015 12:33 AM

Hi Mallesh,
when you mentioned "One thing interesting when i add SIPIP in Phone web interface at Settings ----Auto provision -- Server URL -- tftp://SIPSERVERIP --- & Auto Provision now."
Do you mean in this process you just Click “Auto Provision Now" in the Settings->Auto Provisioning page ?
If yes, please check whether you have eanble " Power On" option in the Settings->Auto Provisiong page .

If not , you manually configure the provisioning URL in the page and then press the " Auto Provision Now", as you kown, the phone must preconfigured the auto provisioning URL that you can make it to do auto provisioning .

The provisioning can be obtained by the phone through below methods, Zero touch (RPS),PNP ,DHCP, and phone's flash.
Please check and let me know the details.

Best Regards!
Flora


RE: Yealink 48G Phone Auto Provisioning with Elastix - mallesh - 05-30-2015 12:58 AM

Hi Flora,

Thanks for quick reply.

"Do you mean in this process you just Click “Auto Provision Now" in the Settings->Auto Provisioning page " NO.
But need to add manually " tftp://SIPSERVERIP " & Click Auto Provision now. Its work.

Already " Power On" option in the Settings->Auto Provisiong page.
also " PNP Active On" & " DHCP Active On "

I am adding manually configure the provisioning URL on phone.
I am also keeping in " yMACADDRESS35.cfg " provisioning URL but its not working.
Is this right what i was shared with you in previous post " yMACADDRESS35.cfg " ??
I am trying all provisioning should have get from cfg files.

Thanks & Regards
Mallesh


RE: Yealink 48G Phone Auto Provisioning with Elastix - Flora_Yealink - 05-30-2015 03:18 AM

Hi Mallesh,
1. If you want the phone to obtain the URL from DHCP or PNP, you need to configure the provisioning URL in the DHCP option 66 or 43 in the DHCP server or your has to configure the PNP environment , in this way , the phone can obtain the provisioning URL from DHCP or PNP when reboot.
If your hasn't preconfigured the DHCP or PNP enviornment , you need to manually add the URL in the phone.
2. If the phone can't obtain the provisioning URL, the phone won't try to do auto provisioning , so it won't work if you only configure the provisioning URL( in your case tftp://SIPSERVERIP ) in the provisioning files, common.cfg or mac.cfg , it won't work.

3. During auto provisioning, the phone will download two provisioning files, one is common.cfg which is based different model, for example for T48, the common.cfg is y000000000035.cfg
another is mac.cfg for example the phone's mac is 001565123456, the mac.cfg should be 001565123456.cfg.

Hope these can help and let me know if any question .
Best Regards!
Flora


RE: Yealink 48G Phone Auto Provisioning with Elastix - mallesh - 06-03-2015 01:21 AM

Hi Flora,
Thank you.

Still not getting phone Bootup time Auto Provisioning url.
as your points.
1) we are using Firewall (Operating System is CentOS) DHCP environment. Already we are using different phone like Snom,Polycom,Panasonic etc..as Auto Provisioning on the phone. All phones are working fine with Auto provision at Boot up time.
We are using yealink phone 1st time. If in case of Yealink phone any different changes on DHCP configuration file please explain.
How to do it on CentOS firewall DHCP config file related Auto Provision ?

2) I am only keeping this below line in the single file y000000000035.cfg only.
################################################################################​​#######
## Autop URL ##
################################################################################​​#######
auto_provision.server.url = tftp://SIPSERVERIP
######################################################################
Is this any other changes Or values on this file ?

3) comman.cfg renamed as y000000000035.cfg & mac.cfg is as MACADDRESS.cfg.


Regards
Mallesh


RE: Yealink 48G Phone Auto Provisioning with Elastix - Flora_Yealink - 06-04-2015 02:28 PM

Hi Mallesh,
So you mean you have configured the auto provisioning URL in the option 66 but the phone still can't do auto provisioning from tftp server?
in the option 66 please just add the ip address of your tftp server , for example you tftp server's ip adress is 10.2.1.17, the value of option 66 should be just 10.2.1.17 don't add the tftp:// with it .

in this case, when the phone boot up , it will obtain the tftp server's IP adress from DHCP option 66 and then try to do auto provisioning from the tftp server.

please test and let me know if any question .
If it still can't work, please share us the pcap trace, config.bin file and level 6 syslog that I can check .
You can refer to below link for how to catch these information .
http://forum.yealink.com/forum/showthread.php?tid=1319
Best Regards!
Flora


RE: Yealink 48G Phone Auto Provisioning with Elastix - mallesh - 06-09-2015 09:17 PM

Hi Flora,

Please check and review logs and let us know the details.

Regards
Som


RE: Yealink 48G Phone Auto Provisioning with Elastix - mallesh - 06-10-2015 02:28 AM

Hi Flora,

Thank you so much.

Just minor changes in the DHCP file & Really Its working. Thanks once again to you.

I am trying to do Next configuration dial plan & all the rest setup.
If anything else i will ask to you sure.

Thanks & Regards
Mallesh/Som