[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
Post Reply 


Messages In This Thread
t48G xml push does not work on new phones - freak - 04-17-2015 02:27 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  T48G/T49G on Ring Central? Gordon 2 9,284 12-27-2023 10:38 AM
Last Post: jseeley
  T48G Top row keypad buttons requiring too much pressure after time Chris708 4 9,824 11-16-2023 01:08 AM
Last Post: here4real
  T48G Connected handset not answering or ending call with connected handset. Pettis 4 2,327 07-27-2023 05:38 AM
Last Post: Lissvazquez
  Probem with Queues and ringing phones Saccara 0 1,097 11-30-2022 05:23 PM
Last Post: Saccara
  T42s VPN & local SIP Accounts noch work, only one of them mysterox 0 1,450 10-27-2022 04:54 PM
Last Post: mysterox
  Yealink T46S Forwarding does not work!! Müller 0 1,353 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,206 09-30-2022 03:23 AM
Last Post: knewgent
  T48G - TLS 1.2 Support for 3CX Futureweb 1 2,513 09-30-2022 12:55 AM
Last Post: complex1
  Phones crash using VM Impress1 1 2,675 03-29-2022 09:54 PM
Last Post: Yisroel_MongoTEL
  T41P/T48G/T58V IPv6 SIP Issues ReubenFarrelly 22 63,185 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