Yealink Forums
Changing Memo Key Label on a T28 via XML - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Configuration (/forumdisplay.php?fid=24)
+--- Thread: Changing Memo Key Label on a T28 via XML (/showthread.php?tid=293)



Changing Memo Key Label on a T28 via XML - it@me-spb.ru - 03-20-2013 09:17 PM

How do you change label on "memory13" key on a T28 via a pushed XML file?

I try to use this code

PHP Code:
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 $phone80$errno$errstr5);
if(
$fp)
{
fputs($fp$post.$xml);
flush();
fclose($fp);
}
}

$xml ="<YealinkIPPhoneConfiguration Beep=\"yes\" setType=\"config\">\n";
$xml .="<ConfigurationItem>\n";
$xml .="<Path>/yealink/config/vpPhone/vpPhone.ini</Path>\n";
$xml .="<Session>memory13</Session>\n";
$xml .="<Parameter>DKtype</Parameter>\n";
$xml .="<Value>13</Value>\n";
$xml .="</ConfigurationItem>\n";
$xml .="<ConfigurationItem>\n";
$xml .="<Path>/yealink/config/vpPhone/vpPhone.ini</Path>\n";
$xml .="<Session>memory13</Session>\n";
$xml .="<Parameter>Value</Parameter>\n";
$xml .="<Value>1401</Value>\n";
$xml .="</ConfigurationItem>\n";
$xml .="<ConfigurationItem>\n";
$xml .="<Path>/yealink/config/vpPhone/vpPhone.ini</Path>\n";
$xml .="<Session>memory13</Session>\n";
$xml .="<Parameter>Label</Parameter>\n";
$xml .="<Value>DAY</Value>\n";
$xml .="</ConfigurationItem>\n";
$xml .="</YealinkIPPhoneConfiguration>\n";

push2phone("ip","ip",$xml); 

it works, and show right parameters on web gui. But on the phone screen still old label value, and it changes only after reboot.

firmware 2.60.14.16 RUS


RE: Changing Memo Key Label on a T28 via XML - Yealink Support - 06-06-2013 03:25 PM

Hello,
You can upgrade to our latest firmware and try:
http://www.yealink.com/Upload/firmware/T2X/2.70.0.140.zip
Thanks.