05-26-2014, 10:40 PM
Yealink SIP T-28P
Firmware Version 2.72.0.30
Hardware Version 1.0.0.39
I have gone through Yealink document "XML Browser Developer’s Guide for Yealink IP Phones" and followed the details carefully. My Phone's IP is 10.0.8.196 whereas my server is having 10.0.8.6. I am trying to pass username & password from Yealink IP Phone to my server via an XML App. Here is my XML:
*******************************************************************
<?xml version="1.0"?>
<YealinkIPPhoneInputScreen type="string" Timeout="15" editable="yes">
<Title wrap="yes">Login</Title>
<Prompt>Login Details:</Prompt>
<URL>http://{{Host}}/xml/en/Yealink/big/menu.xml</URL>
<InputField type="number" editable="yes">
<Prompt>Extension:</Prompt>
<!-- <URL>http://{{Host}}/xml/en/Yealink/big/menu.xml</URL> -->
<Parameter>user</Parameter>
</InputField>
<InputField password="yes" type="string" editable="yes">
<Prompt>Pin:</Prompt>
<!-- <URL>http://{{Host}}/xml/en/Yealink/big/menu.xml</URL> -->
<Parameter>pass</Parameter>
</InputField>
</YealinkIPPhoneInputScreen>
*******************************************************************
The problem is that the phone is sending empty parameters to the server. Here's the sniffing captures I am receiving at server end (can share full packet analysis as well:
*******************************************************************
9160.367244 10.0.8.196 -> 10.0.8.6 HTTP GET /xml/en/Yealink/big/menu.xml HTTP/1.1
9160.367493 10.0.8.6 -> 10.0.8.196 HTTP/XML HTTP/1.1 200 OK
9166.499139 10.0.8.196 -> 10.0.8.6 HTTP GET /xml/en/Yealink/big/menu.xml?user=&pass= HTTP/1.1
9166.499341 10.0.8.6 -> 10.0.8.196 HTTP/XML HTTP/1.1 200 OK
*******************************************************************
Same XML is working when I try to use it for Yealink SIP T38G with:
Firmware Version 38.70.23.9
Hardware Version 21.2.3.32.0.0.0
Is it a Bug from Yealink?????????
Firmware Version 2.72.0.30
Hardware Version 1.0.0.39
I have gone through Yealink document "XML Browser Developer’s Guide for Yealink IP Phones" and followed the details carefully. My Phone's IP is 10.0.8.196 whereas my server is having 10.0.8.6. I am trying to pass username & password from Yealink IP Phone to my server via an XML App. Here is my XML:
*******************************************************************
<?xml version="1.0"?>
<YealinkIPPhoneInputScreen type="string" Timeout="15" editable="yes">
<Title wrap="yes">Login</Title>
<Prompt>Login Details:</Prompt>
<URL>http://{{Host}}/xml/en/Yealink/big/menu.xml</URL>
<InputField type="number" editable="yes">
<Prompt>Extension:</Prompt>
<!-- <URL>http://{{Host}}/xml/en/Yealink/big/menu.xml</URL> -->
<Parameter>user</Parameter>
</InputField>
<InputField password="yes" type="string" editable="yes">
<Prompt>Pin:</Prompt>
<!-- <URL>http://{{Host}}/xml/en/Yealink/big/menu.xml</URL> -->
<Parameter>pass</Parameter>
</InputField>
</YealinkIPPhoneInputScreen>
*******************************************************************
The problem is that the phone is sending empty parameters to the server. Here's the sniffing captures I am receiving at server end (can share full packet analysis as well:
*******************************************************************
9160.367244 10.0.8.196 -> 10.0.8.6 HTTP GET /xml/en/Yealink/big/menu.xml HTTP/1.1
9160.367493 10.0.8.6 -> 10.0.8.196 HTTP/XML HTTP/1.1 200 OK
9166.499139 10.0.8.196 -> 10.0.8.6 HTTP GET /xml/en/Yealink/big/menu.xml?user=&pass= HTTP/1.1
9166.499341 10.0.8.6 -> 10.0.8.196 HTTP/XML HTTP/1.1 200 OK
*******************************************************************
Same XML is working when I try to use it for Yealink SIP T38G with:
Firmware Version 38.70.23.9
Hardware Version 21.2.3.32.0.0.0
Is it a Bug from Yealink?????????