PIONEERS Yealink T46G phone

kmcdaniel

Member
Joined
Jan 23, 2008
Messages
416
Reaction score
19
When viewing the call logs on the t46 display, by default it does the caller id name information. Once you press ok button for a specific selection, it will then give you more call detail info like the phone number. Is there anyway to flip flop this info and make it first display the number and then when press ok, you can get the caller id name info?
 

AndyInNYC

Active Member
Joined
May 23, 2013
Messages
772
Reaction score
124
I've been trying to read up on auto-provisioning - lots of stuff to comprehend - for the T46G

I'd like for:
1) the phone to pull a remote phone book into its directory from the server
2) check the server for new firmware
3) get any changes I make to (what I understand to be) the individual phone's file (with its MAC address as part of the name

I don't see where I get the y0000 (I can get the right name from this thread) file to start with or the MAC version.
I've tried to 'auto provision' to the OpenVPN 10.8.0.1 machine and the phone seems to hit the t*f*t*p, but nothing is accomplished.

I also can't get the nerdvittles/parking lot script to work yet (Load Error on the nerdvittles), but that is tomorrow's problem.

Any pointers/help?

Andrew
 

pshaww

New Member
Joined
May 24, 2013
Messages
11
Reaction score
0
I've been trying to read up on auto-provisioning - lots of stuff to comprehend - for the T46G

I'd like for:
1) the phone to pull a remote phone book into its directory from the server
2) check the server for new firmware
3) get any changes I make to (what I understand to be) the individual phone's file (with its MAC address as part of the name

I don't see where I get the y0000 (I can get the right name from this thread) file to start with or the MAC version.
I've tried to 'auto provision' to the OpenVPN 10.8.0.1 machine and the phone seems to hit the t*f*t*p, but nothing is accomplished.

I also can't get the nerdvittles/parking lot script to work yet (Load Error on the nerdvittles), but that is tomorrow's problem.

Any pointers/help?

Andrew
Andrew,

I wrote a Yealink V70 provisioner package for the OSS provisioner in FreePBX. It includes support for T4X phones and VP530s. I also know the current beta commercial provisioner from Schmooze can do the same for you. I'll attach the Yealink V70 package today when I enter the office.

I forgot to add that we added remote phonebook capabilities through the use of ARI (for users to take advantage of). There is also the ability to create a generic MAC phone and use it as the company-wide contact list in addition to their own device specific personal remote phonebooks. With V72 on T4X and T2X the phones can search these lists when dialing to auto complete.


I also forgot to add you can create the vpn config tarball for the T4X phone and upload to any Linux ftp server you prefer. This package includes a field for this file's location (I name it MAC.tar to know which is which) and then you can enable the VPN setting. Also, I included sip and proxy server overrides if not using the IP of the PBX, so you can enter in the provisioner template something like 10.8.0.1 as the sip and proxy.
 

pshaww

New Member
Joined
May 24, 2013
Messages
11
Reaction score
0
Here is the link to our Yealink V70 package which includes support for T1x, T2x, T3x, T4x, and VP530 phones. It supports remote phonebook, VLAN, ARI, alternate SIP host addresses (if using an SBC, OpenVPN, or voip specialized routers).

https://drive.google.com/#folders/0B1fbQCmyiVSYNnNINlBGSTZwb3c

The above link contains two files:

1. yealinkv70.tgz - this is our provisioner package for Yealink V70 for the OSS endpoint manager.
2. endpointmanxpedeus-2.11.5.3.tgz - If you use the OSS provisioner, this is our OSS endpoint FreePBX module we modified due to issues introduced with newer updates to the OSS Endpoint Manager. Before installing this, you should first run the command:

Code:
cp -r /var/www/html/admin/modules/endpointman /root/endpointmanbackup
rm -r /var/www/html/admin/modules/endpointman

Then you would notice the endpointman module is 'broken' (because it was just removed). You can now remove it from this modules list by selecting uninstall without it removing all your phones, templates and configs.

Then upload the xpedeusendpointman module if you also have issues with newer updates to the OSS provisioner.


***THE ABOVE ONLY APPLIES TO THE OSS PROVISIONER. This is not for the commercial Endpoint Manager from Schmooze***
 

AndyInNYC

Active Member
Joined
May 23, 2013
Messages
772
Reaction score
124
Prior to downloading and understanding the OSS endpoint manager and your kindly provided file and directions (which scare me), I downloaded Yealink's Configuration Tool and created a very small file called

y000000000028.cfg (10 zeros)
This file contains:

Code:
#!version:1.0.0.1
## the file header "#!version:1.0.0.1" can not be edited or deleted. ##
 
auto_provision.pnp_enable = 1
auto_provision.repeat.enable = 1
auto_provision.server.password = bob
auto_provision.server.url = t*f*t*p://10.8.0.1
auto_provision.server.username = ftpclient
auto_provision.weekly.begin_time = 00:00
auto_provision.weekly.dayofweek = 0123456
auto_provision.weekly.enable = 1
auto_provision.weekly.end_time = 00:15
 
directory_setting.url = t*f*t*p://10.8.0.1/RemotePhonebook.xml
 
wallpaper_upload.url = t*f*t*p://10.8.0.1/YLinkMoney4.jpg

'bob' isn't really the password <g>. The connection is via OpenVPN. The server is running vsftpd.
I know vsftpd is running correctly because I can log in via Chrome using ftpclient/bob

My autoprovisioning page has:
PNP Active and DHCP Active set to yes
DHCP Option Value set to 'yealink'
Server url set to 't*f*t*p://10.8.0.1' - no asterisks
username and password filled in.

NOTE: I have tried in the .cfg file and the autoprovision page to use f*t*p as well - fail in each case.

Using syslog reporting set to 6, the relevant portion of the log is:

Code:
Sep  5 00:01:29 AUTP[370]: AUTP<6+info  > network complete
Sep  5 00:01:29 AUTP[370]: AUTP<6+info  > type = t*f*t*p,hostname = 10.8.0.1, username = ftpclient, psw = ******, port = -1
Sep  5 00:01:29 AUTP[370]: AUTP<6+info  > strCommName = [y000000000028.cfg]
Sep  5 00:01:34 AUTP[370]: AUTP<3+error > t*f*t*p to file failed, code = -16, msg = Host is not a t*f*t*p server, cout = 0
Sep  5 00:01:39 AUTP[370]: AUTP<3+error > t*f*t*p to file failed, code = -16, msg = Host is not a t*f*t*p server, cout = 1
Sep  5 00:01:46 AUTP[370]: AUTP<3+error > t*f*t*p to file failed, code = -16, msg = Host is not a t*f*t*p server, cout = 2
Sep  5 00:01:50 AUTP[370]: AUTP<6+info  > download file fail!!
Sep  5 00:01:50 AUTP[370]: AUTP<6+info  > strMacName = [001565724261.cfg]
Sep  5 00:01:55 AUTP[370]: AUTP<3+error > t*f*t*p to file failed, code = -16, msg = Host is not a t*f*t*p server, cout = 0
Sep  5 00:02:00 AUTP[370]: AUTP<3+error > t*f*t*p to file failed, code = -16, msg = Host is not a t*f*t*p server, cout = 1
Sep  5 00:02:07 AUTP[370]: AUTP<3+error > t*f*t*p to file failed, code = -16, msg = Host is not a t*f*t*p server, cout = 2
Sep  5 00:02:11 AUTP[370]: AUTP<6+info  > download file fail!!

So, clearly I'm 'getting in' to the machine. If I use ftp I get a related, but not exact set of errors:

Code:
Sep  5 00:08:46 AUTP[370]: AUTP<6+info  > network complete
Sep  5 00:08:46 AUTP[370]: AUTP<6+info  > type = ftp,hostname = 10.8.0.1, username = ftpclient, psw = ******, port = -1
Sep  5 00:08:46 AUTP[370]: AUTP<6+info  > strCommName = [y000000000028.cfg]
Sep  5 00:08:46 AUTP[370]: AUTP<6+info  > download file success!!
Sep  5 00:08:46 AUTP[370]: AUTP<6+info  > Load M7
Sep  5 00:08:46 AUTP[370]: AUTP<6+info  > MD5 is same! Upgrade [bin|rom]
Sep  5 00:08:46 AUTP[370]: AUTP<6+info  > *** Upgrade BIN File
Sep  5 00:08:46 AUTP[370]: AUTP<6+info  > NAME: [ directory_setting.url ]
Sep  5 00:08:49 AUTP[370]: AUTP<3+error > ftp to file failed, code = -19, msg = Unknown Error, cout = 0
Sep  5 00:08:52 AUTP[370]: AUTP<3+error > ftp to file failed, code = -19, msg = Unknown Error, cout = 1
Sep  5 00:08:58 AUTP[370]: AUTP<3+error > ftp to file failed, code = -19, msg = Unknown Error, cout = 2
Sep  5 00:09:02 AUTP[370]: AUTP<6+info  > download file fail!!
Sep  5 00:09:02 AUTP[370]: AUTP<4+warnin> Download bin fail
Sep  5 00:09:02 AUTP[370]: AUTP<6+info  > *** END [NO CHANGE]
Sep  5 00:09:02 AUTP[370]: AUTP<6+info  > *** Upgrade BIN File
Sep  5 00:09:02 AUTP[370]: AUTP<6+info  > NAME: [ wallpaper_upload.url ]
Sep  5 00:09:05 AUTP[370]: AUTP<3+error > ftp to file failed, code = -19, msg = Unknown Error, cout = 0
Sep  5 00:09:08 AUTP[370]: AUTP<3+error > ftp to file failed, code = -19, msg = Unknown Error, cout = 1
Sep  5 00:09:13 AUTP[370]: AUTP<3+error > ftp to file failed, code = -19, msg = Unknown Error, cout = 2
Sep  5 00:09:17 AUTP[370]: AUTP<6+info  > download file fail!!
Sep  5 00:09:17 AUTP[370]: AUTP<4+warnin> Download bin fail
Sep  5 00:09:17 AUTP[370]: AUTP<6+info  > *** END [NO CHANGE]
Sep  5 00:09:17 AUTP[370]: AUTP<6+info  > Update Parse file Finished!
Sep  5 00:09:17 AUTP[370]: AUTP<6+info  > strMacName = [001565724261.cfg]
Sep  5 00:09:17 AUTP[370]: AUTP<3+error > ftp to file failed, code = -15, msg = 550 Could not get file size., cout = 0
Sep  5 00:09:17 AUTP[370]: AUTP<3+error > ftp to file failed, code = -15, msg = 550 Could not get file size., cout = 1
Sep  5 00:09:19 AUTP[370]: AUTP<3+error > ftp to file failed, code = -15, msg = 550 Could not get file size., cout = 2
Sep  5 00:09:23 AUTP[370]: AUTP<6+info  > download file fail!!
Sep  5 00:09:23 AUTP[370]: AUTP<6+info  > Protect = 0, Sync = 0
Sep  5 00:09:23 AUTP[370]: AUTP<6+info  > Upgrade finished [OK]
Sep  5 00:09:23 AUTP[370]: AUTP<6+info  > Send Upgrade end to GUI!
Sep  5 00:09:23 AUTP[370]: AUTP<6+info  > No need broad msg!
Sep  5 00:09:23 AUTP[370]: AUTP<6+info  > Autop Success, Close Redirect!
Sep  5 00:09:23 AUTP[370]: AUTP<6+info  > Set repeatPolicy timer [1440m]
Sep  5 00:09:23 AUTP[370]: AUTP<6+info  > Autoprovision End >>>
Sep  5 00:09:23 test[198]: war[ConfigServer.cpp:82  ]CConfigServer::OnFlushRegistry begin
Sep  5 00:09:23 test[198]: war[ConfigServer.cpp:84  ]CConfigServer::OnFlushRegistry end
Sep  5 00:09:26 AUTP[370]: AUTP<6+info  > Receive MSG[0x000A0001]! ReplyMessage [0]
Sep  5 00:09:43 Log [449]: TALK<6+info  >[Talk] Receive phone message[0x30007] wparam[0] lparam[1]

I have chmod 777 * all files in the tftpboot directory
I'm running the latest firmware available on Yealink's website.

Any thoughts as to why this is so difficult for me?

The wallpaper is the correct size - I can upload it manually.
The directory was created with the Yealink Excel utility.

Andrew
 

AndyInNYC

Active Member
Joined
May 23, 2013
Messages
772
Reaction score
124
So, using ftp to connect, the phone is grabbing (correctly) the y000000000028.cfg file.
It won't, however, grab either of the other two files - wallpaper and a directory.

I seem to be getting the following error:

ftp to file failed, code = -15, msg = 550 Could not get file size., cout = 2

I also have a file in the error log called: lighttpd_error.log

A shortened version of this file shows:

Code:
2014-09-05 00:00:02: (log.c.166) server started
2014-09-05 00:00:02: (mod_fastcgi.c.1365) --- fastcgi spawning local
    proc: /phone/www/WEB-INFO/bin/fcgiServer.exx
    port: 0
    socket /tmp/fcgiServer-fcgi.socket
    max-procs: 1
2014-09-05 00:00:02: (mod_fastcgi.c.1389) --- fastcgi spawning
    port: 0
    socket /tmp/fcgiServer-fcgi.socket
    current: 0 / 1
2014-09-05 00:00:02: (mod_fastcgi.c.1365) --- fastcgi spawning local
    proc: /phone/www/WEB-INFO/bin/fcgiServer.exx
    port: 0
    socket /tmp/fcgiServer-fcgi.socket
    max-procs: 1
2014-09-05 00:00:02: (mod_fastcgi.c.1389) --- fastcgi spawning
    port: 0
    socket /tmp/fcgiServer-fcgi.socket
    current: 0 / 1
2014-09-05 00:00:02: (mod_fastcgi.c.1365) --- fastcgi spawning local
    proc: /phone/www/WEB-INFO/bin/fcgiServer.exx
    port: 0
    socket /tmp/fcgiServer-fcgi.socket
    max-procs: 1
2014-09-05 00:00:02: (mod_fastcgi.c.1389) --- fastcgi spawning
    port: 0
    socket /tmp/fcgiServer-fcgi.socket
    current: 0 / 1
2014-09-05 00:00:02: (mod_dirlisting.c.228) pcre support is missing, please install libpcre and the headers
2014-09-05 00:00:32: (mod_fastcgi.c.3059) got proc: pid: 500 socket: unix:/tmp/fcgiServer-fcgi.socket-0 load: 1
2014-09-05 00:00:35: (mod_fastcgi.c.1490) released proc: pid: 500 socket: unix:/tmp/fcgiServer-fcgi.socket-0 load: 0
2014-09-05 00:00:35: (mod_fastcgi.c.3059) got proc: pid: 500 socket: unix:/tmp/fcgiServer-fcgi.socket-0 load: 1
2014-09-05 00:00:35: (mod_fastcgi.c.1490) released proc: pid: 500 socket: unix:/tmp/fcgiServer-fcgi.socket-0 load: 0
2014-09-05 00:21:22: (mod_fastcgi.c.3059) got proc: pid: 500 socket: unix:/tmp/fcgiServer-fcgi.socket-0 load: 1
2014-09-05 00:21:22: (mod_fastcgi.c.1490) released proc: pid: 500 socket: unix:/tmp/fcgiServer-fcgi.socket-0 load: 0
2014-09-05 00:21:22: (mod_fastcgi.c.3059) got proc: pid: 500 socket: unix:/tmp/fcgiServer-fcgi.socket-0 load: 1

I have verified that the wallpaper is 480 x 272. The RemotePhonebook.xml was created using the Yealink tool.

I tried 'chown ftpclient *' in the files directory - no effect.

I'm stymied.

Andrew
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
1. yealinkv70.tgz - this is our provisioner package for Yealink V70 for the OSS endpoint manager.
2. endpointmanxpedeus-2.11.5.3.tgz - If you use the OSS provisioner, this is our OSS endpoint FreePBX module we modified due to issues introduced with newer updates to the OSS Endpoint Manager. Before installing this, you should first run the command:


I am confused why you are distributing this separately when all of your commits have been submitted back to the project "https://github.com/freepbx/endpointman/issues?q=is:pr+is:closed"

So is/are this different than what you provided to me? Seems like it if you are saying so. So why don't you submit your work back?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
I seem to be getting the following error:

ftp to file failed, code = -15, msg = 550 Could not get file size., count = 2

2014-09-05 00:00:02: (mod_dirlisting.c.228) pcre support is missing, please install libpcre and the headers
[/CODE]


Looks like you're missing the libpcre application and headers on your server which tells how big files are among other things.
 

AndyInNYC

Active Member
Joined
May 23, 2013
Messages
772
Reaction score
124
Ward, thanks for responding.

That message is in the PHONE's error log - I can't add that to the phone. Doesn't seem reasonable (to me) that the phone would know that file is missing unless my server told it so (in which case my server's logs would tell me that).

The server will ftp files - I logged in via VPN (like the phone) as well as directly to the public IP.

From Chrome, in the address bar: ftp://ftpclient:[email protected]
returns me a page with the files in the tftpboot directory which I can download without issue.

Since nobody else in the world is reporting this problem to Yealink (yes, I checked the whole world), it doesn't make sense that it is directly a phone only problem.

I'll try connecting the phone via the public IP and see if that makes any difference.
The weird part is that the phone correctly picks up the y000000000028.cfg file and configures the phone - it just won't pick up the wallpaper and directory.

Andrew
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
It won't pick up the other pieces because it can't query your server to figure out how big the files are. You wouldn't want the phone downloading a 100GB file and blowing itself up. So it does a query on file size first. When your server (not your phone) doesn't respond with the answer (because of the missing Linux app), the phone aborts the download.

Having said all that, be very careful manually adjusting a FreePBX module. If you do this, you are forever barred from updating the package using the FreePBX updater! Doing so will almost certainly break lots of things in a very ugly way because the updater is expecting a certain environment in both the file system and in MySQL, and you've now changed only part of it. In other words, you've moved the goal posts without telling the team.
 

AndyInNYC

Active Member
Joined
May 23, 2013
Messages
772
Reaction score
124
I believe I understand your email - but the rest of the world is using the phone's provisioning features (that's why there is a module). I'm not using the module - perhaps that wasn't made clear. I created the .cfg file using Yealink's tool and placed it on the t*f*t*p server.

I'm using SC Linux with the PIAF installer on Rentpbx. What 'yum install' do I need to get this to work?

yum install pcre returns:

Package pcre-7.8-6.el6.i686 already installed and latest version
It still strikes me as some configuration/ownership issue (I can download from a PC, just not the phone).
Thought?
Andrew
 

pshaww

New Member
Joined
May 24, 2013
Messages
11
Reaction score
0
I am confused why you are distributing this separately when all of your commits have been submitted back to the project "https://github.com/freepbx/endpointman/issues?q=is:pr is:closed"

So is/are this different than what you provided to me? Seems like it if you are saying so. So why don't you submit your work back?


I was meaning to do so, but we had been in a 'rapid-release' cycle of fixing issues with the yealinkv70.tgz package to handle things in the office quickly. Now that it has fairly calmed down, I will. I wasn't sure if it was submitted or not, but wanted to make it available until that can be determined. Is there a way I can upload the tgz package instead of go into each file and update? I'd be more than happy to re-submit the code back in as I want to benefit everyone involved!
 

AndyInNYC

Active Member
Joined
May 23, 2013
Messages
772
Reaction score
124
Yealink has released their brand new (as of 9/15/14) firmware (version 73) as beta. No posting yet on what was fixed, added or changed.

Andrew
 

deano

Member
Joined
May 26, 2008
Messages
212
Reaction score
7
anyone try these scripts(specifically the parking list) with the new asterisk-GUI
 

JayG30

Member
Joined
Jan 30, 2014
Messages
64
Reaction score
5
I was skimming the new v73 release notes (they look pretty extensive). I noticed "hybrid key system". Anyone used this or can speak to what it accomplishes? Sounds pretty interesting for all those small businesses that came from a key system perhaps?
 

Addisonb

New Member
Joined
Oct 8, 2014
Messages
18
Reaction score
5
I was meaning to do so, but we had been in a 'rapid-release' cycle of fixing issues with the yealinkv70.tgz package to handle things in the office quickly. Now that it has fairly calmed down, I will. I wasn't sure if it was submitted or not, but wanted to make it available until that can be determined. Is there a way I can upload the tgz package instead of go into each file and update? I'd be more than happy to re-submit the code back in as I want to benefit everyone involved!

Hello pshaww I'm using your V70 templates for FreePBX and they are magnificent. Thank you for your hard work. Why aren't they included in the "available for download" section? I almost never found it.
I would like to add the line keys fields to the "specific" page for each device as every user has the need for different BLF and speed dial keys on their phone, and making a new template for every employee defeats the purpose of a template.
Can you point me in the right direction as to which files I should modify to make that happen? Obviously this thread isn't the best place for development help, where might that be? Best regards, Addison
 

rockeater

Member
Joined
May 22, 2013
Messages
30
Reaction score
16
The Yealink XML/php file for showing parked calls doesn't work on Asterisk 13. I fixed it in the attached file park13.zip. I also made a parkflex.zip with a file that works on both asterisk 11 and 13. I haven't tested on 12. The HUGE majority of code is based on the previous writer's work.
 

Attachments

  • park13.zip
    1.5 KB · Views: 26
  • parkflex.zip
    1.8 KB · Views: 18

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
New Incredible PBX logo attached... Installation instructions here.

CphI7_VWYAA2ibQ.jpg
 

Attachments

  • incrediblepbxyealink3.jpg
    incrediblepbxyealink3.jpg
    29.3 KB · Views: 12
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top