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
Auto Provisioning and Chunked transfer encoding
Author Message
bearded Offline
Junior Member
**

Posts: 4
Joined: Oct 2013
Reputation: 0
Post: #1
Auto Provisioning and Chunked transfer encoding
Hello Yealink Community,

I'm trying to provision Yealink T26P from dynamically generated config file, which is sent from server as a chunked response.

Static config file can be fetched without problems:

Code:
autop[482]: http.c(1443): dns timeout:5
autop[482]: error.c(111): dns count:1,RetryTimes=2, Timeout=2
autop[482]: http.c(358): device mac:00:15:65:47:29:bf
autop[482]: http.c(704): UserAgent is yealink SIP-T26P 6.70.13.9 00:15:65:47:29:bf
autop[482]: http.c(3505): query header:#012GET /yealink/y000000000004.cfg HTTP/1.1#015#012Host: test.com#015#012User-Agent: yealink SIP-T26P 6.70.13.9 00:15:65:47:29:bf#015#012Accept: */*#015#012Connection: Keep-Alive#015#012#015
autop[482]: http.c(3542): ***send data***#012......
autop[482]: http.c(3650): recv header:#012HTTP/1.1 200 OK
autop[482]: http.c(2299): Server: nginx/0.7.65
autop[482]: http.c(2299): Date: Sun, 20 Oct 2013 10:21:36 GMT
autop[482]: http.c(2299): Content-Type: text/xml
autop[482]: http.c(2299): Content-Length: 361
autop[482]: http.c(2299): Last-Modified: Sat, 19 Oct 2013 20:19:26 GMT
autop[482]: http.c(2299): Connection: keep-alive
autop[482]: http.c(2299): Accept-Ranges: bytes
autop[482]: http.c(2299):
autop[482]: [./src/fileStream.cpp     :972 ] IFO Open URL OK

But phone cannot fetch dynamically generated file, and it not provide much information about why exactly it cannot be fetched:

Code:
autop[482]: http.c(358): device mac:00:15:65:47:29:bf
autop[482]: http.c(704): UserAgent is yealink SIP-T26P 6.70.13.9 00:15:65:47:29:bf
autop[482]: http.c(3505): query header:#012GET /yealink/sip-t26p/y000000000004.cfg HTTP/1.1#015#012Host: test.com#015#012User-Agent: yealink SIP-T26P 6.70.13.9 00:15:65:47:29:bf#015#012Accept: */*#015#012Connection: Keep-Alive#015
autop[482]: http.c(3542): ***send data***#012......
autop[482]: http.c(3650): recv header:#012HTTP/1.1 200 OK
autop[482]: http.c(2299): Server: nginx/0.7.65
autop[482]: http.c(2299): Date: Sun, 20 Oct 2013 10:16:47 GMT
autop[482]: http.c(2299): Content-Type: text/xml
autop[482]: http.c(2299): Transfer-Encoding: chunked
autop[482]: http.c(2299): Connection: keep-alive
autop[482]: http.c(2299): Status: 200 OK
autop[482]: http.c(2299): Accept-Ranges: bytes
autop[482]: http.c(2299): Last-Modified: Sun, 20 Oct 2013 10:16:47 GMT
autop[482]: http.c(2299): Content-Lenght: 361
autop[482]: http.c(2299): Content-Disposition: attachment
autop[482]: http.c(2299): Content-Transfer-Encoding: binary
autop[482]: http.c(2299): Cache-Control: private
autop[482]: http.c(2299): X-UA-Compatible: IE=Edge
autop[482]: http.c(2299): X-Request-Id: 6b5ee4db6fee7f30f82ef1f8a534c053
autop[482]: http.c(2299): X-Runtime: 0.045505
autop[482]: http.c(2299):
autop[482]: [./src/fileStream.cpp     :972 ] IFO Open URL Fail
autop[482]: [./src/autoParser.cpp     :621 ] IFO Failed connect to server ! Try [1] times ...
autop[482]: [./src/autoParser.cpp     :626 ] WAR Can't connect server !!

I think that Phone simply does not support Chunked transfer encoding.
Any chance that phone will support it in near future?
10-22-2013 06:08 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
Auto Provisioning and Chunked transfer encoding - bearded - 10-22-2013 06:08 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  T21P E2 attended transfer caller id name in history gralech 2 612 09-11-2019 05:20 AM
Last Post: Leonard9
  Auto provisioning seams to be (partly) broken in version 83 for T46G HaraldL 2 1,722 07-02-2019 03:04 PM
Last Post: Fraukas2
Lightbulb Auto provision firmware ... Yuriy Y. 1 986 04-26-2019 05:40 AM
Last Post: Yuriy Y.
  Provisioning Multiple Wallpapers BryanLee 1 1,085 04-24-2019 08:39 PM
Last Post: joew
  T23G won't donwload y000000000044.cfg from Provisioning Server rsardinha 3 1,081 04-12-2019 06:13 PM
Last Post: rsardinha
  T22P always auto restart jamess2007 2 1,071 03-13-2019 11:49 AM
Last Post: Langveldt
  Firewall Settings for Auto Provisioning ChristophWHAT 2 1,588 02-04-2019 12:47 PM
Last Post: ChristophWHAT
  Multiple provisioning servers Integra Business Solutions Inc. 4 1,890 10-26-2018 06:49 PM
Last Post: Integra Business Solutions Inc.
  Auto Provisioning Hangs Rus 1 1,319 10-17-2018 11:06 AM
Last Post: Rus
  Auto provisioning file names shane.caznet 1 1,601 10-12-2018 02:56 PM
Last Post: jolouis

Forum Jump:


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

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