Skip to main content

Yealink Auto Provisioning

Posted by armandomuniz on Thu, 11/11/2010

Hello Everyone

I have searched Hi and Lo looking for some examples of How I can get the yealink phone auto Provisoned to no avail. I have a working script BUT only line 1 works and none of the blf's work I edited the files trying to figure out the proper way to set them up I give up for now I'm frustrated with the lack of info I find. From what I'm see-ing I think I'm going to have to make different files per model of phones T20 T22 T26 T28 Depending on Line's, blf's

I really hope someone can point me in the right direction or that I can help someone else.

This is my models.txt yealink section
[yealink-T26]
label=Yealink T26
lines=3
phone_template=yealink_phone_Txx.cfg
line_template=yealink_line_Txx.cfg
output=${mac}.cfg
input_1=yealink_model.cfg
output_1=yealink.cfg

Here is my phone_template=yealink_phone_Txx.cfg

[ cfg_version ]
path = /yealink/config/Setting/autop.cfg
mac_cfg_ver = 0.0.0.1

${LINES}

[ Time ]
path = /yealink/config/Setting/Setting.cfg
TimeZone = -5
TimeServer1 = pool.ntp.org
TimeServer2 = pool.ntp.org
Interval = 1000
SummerTime = 1
TimeZoneInstead = -5
StartTime = 3/28/2
EndTime = 10/25/3
TimeFormat = 0
DateFormat = 1
OffSetTime = 60
DSTTimeType = 0

[ Message ]
path = /yealink/config/Features/Message.cfg
#voice mail number
VoiceNumber0 = *98
VoiceNumber1 =
VoiceNumber2 =
VoiceNumber3 =
VoiceNumber4 =
VoiceNumber5 =

[ audio0 ]
path=/yealink/config/voip/sipAccount0.cfg
enable = 1
PayloadType = PCMU
priority = 1
rtpmap = 0

[ audio1 ]
path=/yealink/config/voip/sipAccount0.cfg
enable = 1
PayloadType = PCMA
priority = 2
rtpmap = 8

[ audio2 ]
path=/yealink/config/voip/sipAccount0.cfg
enable = 0
PayloadType = G723_53
priority = 0
rtpmap = 4

[ audio3 ]
path=/yealink/config/voip/sipAccount0.cfg
enable = 0
PayloadType = G723_63
priority = 0
rtpmap = 4

[ audio4 ]
path=/yealink/config/voip/sipAccount0.cfg
enable = 1
PayloadType = G729
priority = 3
rtpmap = 18

[ audio5 ]
path=/yealink/config/voip/sipAccount0.cfg
enable = 0
PayloadType = G722
priority = 0
rtpmap = 9

[ audio6 ]
path=/yealink/config/voip/sipAccount0.cfg
enable = 0
PayloadType = iLBC
priority = 3
rtpmap = 97

[ audio7 ]
path=/yealink/config/voip/sipAccount0.cfg
enable = 0
PayloadType = G726-16
priority = 0
rtpmap = 112

[ audio8 ]
path=/yealink/config/voip/sipAccount0.cfg
enable = 0
PayloadType = G726-24
priority = 0
rtpmap = 102

[ audio9 ]
path=/yealink/config/voip/sipAccount0.cfg
enable = 0
PayloadType = G726-32
priority = 0
rtpmap = 2

[ audio10 ]
path=/yealink/config/voip/sipAccount0.cfg
enable = 0
PayloadType = G726-40
priority = 0
rtpmap = 104

[ NAT ]
path=/yealink/config/voip/sipAccount0.cfg
MaxRTPPort = 11800
MinRTPPort = 11780
NATTraversal = 0
#STUNServer = 217.10.79.21
#STUNPort = 10000
EnableUDPUpdate = 1
UDPUpdateTime = 30
rport = 1

[ blf ]
path = /config/voip/sipAccount0.cfg
SubscribePeriod = 900
BLFList_URI =

[ DTMF ]
path=/yealink/config/voip/sipAccount0.cfg
DTMFInbandTransfer = 1
DTMFPayload = 101

[ RemotePhoneBook0 ]
path = /config/Setting/Setting.cfg
URL = http://${SERVER}/provisioning/yealink_phonebook.xml
Name = PBX Phonebook

${BLFS}

[Key0]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key1]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key2]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key3]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key4]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key5]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key6]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key7]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key8]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key9]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key10]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key11]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key12]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key13]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key14]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key15]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key16]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key17]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key18]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key19]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key20]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key21]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key22]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key23]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key24]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key25]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key26]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key27]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key28]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key29]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key30]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key31]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key32]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key33]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key34]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key35]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key36]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key37]
path=/config/vpPhone/Ext38_00000000000001.cfg

type=NA

[Key0]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key1]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key2]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key3]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key4]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key5]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key6]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key7]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key8]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key9]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key10]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key11]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key12]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key13]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key14]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key15]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key16]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key17]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA
}

[Key18]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key19]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key20]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key21]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key22]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key23]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key24]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key25]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key26]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key27]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key28]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key29]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key30]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key31]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key32]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key33]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key34]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key35]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key36]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key37]
path=/config/vpPhone/Ext38_00000000000002.cfg

type=NA

[Key0]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key1]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key2]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key3]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key4]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key5]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key6]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key7]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key8]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key9]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key10]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key11]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key12]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key13]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key14]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key15]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key16]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key17]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key18]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key19]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key20]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key21]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key22]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key23]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key24]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key25]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key26]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key27]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key28]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key29]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key30]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key31]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key32]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key33]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key34]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key35]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key36]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

[Key37]
path=/config/vpPhone/Ext38_00000000000003.cfg

type=NA

Here is my line_template=yealink_line_Txx.cfg


[ account ]
path=/yealink/config/voip/sipAccount0.cfg
Enable = 1
Label = ${USERID}
DisplayName = ${DISPLAY_NAME}
UserName = ${USERID}
AuthName = ${USERID}
password = ${PASSWORD}
SIPServerHost = ${SERVER}
SIPServerPort = 5060
SIPListenPort = 5060
Expire = 900
UseOutboundProxy = 1
OutboundHost = xxx.xxx.xxx.xxx
OutboundPort = 5060
EnableSTUN = 0
SubsribeMWI = 1
SubsribeRegister = 1

Here is my input_1=yealink_model.cfg


[ cfg_version ]
path = /yealink/config/Setting/autop.cfg
com_cfg_ver = 0.0.0.1

[ firmware ]
server_type = http
server_ip =
server_port = 69
login_name =
login_pswd =
http_url =
firmware_name =

[ autop_mode ]
path = /yealink/config/Setting/autop.cfg
#disable=0; power on=1; sheduling=2; both=3
mode = 6
schedule_min = 1440

[ autoprovision ]
path = /yealink/config/Setting/autop.cfg
server_type = http
ftp_server_ip =
ftp_server_port = 21
tftp_server_ip =
tftp_server_port = 69
ftp_name =
ftp_pswd =
http_url = http://${SERVER}/provisioning/

[ Features ]
path = /yealink/config/Features/Phone.cfg
#enable=1; disable=0
DND = 0
Call_Waiting = 1

[ AutoAnswer ]
path = /yealink/config/Features/Phone.cfg
Enable = 0

[ PhoneSetting ]
path = /yealink/config/Setting/Setting.cfg
#the range of the volume is 1~15
Voicevolume = 4
Ringtype = Ring1.wav
HandFreeSpkVol = 8
HandFreeMicVol = 8
HandSetSpkVol = 8
HandSetMicVol = 8
HeadSetSpkVol = 8
HeadSetMicVol = 8

Now I have a blf cfg file but I know its all wrong compared to the other thirdlane blf's that i see if someone has a blf file for the yealinks please post the code I can get Ideas of how it works.

I really want to thank you guys in advance for any help you can give me.
And if any of my code is usefull to you more power to you.


Submitted by moshe on Sat, 11/13/2010 Permalink

I have a working setup for all yealink models,
What's your email address I will email it to you, I have sent a copy to alex already

Submitted by armandomuniz on Sun, 11/14/2010 Permalink

I'm going to be using T20 T26 T28 and VP2009

Thank you again

Armando

Submitted by dlapid on Mon, 11/22/2010 Permalink

Moshe,

I would greatly appreciate it if you could send me your auto-provisioning templates for Yealink.

My email is doron at one stop tech solutions dot com

Thanks.

Doron

Submitted by vorlix on Fri, 12/10/2010 Permalink

Hi Moshe,

I'm deploying thirdlane into my organisation and have run into trouble with our Yealink phones. I'd really appreciate a copy of your templates. rrandell AT ultraserve.com.au is my email address. Thanks in advance.

Cheers

Ryan

Submitted by armandomuniz305 on Tue, 01/25/2011 Permalink

HI Guys

I'm sorry I have not responded in awhile we've been working on integrating DTH billing to Thirdlane and its been a mission and a half I will talk to Alex today to see if I can upload the yealink files including how to add a logo to the phones. I have all the phones working with passwords and they work great.

Armando Muniz
ActiveServe Inc
Miami Florida