[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
t48G xml push does not work on new phones
Author Message
freak Offline
Junior Member
**

Posts: 19
Joined: May 2014
Reputation: 0
Post: #1
t48G xml push does not work on new phones
We have 8 T48G phones running. I periodically push xml to them and it works fine. I just bought 3 more and none of them will display the
xml that is pushed. I upgraded all the phones to the latest firmware
and reset to factory defaults but it did not fix the problem.

I wiresharked the push and the xml is sending and the phone sends an "OK" response back. It's just that the data never displays.

Below is a test script...

10.0.2.27 works - old phone
10.0.2.28 does not work - new phone (tried two different new phones)
10.0.2.29 works - old phone
Code:
<?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="<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n <YealinkIPPhoneStatus Beep = \"no\" SessionID=\"String\" Timeout = \"0\">\n";
$xml .="<Message Size=\"large\" Align=\"left\" Color=\"green\"  >" .date("F j, Y, g:i a") . "</Message>\n";
$xml .= "</YealinkIPPhoneStatus >\n";


push2phone("10.0.0.3","10.0.2.28",$xml);
push2phone("10.0.0.3","10.0.2.27",$xml);
push2phone("10.0.0.3","10.0.2.29",$xml);


?>
(This post was last modified: 04-17-2015 02:40 AM by freak.)
04-17-2015 02:27 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Flora_Yealink Offline
Senior Member
****

Posts: 265
Joined: Oct 2012
Reputation: 4
Post: #2
RE: t48G xml push does not work on new phones
Hi ,
I used T48 here with phone version 35.73.0.50, it can work well .
my phone IP is :10.15.5.58,my pc ( push xml server) is 10.2.5.165. please refer to my steps and let me know if any question .
1. Configure Push XML Server IP Address with the xml server Ip address 10.2.5.165 , you can refer to attached file.
2. The use your php file , changing the phone's IP and server's IP as mine.
3. Push the php file to my phone, it show like attached file.


<?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="<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n <YealinkIPPhoneStatus Beep = \"no\" SessionID=\"String\" Timeout = \"0\">\n";
$xml .="<Message Size=\"large\" Align=\"left\" Color=\"green\" >" .date("F j, Y, g:i a") . "</Message>\n";
$xml .= "</YealinkIPPhoneStatus >\n";


push2phone("10.2.5.165","10.15.5.58",$xml);
push2phone("10.0.0.3","10.0.2.27",$xml);
push2phone("10.0.0.3","10.0.2.29",$xml);


?>

In this case, would you please try again using the latest 35.73.0.50 version and reset the phone to factory default ?
If it still can't work , please share us config.bin file , level 6 syslog and pcap trace that we can sumit them to the R&D for check .
And you have three new phones, all can't work ,right ?
Best Regards!
Flora


Attached File(s) Thumbnail(s)
       

Flora
FAE (Field Application Engineer) Department
Yealink Network Technology Co., Ltd.
Website: http://www.yealink.com
(This post was last modified: 04-17-2015 04:58 AM by Flora_Yealink.)
04-17-2015 04:54 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
freak Offline
Junior Member
**

Posts: 19
Joined: May 2014
Reputation: 0
Post: #3
RE: t48G xml push does not work on new phones
Hmmm.... I don't think they are picking up the the mac.cfg file for some reason. I'm doing more testing.

What seems to be happening is that the phone is not reliably applying the settings from mac.cfg. Using wireshark I can see the file being read from the tftp server. The settings near the end of the file do not appear to apply correctly. The end of my mac.cfg files looked like this...

Code:
programablekey.4.line =
programablekey.4.value =
programablekey.4.label =
push_xml.server = 10.0.0.3

This never seemed to apply the "push_xml.server = 10.0.0.3" line. Then I added

Code:
programablekey.3.line =
programablekey.3.value =
programablekey.3.label =
programablekey.4.type =
programablekey.4.line =
programablekey.4.value =
programablekey.4.label =
push_xml.server = 10.0.0.3
features.power_led_on = 1

Then I got "push_xml.server = 10.0.0.3" to apply but "features.power_led_on = 1" didn't.

Next I changed to....
Code:
programablekey.3.line =
programablekey.3.value =
programablekey.3.label =
programablekey.4.type =
programablekey.4.line =
programablekey.4.value =
programablekey.4.label =
push_xml.server = 10.0.0.3
features.power_led_on = 1
phone_setting.active_backlight_level = 1

...and at that point "push_xml.server = 10.0.0.3" and "phone_setting.active_backlight_level = 1" applied but "features.power_led_on = 1" did not.

Then I reverted back to...

Code:
programablekey.3.line =
programablekey.3.value =
programablekey.3.label =
programablekey.4.type =
programablekey.4.line =
programablekey.4.value =
programablekey.4.label =
push_xml.server = 10.0.0.3

...and "push_xml.server = 10.0.0.3" server applied. So it really doesn't follow any logic as to what settings are applying and what settings are not but it does not appear to be always working correctly.
I can post the entire mac.cfg file and you can see what happens if you wish.
(This post was last modified: 04-17-2015 09:26 PM by freak.)
04-17-2015 08:31 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Flora_Yealink Offline
Senior Member
****

Posts: 265
Joined: Oct 2012
Reputation: 4
Post: #4
RE: t48G xml push does not work on new phones
Yes, pleaes send me the all provisioning files that I can test it in my side , you can send them to support@yealink.com if you don't want to upload it to the forum, you used the 35.73.0.50 right ? just want to sure I can use the same steps as yours to test .
Best Regards!
Flora
04-22-2015 04:35 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
freak Offline
Junior Member
**

Posts: 19
Joined: May 2014
Reputation: 0
Post: #5
RE: t48G xml push does not work on new phones
(04-22-2015 04:35 PM)Flora Wrote:  Yes, pleaes send me the all provisioning files that I can test it in my side , you can send them to support@yealink.com if you don't want to upload it to the forum, you used the 35.73.0.50 right ? just want to sure I can use the same steps as yours to test .
Best Regards!
Flora


mac.cfg file is attached

...and yes I used 35.73.0.50


Attached File(s)
.txt  t48g.txt (Size: 69.54 KB / Downloads: 7)
(This post was last modified: 04-22-2015 09:52 PM by freak.)
04-22-2015 09:52 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Flora_Yealink Offline
Senior Member
****

Posts: 265
Joined: Oct 2012
Reputation: 4
Post: #6
RE: t48G xml push does not work on new phones
Hi ,
I used your file to do auto provisioning, it work well, the push xml file are configured.
and I found features.power_led_on = and phone_setting.active_backlight_level = in the file is empty ,right ?

Best Regards!
04-29-2015 06:18 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
freak Offline
Junior Member
**

Posts: 19
Joined: May 2014
Reputation: 0
Post: #7
RE: t48G xml push does not work on new phones
(04-29-2015 06:18 AM)Flora Wrote:  Hi ,
I used your file to do auto provisioning, it work well, the push xml file are configured.
and I found features.power_led_on = and phone_setting.active_backlight_level = in the file is empty ,right ?

Best Regards!

Yes those two were empty.

Did you use tftp?
(This post was last modified: 04-29-2015 09:47 AM by freak.)
04-29-2015 09:47 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Flora_Yealink Offline
Senior Member
****

Posts: 265
Joined: Oct 2012
Reputation: 4
Post: #8
RE: t48G xml push does not work on new phones
not ,I use http ,I will try to use tftp but I don't think it will casue any difference.
I will test and let you know the result.

Flora
FAE (Field Application Engineer) Department
Yealink Network Technology Co., Ltd.
Website: http://www.yealink.com
05-01-2015 06:19 AM
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
  T48G/T49G on Ring Central? Gordon 2 9,424 12-27-2023 10:38 AM
Last Post: jseeley
  T48G Top row keypad buttons requiring too much pressure after time Chris708 4 9,983 11-16-2023 01:08 AM
Last Post: here4real
  T48G Connected handset not answering or ending call with connected handset. Pettis 4 2,526 07-27-2023 05:38 AM
Last Post: Lissvazquez
  Probem with Queues and ringing phones Saccara 0 1,157 11-30-2022 05:23 PM
Last Post: Saccara
  T42s VPN & local SIP Accounts noch work, only one of them mysterox 0 1,506 10-27-2022 04:54 PM
Last Post: mysterox
  Yealink T46S Forwarding does not work!! Müller 0 1,419 10-16-2022 03:38 AM
Last Post: Müller
  T48G + EHS36 +Janra engage 75 not hanging up call kris.hetherington@firstsource.com 1 5,285 09-30-2022 03:23 AM
Last Post: knewgent
  T48G - TLS 1.2 Support for 3CX Futureweb 1 2,613 09-30-2022 12:55 AM
Last Post: complex1
  Phones crash using VM Impress1 1 2,741 03-29-2022 09:54 PM
Last Post: Yisroel_MongoTEL
  T41P/T48G/T58V IPv6 SIP Issues ReubenFarrelly 22 63,736 08-01-2021 06:14 PM
Last Post: Phil2021

Forum Jump:


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

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