[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple provisioning servers
Author Message
Integra Business Solutions Inc. Offline
Junior Member
**

Posts: 3
Joined: Sep 2018
Reputation: 0
Post: #1
Multiple provisioning servers
The auto-provisioning options do not seem to allow provisioning from multiple sources.
We are using 3cx and it is the default provisioning server.
Want to send a custom config file to all the phones with parameters that are not available for modification with the 3cx.
10-01-2018 09:36 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
johnkiniston Offline
Junior Member
**

Posts: 24
Joined: Apr 2013
Reputation: 1
Post: #2
RE: Multiple provisioning servers
I would recommend setting your custom server as the autoprovision url in the phone and on your custom server use the .boot file to include the URL for your 3cx server as part of the phones configuration.

That should chain the requests from the phone.
10-02-2018 05:44 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Integra Business Solutions Inc. Offline
Junior Member
**

Posts: 3
Joined: Sep 2018
Reputation: 0
Post: #3
RE: Multiple provisioning servers
(10-02-2018 05:44 PM)johnkiniston Wrote:  I would recommend setting your custom server as the autoprovision url in the phone and on your custom server use the .boot file to include the URL for your 3cx server as part of the phones configuration.

That should chain the requests from the phone.

Interesting idea. Not sure yet how to incorporate the .boot file into it but I will do some reading. Glad you think its possible.
10-03-2018 06:24 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
johnkiniston Offline
Junior Member
**

Posts: 24
Joined: Apr 2013
Reputation: 1
Post: #4
RE: Multiple provisioning servers
By default the phones should look for a y0000000000.boot file and then a <MAC>.boot file

The file should have content like this:

#!version:1.0.0.1
## The header above must appear as-is in the first line

include:config "yealink-general.cfg"

overwrite_mode = 1

You can have multiple include lines, and the include lines can reference other hosts by putting the full URL in them.

It should all be documented in the provisioning guide.
10-03-2018 07:33 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Integra Business Solutions Inc. Offline
Junior Member
**

Posts: 3
Joined: Sep 2018
Reputation: 0
Post: #5
RE: Multiple provisioning servers
So I have chosen a new approach to configuring the Yealink phone.
I am using the 3cx standard config and then pushing an xml (via php) to the phone.
But I am getting hung up on double quotes in php.
dialnowrule="1xxx" is an example of a 4 digit dial now application.
But I get an error in Xampp if I leave the double quotes in place.
Any ideas?
<?php
#
function push2phone($server,$phone,$data)
{
$xml = "xml=".$data;
$post = "POST / HTTP/1.1\r\n";
$post .= "Host: $phone\r\n";
$post .= "Referer: $server\r\n";
$post .= "Connection: Keep-Alive\r\n";
$post .= "Content-Type: text/xml\r\n";
$post .= "Content-Length: ".strlen($xml)."\r\n\r\n";
$fp = @fsockopen ( $phone, 80, $errno, $errstr, 5);
if($fp)
{
fputs($fp, $post.$xml);
flush();
fclose($fp);
}
}
##############################
$xml = "<YealinkIPPhoneConfiguration Beep=\"yes\">\n";
$xml .= "<Item>features.blf_led_mode = 1</Item>\n";
$xml .= "<Item>DialNowRule="1xxx" LineID="1"</Item>\n";
$xml .= "</YealinkIPPhoneConfiguration>\n";
push2phone("192.168.55.104","192.168.55.115",$xml);
?>

$xml .= "<Item>dialplan.dialnow.rule.1 = 1xxx </Item>\n";

Nevermind, it was just a syntax issue, quotes were not required.
(This post was last modified: 10-26-2018 07:32 PM by Integra Business Solutions Inc..)
10-26-2018 06:49 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How to disable Voicemail from .cfg in auto provisioning file? boniakowski 2 1,451 09-19-2023 12:03 AM
Last Post: boniakowski
  account.X provisioning vieri 7 4,981 02-10-2023 07:02 PM
Last Post: vieri
  T46U Not Contacting Provisioning Server 88fingerslukee 0 2,151 09-06-2022 11:43 PM
Last Post: 88fingerslukee
  Need help auto provisioning a phone with Nextiva service. LittleDogTech 3 4,937 08-30-2022 06:28 PM
Last Post: complex1
Question "Trusted Certificates" and auto provisioning jobst 3 6,143 06-15-2022 11:00 AM
Last Post: dbonnell
  T46G RingCentral Provisioning jszima 0 3,685 03-07-2022 10:24 AM
Last Post: jszima
  Setting of lang.gui via remote provisioning cloudaware 1 4,424 10-26-2021 07:11 PM
Last Post: cloudaware
  zero touch provisioning & firewall gareth20202 2 7,175 10-09-2021 04:55 PM
Last Post: Phil2021
  Step by Step for Auto Provisioning nguyenp 2 9,789 08-06-2021 04:27 PM
Last Post: Phil2021
  disable provisioning on T26P yeaphild 0 4,577 02-25-2021 07:25 PM
Last Post: yeaphild

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication