[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
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: 5
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: 5
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: 5
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
  add meeting via google calendar volkantipi 0 3,215 08-21-2022 12:28 AM
Last Post: volkantipi
  MP50 use with Google Voice or Amazon AWS Connect greg@redawning.com 1 3,070 08-13-2022 06:09 AM
Last Post: greg@redawning.com
  Dialing T46U from web browser troy44 6 5,470 07-17-2022 01:18 AM
Last Post: troy44
  Click to dial from web browser h2g-vaka 7 15,832 06-10-2022 03:27 AM
Last Post: troy44
Bug T21P_E2 Google Contacts Sync not working anymore paolo.cresti 2 4,297 01-28-2022 11:43 PM
Last Post: paolo.cresti
  XLM Browser provision GNIL 0 3,054 03-25-2021 11:18 PM
Last Post: GNIL
  Softphone XML-Browser Support justingoldberg 6 18,717 08-15-2019 02:52 PM
Last Post: justingoldberg
  Placing outgoing calls from web browser or softphone. Shenmue232 0 4,168 05-27-2018 02:02 PM
Last Post: Shenmue232
  T20P BUG call through the browser Vasco 2 8,594 04-25-2017 10:57 AM
Last Post: Trythistwo
  XML Browser - ExecuteItem Dial: specify an account tsukraw 1 10,232 03-16-2017 09:50 PM
Last Post: sofnisys

Forum Jump:


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

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