[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
Changing Memo Key Label on a T28 via XML
Author Message
it@me-spb.ru Offline
Junior Member
**

Posts: 1
Joined: Mar 2013
Reputation: 0
Post: #1
Changing Memo Key Label on a T28 via XML
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
03-20-2013 09:17 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


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

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  DSS button label sehiker 2 1,601 08-09-2018 07:19 AM
Last Post: sehiker
  Change label string Daniel Velasco 2 2,740 03-17-2016 12:30 AM
Last Post: Daniel Velasco
  Changing settings with script or command line riaan30 1 3,438 12-09-2014 10:48 PM
Last Post: jolouis
  Changing directory for transfering atlas_edgem 1 3,295 09-02-2014 07:09 PM
Last Post: Elaine_Yealink
  Change Exp39 label via XML Browser surik 1 3,418 08-26-2014 10:54 AM
Last Post: Wilson_Yealink
  Changing the Programable Key on a T32 via XML KingSimba 2 7,151 02-28-2013 11:54 PM
Last Post: KingSimba

Forum Jump:


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

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