New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344

Yealink Test Club has been officially launched. Please visit post below to get detail information. Come and join us!
http://forum.yealink.com/forum/announcements.php?aid=18

We just had the YMCS online and we are also working on the features plan on the future versions, in this regard we are need to hear your voice about the YMCS.
Please visit : http://forum.yealink.com/forum/showthread.php?tid=42322


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Xml Browser using Google Firebase
Author Message
Sztaho Offline
Junior Member
**

Posts: 4
Joined: Jul 2017
Reputation: 0
Post: #1
Xml Browser using Google Firebase
Dear All,
I am having difficulties with Google Firebase and XML browser function (on Yealink T19 E2). I am trying to download an XML application using XML browser from a Google Firebase function, however it always says "Load error". And in the log file, there is a download error (-3 error code). Using the same XML structure on a custom web server, it works.

Firebase link: https://us-central1-voipxml.cloudfunctio...iveVoipXml

The response from the server:
xml=<?xml version="1.0" encoding="UTF-8"?>
<YealinkIPPhoneTextMenu destroyOnExit="yes" Beep="yes" doneAction="Dial:062011122233" Timeout="10" LockIn="no">
<Title wrap="yes">Hívás</Title>
<MenuItem>
<Prompt>CRM hívás</Prompt>
<Dial>062011122233</Dial>
</MenuItem>
<SoftKey index="1">
<Label>Vissza</Label>
<URI>SoftKey:Exit</URI>
</SoftKey>
<SoftKey index="2">
<Label>Hívás</Label>
<URI>SoftKey:Send</URI>
</SoftKey>
</YealinkIPPhoneTextMenu>

The HTTP response is correct. Using a custom web server (IIS), with the same response, it works.

Anyone having trouble with Google Firebase?

thanks,
David
07-12-2017 02:02 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Karl_Yealink Offline
Super Moderator
******

Posts: 673
Joined: Apr 2015
Reputation: 3
Post: #2
RE: Xml Browser using Google Firebase
Hi David,

Can you help us to get the trace files, so we can check more.
You will know the method via this FAQ: http://support.yealink.com/faq/faqInfo?id=313
07-13-2017 08:30 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Sztaho Offline
Junior Member
**

Posts: 4
Joined: Jul 2017
Reputation: 0
Post: #3
RE: Xml Browser using Google Firebase
Hi Karl,

sure. I attach the exported log files after the error reproduction and I quote part of it where the problem seems to be.

Jul 10 16:31:17 Log [603]: DSSK<6+info > dsskey_onclick!
Jul 10 16:31:17 Log [603]: XMLB<6+info > GetFileName(/tmp/XmlBrowserFile9.xml)
Jul 10 16:31:17 Log [603]: XMLB<6+info > Download Filename is [1][/tmp/XmlBrowserFile9.xml][https://us-central1-voipxml.cloudfunctions.net/retreiveVoipXml]
Jul 10 16:31:17 Log [603]: TASK<6+info > TaskAction_ExecAction 0x2b6aa0
Jul 10 16:31:17 Log [603]: TASK<6+info > post action [0x2b6aa0] to excute
Jul 10 16:31:17 Log [603]: TASK<6+info > TryThreadMessage taskaction is 0x2b6aa0
Jul 10 16:31:17 Log [603]: TASK<6+info > HttpsDownload
Jul 10 16:31:17 Log [603]: TASK<6+info > ssl_trust[0]
Jul 10 16:31:17 Log [603]: UIMG<6+info > CMainWnd::UpdateWnd() begin draw
Jul 10 16:31:17 Log [603]: IDUI<6+info > Show :: UpdateData(IRT_ALL).
Jul 10 16:31:17 Log [603]: IDUI<6+info > UpdateData :: UpdateData iRangeMask(255).
Jul 10 16:31:17 Log [603]: IDUI<6+info > UpdateSoftkey. eState(0).
Jul 10 16:31:17 Log [603]: IDUI<6+info > StateItem.m_nId(0). StateItem.m_strHint(), strNotifyText(), strNotifyIcon().
Jul 10 16:31:17 Log [603]: IDUI<6+info > strFlashIcon(). bFlashText(0), bFlashIcon(0).
Jul 10 16:31:17 Log [603]: IDUI<6+info > PHONE_KEY_HEADSET_CTRL strLineIcon(registed_small.dob) eLineState(2).
Jul 10 16:31:17 Log [603]: IDUI<6+info > Update m_pIconList. ylVecStatusList size(0).
Jul 10 16:31:17 Log [603]: UIMG<6+info > CMainWnd::UpdateWnd() after draw
Jul 10 16:31:17 Log [603]: SCRN<6+info > DEV_MSG_KEY_RELEASED
Jul 10 16:31:17 Log [603]: TASK<6+info > dl_http_recv_to_file: return -3, code_msg : Connect Failed
Jul 10 16:31:17 Log [603]: TASK<6+info > download Fail


thank You,
David


Attached File(s)
.txt  log_part.txt (Size: 1.62 KB / Downloads: 2)
.tar  allconfig.tar (Size: 1,021.5 KB / Downloads: 2)
07-14-2017 12:18 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Karl_Yealink Offline
Super Moderator
******

Posts: 673
Joined: Apr 2015
Reputation: 3
Post: #4
RE: Xml Browser using Google Firebase
(07-14-2017 12:18 PM)Sztaho Wrote:  Hi Karl,

sure. I attach the exported log files after the error reproduction and I quote part of it where the problem seems to be.

Jul 10 16:31:17 Log [603]: DSSK<6+info > dsskey_onclick!
Jul 10 16:31:17 Log [603]: XMLB<6+info > GetFileName(/tmp/XmlBrowserFile9.xml)
Jul 10 16:31:17 Log [603]: XMLB<6+info > Download Filename is [1][/tmp/XmlBrowserFile9.xml][https://us-central1-voipxml.cloudfunctions.net/retreiveVoipXml]
Jul 10 16:31:17 Log [603]: TASK<6+info > TaskAction_ExecAction 0x2b6aa0
Jul 10 16:31:17 Log [603]: TASK<6+info > post action [0x2b6aa0] to excute
Jul 10 16:31:17 Log [603]: TASK<6+info > TryThreadMessage taskaction is 0x2b6aa0
Jul 10 16:31:17 Log [603]: TASK<6+info > HttpsDownload
Jul 10 16:31:17 Log [603]: TASK<6+info > ssl_trust[0]
Jul 10 16:31:17 Log [603]: UIMG<6+info > CMainWnd::UpdateWnd() begin draw
Jul 10 16:31:17 Log [603]: IDUI<6+info > Show :: UpdateData(IRT_ALL).
Jul 10 16:31:17 Log [603]: IDUI<6+info > UpdateData :: UpdateData iRangeMask(255).
Jul 10 16:31:17 Log [603]: IDUI<6+info > UpdateSoftkey. eState(0).
Jul 10 16:31:17 Log [603]: IDUI<6+info > StateItem.m_nId(0). StateItem.m_strHint(), strNotifyText(), strNotifyIcon().
Jul 10 16:31:17 Log [603]: IDUI<6+info > strFlashIcon(). bFlashText(0), bFlashIcon(0).
Jul 10 16:31:17 Log [603]: IDUI<6+info > PHONE_KEY_HEADSET_CTRL strLineIcon(registed_small.dob) eLineState(2).
Jul 10 16:31:17 Log [603]: IDUI<6+info > Update m_pIconList. ylVecStatusList size(0).
Jul 10 16:31:17 Log [603]: UIMG<6+info > CMainWnd::UpdateWnd() after draw
Jul 10 16:31:17 Log [603]: SCRN<6+info > DEV_MSG_KEY_RELEASED
Jul 10 16:31:17 Log [603]: TASK<6+info > dl_http_recv_to_file: return -3, code_msg : Connect Failed
Jul 10 16:31:17 Log [603]: TASK<6+info > download Fail


thank You,
David
Hi David,

I check the PCAP file, I saw the phone send Client hello to server for building up TLS connection, but the server never feedback, it cause connect fail.
Can you check why? And maybe you can using HTTP to try?
07-17-2017 05:07 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Sztaho Offline
Junior Member
**

Posts: 4
Joined: Jul 2017
Reputation: 0
Post: #5
RE: Xml Browser using Google Firebase
(07-17-2017 05:07 PM)Karl Wrote:  
(07-14-2017 12:18 PM)Sztaho Wrote:  Hi Karl,

sure. I attach the exported log files after the error reproduction and I quote part of it where the problem seems to be.

Jul 10 16:31:17 Log [603]: DSSK<6+info > dsskey_onclick!
Jul 10 16:31:17 Log [603]: XMLB<6+info > GetFileName(/tmp/XmlBrowserFile9.xml)
Jul 10 16:31:17 Log [603]: XMLB<6+info > Download Filename is [1][/tmp/XmlBrowserFile9.xml][https://us-central1-voipxml.cloudfunctions.net/retreiveVoipXml]
Jul 10 16:31:17 Log [603]: TASK<6+info > TaskAction_ExecAction 0x2b6aa0
Jul 10 16:31:17 Log [603]: TASK<6+info > post action [0x2b6aa0] to excute
Jul 10 16:31:17 Log [603]: TASK<6+info > TryThreadMessage taskaction is 0x2b6aa0
Jul 10 16:31:17 Log [603]: TASK<6+info > HttpsDownload
Jul 10 16:31:17 Log [603]: TASK<6+info > ssl_trust[0]
Jul 10 16:31:17 Log [603]: UIMG<6+info > CMainWnd::UpdateWnd() begin draw
Jul 10 16:31:17 Log [603]: IDUI<6+info > Show :: UpdateData(IRT_ALL).
Jul 10 16:31:17 Log [603]: IDUI<6+info > UpdateData :: UpdateData iRangeMask(255).
Jul 10 16:31:17 Log [603]: IDUI<6+info > UpdateSoftkey. eState(0).
Jul 10 16:31:17 Log [603]: IDUI<6+info > StateItem.m_nId(0). StateItem.m_strHint(), strNotifyText(), strNotifyIcon().
Jul 10 16:31:17 Log [603]: IDUI<6+info > strFlashIcon(). bFlashText(0), bFlashIcon(0).
Jul 10 16:31:17 Log [603]: IDUI<6+info > PHONE_KEY_HEADSET_CTRL strLineIcon(registed_small.dob) eLineState(2).
Jul 10 16:31:17 Log [603]: IDUI<6+info > Update m_pIconList. ylVecStatusList size(0).
Jul 10 16:31:17 Log [603]: UIMG<6+info > CMainWnd::UpdateWnd() after draw
Jul 10 16:31:17 Log [603]: SCRN<6+info > DEV_MSG_KEY_RELEASED
Jul 10 16:31:17 Log [603]: TASK<6+info > dl_http_recv_to_file: return -3, code_msg : Connect Failed
Jul 10 16:31:17 Log [603]: TASK<6+info > download Fail


thank You,
David
Hi David,

I check the PCAP file, I saw the phone send Client hello to server for building up TLS connection, but the server never feedback, it cause connect fail.
Can you check why? And maybe you can using HTTP to try?


Hi Karl,
I have no influence on this part of the server, because it is a Google hosted Firebase server. I don't have any problem with other clients (browser, Fiddler, etc.) All works fine, except the Yealink phone.
Google allows only HTTPS.

thank you,
David
07-24-2017 07:25 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Karl_Yealink Offline
Super Moderator
******

Posts: 673
Joined: Apr 2015
Reputation: 3
Post: #6
RE: Xml Browser using Google Firebase
(07-24-2017 07:25 AM)Sztaho Wrote:  
(07-17-2017 05:07 PM)Karl Wrote:  
(07-14-2017 12:18 PM)Sztaho Wrote:  Hi Karl,

sure. I attach the exported log files after the error reproduction and I quote part of it where the problem seems to be.

Jul 10 16:31:17 Log [603]: DSSK<6+info > dsskey_onclick!
Jul 10 16:31:17 Log [603]: XMLB<6+info > GetFileName(/tmp/XmlBrowserFile9.xml)
Jul 10 16:31:17 Log [603]: XMLB<6+info > Download Filename is [1][/tmp/XmlBrowserFile9.xml][https://us-central1-voipxml.cloudfunctions.net/retreiveVoipXml]
Jul 10 16:31:17 Log [603]: TASK<6+info > TaskAction_ExecAction 0x2b6aa0
Jul 10 16:31:17 Log [603]: TASK<6+info > post action [0x2b6aa0] to excute
Jul 10 16:31:17 Log [603]: TASK<6+info > TryThreadMessage taskaction is 0x2b6aa0
Jul 10 16:31:17 Log [603]: TASK<6+info > HttpsDownload
Jul 10 16:31:17 Log [603]: TASK<6+info > ssl_trust[0]
Jul 10 16:31:17 Log [603]: UIMG<6+info > CMainWnd::UpdateWnd() begin draw
Jul 10 16:31:17 Log [603]: IDUI<6+info > Show :: UpdateData(IRT_ALL).
Jul 10 16:31:17 Log [603]: IDUI<6+info > UpdateData :: UpdateData iRangeMask(255).
Jul 10 16:31:17 Log [603]: IDUI<6+info > UpdateSoftkey. eState(0).
Jul 10 16:31:17 Log [603]: IDUI<6+info > StateItem.m_nId(0). StateItem.m_strHint(), strNotifyText(), strNotifyIcon().
Jul 10 16:31:17 Log [603]: IDUI<6+info > strFlashIcon(). bFlashText(0), bFlashIcon(0).
Jul 10 16:31:17 Log [603]: IDUI<6+info > PHONE_KEY_HEADSET_CTRL strLineIcon(registed_small.dob) eLineState(2).
Jul 10 16:31:17 Log [603]: IDUI<6+info > Update m_pIconList. ylVecStatusList size(0).
Jul 10 16:31:17 Log [603]: UIMG<6+info > CMainWnd::UpdateWnd() after draw
Jul 10 16:31:17 Log [603]: SCRN<6+info > DEV_MSG_KEY_RELEASED
Jul 10 16:31:17 Log [603]: TASK<6+info > dl_http_recv_to_file: return -3, code_msg : Connect Failed
Jul 10 16:31:17 Log [603]: TASK<6+info > download Fail


thank You,
David
Hi David,

I check the PCAP file, I saw the phone send Client hello to server for building up TLS connection, but the server never feedback, it cause connect fail.
Can you check why? And maybe you can using HTTP to try?


Hi Karl,
I have no influence on this part of the server, because it is a Google hosted Firebase server. I don't have any problem with other clients (browser, Fiddler, etc.) All works fine, except the Yealink phone.
Google allows only HTTPS.

thank you,
David
Hello David,

From current infomation, I can't confirm the cause.
But just suggest upgrading to latest firmware then do a test agian.
Link: http://ftp.yealink.com/?ShareToken=139CC...F0E293DA31

The link only has 30 available days.
If new firmwre still can't work, please help us to get trace files agin.
And how many phones in your side now?
(This post was last modified: 07-25-2017 06:40 AM by Karl_Yealink.)
07-25-2017 06:39 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Sztaho Offline
Junior Member
**

Posts: 4
Joined: Jul 2017
Reputation: 0
Post: #7
RE: Xml Browser using Google Firebase
(07-25-2017 06:39 AM)Karl Wrote:  
(07-24-2017 07:25 AM)Sztaho Wrote:  
(07-17-2017 05:07 PM)Karl Wrote:  
(07-14-2017 12:18 PM)Sztaho Wrote:  Hi Karl,

sure. I attach the exported log files after the error reproduction and I quote part of it where the problem seems to be.

Jul 10 16:31:17 Log [603]: DSSK<6+info > dsskey_onclick!
Jul 10 16:31:17 Log [603]: XMLB<6+info > GetFileName(/tmp/XmlBrowserFile9.xml)
Jul 10 16:31:17 Log [603]: XMLB<6+info > Download Filename is [1][/tmp/XmlBrowserFile9.xml][https://us-central1-voipxml.cloudfunctions.net/retreiveVoipXml]
Jul 10 16:31:17 Log [603]: TASK<6+info > TaskAction_ExecAction 0x2b6aa0
Jul 10 16:31:17 Log [603]: TASK<6+info > post action [0x2b6aa0] to excute
Jul 10 16:31:17 Log [603]: TASK<6+info > TryThreadMessage taskaction is 0x2b6aa0
Jul 10 16:31:17 Log [603]: TASK<6+info > HttpsDownload
Jul 10 16:31:17 Log [603]: TASK<6+info > ssl_trust[0]
Jul 10 16:31:17 Log [603]: UIMG<6+info > CMainWnd::UpdateWnd() begin draw
Jul 10 16:31:17 Log [603]: IDUI<6+info > Show :: UpdateData(IRT_ALL).
Jul 10 16:31:17 Log [603]: IDUI<6+info > UpdateData :: UpdateData iRangeMask(255).
Jul 10 16:31:17 Log [603]: IDUI<6+info > UpdateSoftkey. eState(0).
Jul 10 16:31:17 Log [603]: IDUI<6+info > StateItem.m_nId(0). StateItem.m_strHint(), strNotifyText(), strNotifyIcon().
Jul 10 16:31:17 Log [603]: IDUI<6+info > strFlashIcon(). bFlashText(0), bFlashIcon(0).
Jul 10 16:31:17 Log [603]: IDUI<6+info > PHONE_KEY_HEADSET_CTRL strLineIcon(registed_small.dob) eLineState(2).
Jul 10 16:31:17 Log [603]: IDUI<6+info > Update m_pIconList. ylVecStatusList size(0).
Jul 10 16:31:17 Log [603]: UIMG<6+info > CMainWnd::UpdateWnd() after draw
Jul 10 16:31:17 Log [603]: SCRN<6+info > DEV_MSG_KEY_RELEASED
Jul 10 16:31:17 Log [603]: TASK<6+info > dl_http_recv_to_file: return -3, code_msg : Connect Failed
Jul 10 16:31:17 Log [603]: TASK<6+info > download Fail


thank You,
David
Hi David,

I check the PCAP file, I saw the phone send Client hello to server for building up TLS connection, but the server never feedback, it cause connect fail.
Can you check why? And maybe you can using HTTP to try?


Hi Karl,
I have no influence on this part of the server, because it is a Google hosted Firebase server. I don't have any problem with other clients (browser, Fiddler, etc.) All works fine, except the Yealink phone.
Google allows only HTTPS.

thank you,
David
Hello David,

From current infomation, I can't confirm the cause.
But just suggest upgrading to latest firmware then do a test agian.
Link: http://ftp.yealink.com/?ShareToken=139CC...F0E293DA31

The link only has 30 available days.
If new firmwre still can't work, please help us to get trace files agin.
And how many phones in your side now?

Hi Karl,

I updated the firmware of the phone and now it works! Thank you for your help!
08-16-2017 10:16 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Softphone XML-Browser Support justingoldberg 6 400 08-15-2019 02:52 PM
Last Post: justingoldberg
  Click to dial from web browser h2g-vaka 4 1,269 03-15-2019 07:53 AM
Last Post: banderlog
  Placing outgoing calls from web browser or softphone. Shenmue232 0 820 05-27-2018 02:02 PM
Last Post: Shenmue232
  T20P BUG call through the browser Vasco 2 2,680 04-25-2017 10:57 AM
Last Post: Trythistwo
  XML Browser - ExecuteItem Dial: specify an account tsukraw 1 5,046 03-16-2017 09:50 PM
Last Post: sofnisys
  xml browser thermostat integration PhoneSystemsAndHomeAutomation 6 6,447 12-19-2016 11:02 AM
Last Post: Karl Patrick
  XML Web Browser KYPhones 2 2,582 02-20-2016 05:04 PM
Last Post: roxannegrodriguez
  t48g xml browser emulator PhoneSystemsAndHomeAutomation 2 5,171 09-16-2015 09:49 AM
Last Post: blackc2004
  T22 error after XML Browser AndyM 0 2,144 07-31-2015 09:49 PM
Last Post: AndyM
  creating a custom button layout on the t48g xml browser PhoneSystemsAndHomeAutomation 2 3,989 04-14-2015 10:54 PM
Last Post: cptjack

Forum Jump:


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

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