I try to dynamically display info during a call, but when I loop on YealinkIPPhoneFormattedTextScreen, the screen blink. How can i fix that ?
Or what I need use for update the screen in real time ?
video :
blink on FormattedTextScreen
Hi,
I had already try it, but it's the same thing.
Code:
for ($i=0;$i<10;$i++)
{
$j=str_pad($i, 2, '0', STR_PAD_LEFT);
$k=number_format(10-(0.5*$i),2);
$l=number_format((0.5*$i),2);
$xml='<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneFormattedTextScreen Beep = "no" Timeout = "5" LockIn = "no">
<Line Size="large" Align="center" Color="blue" >Allokang</Line>
<Scroll>
<Line Size="normal" Align="left" Color="black" >Time elapsed: 00:01:'.$j.'</Line>
</Scroll>
<Line Size="normal" Align="left" Color="blue">Spend: '.$k.' euros'."\n".'Remaining: '.$l.' euros</Line>
</YealinkIPPhoneFormattedTextScreen >';
push2phone("192.168.1.20","192.168.1.13",$xml);
sleep(1);
}
It's just a little php script, but I think I can't loop. What can I use for display data in real time during a call ?
ps : I'm on firmware 28.72.0.30
pss : I found how to stop the blink(LockIn = yes), but when i push2phone during a call, it display nothing.
Hi mqde,
Please go to webpage->Features->Remote control, disable Block XML In Calling.
It work perfectly, Thanks