Yealink Forums
Redirection and Provisioning Server - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: General topics (/forumdisplay.php?fid=15)
+--- Thread: Redirection and Provisioning Server (/showthread.php?tid=2804)

Pages: 1 2


Redirection and Provisioning Server - sunstatetech - 11-19-2014 02:54 AM

We have been using the RPS to provision 3CX endpoints since it became available with no issues and love it. However we have started working with a new provider that does their provisioning via FTP and requires the phone to authenticate with a username/password during the provisioning process. We have no issues getting the phones to provision when we log into the phone and manually enter the URL, username, and password.

[Image: YQenbVl.png]

The problem is we'd like to provision these phone using the RPS, but the RPS doesn't allow for a username/password to be passed on to the phone, only the provisioning URL. How is this normally handled? This provider can't be the only one out there that requires provisioning authentication, can they?


RE: Redirection and Provisioning Server - Yealink_Peter - 11-19-2014 05:00 PM

Hi sunstatetech,

It’s normal for no place to input username/password at RPS. Maybe you set the wrong Provisioning URL at RPS.
Please input the URL like this format and check again: ftp://username:password@ServerIP/, for instance, ftp://admin:admin123@10.2.5.141/

Thanks.


RE: Redirection and Provisioning Server - sunstatetech - 11-20-2014 12:40 AM

(11-19-2014 05:00 PM)Yealink_Peter Wrote:  Hi sunstatetech,

It’s normal for no place to input username/password at RPS. Maybe you set the wrong Provisioning URL at RPS.
Please input the URL like this format and check again: ftp://username:password@ServerIP/, for instance, ftp://admin:admin123@10.2.5.141/

Thanks.

It didn't even cross my mind to format the URL with the credentials. I'll give that a try and report back with the results. Thanks.


RE: Redirection and Provisioning Server - sunstatetech - 11-20-2014 09:42 AM

Well, maybe I shouldn't have opened up my mouth about never having any issues with the RPS. I have been trying to test this for the last couple hours and have gotten no where. I can't get any phones to contact the RPS. Here is what I am testing with:

T19P (31.71.0.228 and 31.72.0.75)
T22P (7.71.0.224 and 7.72.0.80)
T42G (29.71.0.224 and 29.72.0.55)

All have been factory reset and rebooted MANY times. All show the exact same thing during bootup:

[Image: saZxwrV.png]

That capture was taken on the LAN interface of my firewall, but I see the exact same thing when I plug the phone and my laptop into a hub. You can see the phone get it's DHCP lease and successfully query it's NTP server (cn.pool.ntp.org which is factory), but that's it. I don't see it ever try contacting any outside resources (what is the protocol/address they contact anyways?). I also don't see any entries in the RPS log for any of the phones. When a phone successfully contacts the RPS you usually see this in the log:

[Image: ycVOUTn.png]

What am I missing here?


RE: Redirection and Provisioning Server - Yealink_Peter - 11-20-2014 06:56 PM

Hi sunstatetech,

It's the reason that all your provided firmwares are not for RPS, issue will gone if you update firmware to V73 or above.
For T22P & T42G, please download new version from http://forum.yealink.com/forum/announcements.php?aid=8
For T19P, please from ftp://yealinkftp:yealinkftp@ftp.yealink.com/RPS/T19/

Please note: All the firmwares that equal to V73 or above are suitable for RPS, otherwise, it chooses the particular firmware version while for RPS, such as the above download version for T19P.

Thanks.


RE: Redirection and Provisioning Server - sunstatetech - 11-20-2014 11:43 PM

(11-20-2014 06:56 PM)Yealink_Peter Wrote:  Hi sunstatetech,

It's the reason that all your provided firmwares are not for RPS, issue will gone if you update firmware to V73 or above.
For T22P & T42G, please download new version from http://forum.yealink.com/forum/announcements.php?aid=8
For T19P, please from ftp://yealinkftp:yealinkftp@ftp.yealink.com/RPS/T19/

Please note: All the firmwares that equal to V73 or above are suitable for RPS, otherwise, it chooses the particular firmware version while for RPS, such as the above download version for T19P.

Thanks.

I'm sorry, I don't understand. You are saying that RPS does not work with 71 and 72, only 73 and up? How have I have been using RPS with 71 and 72 for almost two years now? Why do they work with RPS out of the box from the factory with 72 but not if I flash it with 72 available from the Yealink website?


RE: Redirection and Provisioning Server - sunstatetech - 11-21-2014 03:03 AM

After loading the firmware you linked the phone is now able to provision with RPS via ftp://username:password@host.com. Thank you. Does that mean that going forward any phones I want to use with RPS I need to load with firmware from http://ftp.yealink.com/RPS and not from the Support page on yealink.com?

I am having an issue trying to use the http://username:password@host.com format though. If I manually enter http://username:password@host.com into the phone's Server URL box, it works great. However if I load http://username:password@host.com into the RPS for that phone, it does not work. I can see the phone checking in with RPS, but it does not provision. This format also works correctly with DHCP option 66.

[Image: Q8wgKXd.png]

So just to clarify:

1. Manually entering http://username:password@host.com into the phone's Server URL box works great.
2. http://username:password@host.com via DHCP option 66 works great.
3. http://username:password@host.com via RPS does not work.


RE: Redirection and Provisioning Server - Yealink_Peter - 11-21-2014 07:02 PM

Hi sunstatetech,

For your first one question, V73 or up versions are all applicable to RPS. If Yealink.com has not released V73 or up version, please download from the ftp link I mentioned above or ask your phone provider.

For the failed one provision with RPS, I'd like to know What is the firmware version and phone model ? Have you reset the phone ?

Thanks.


RE: Redirection and Provisioning Server - sunstatetech - 11-22-2014 01:21 AM

Quote:For your first one question, V73 or up versions are all applicable to RPS. If Yealink.com has not released V73 or up version, please download from the ftp link I mentioned above or ask your phone provider.

Ok, I just want to make sure I have this clear so I don't have any issues going forward. For RPS functionality in 71 and 72 I need to use the firmwares in ftp://ftp.yealink.com/RPS. But starting in v73 all firmwares will have RPS functionality, including the common firmware found in the support section on yealink.com?

Quote:For the failed one provision with RPS, I'd like to know What is the firmware version and phone model ? Have you reset the phone ?

I tested yesterday with 7.71.0.166 and 7.72.0.76, neither would do the http://username:password@host.com via RPS. I just tried 7.73.0.16 right now it it worked great. Thanks for the help.


RE: Redirection and Provisioning Server - ModCraig - 11-22-2014 02:30 AM

wow! the language barrier doesn't help much...