Yealink Forums

Full Version: Changing Memo Key Label on a T28 via XML
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Hello,
You can upgrade to our latest firmware and try:
http://www.yealink.com/Upload/firmware/T....0.140.zip
Thanks.
Reference URL's