Specifications
XML Browser Developer’s Guide for Yealink SIP-T4X IP Phones
48
fputs($fp, $post.$xml);
flush();
fclose($fp);
}
}
##############################
$xml = "<YealinkIPPhoneTextScreen Beep=\"yes\">\n";
$xml .= "<Title>Push test</Title>\n";
$xml .= "<Text>This is a test for pushing text to a phone.</Text>\n";
$xml .= "</YealinkIPPhoneTextScreen>\n";
#The above 4 lines prefixed with “$xml =” constructs a TextScreen object to be pushed to the
#phone.
#You can construct your own XML object using the same method.
push2phone("192.168.0.112","192.168.0.150",$xml);
?>