xyj70 / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Yealink T38g needs Content-Length Header #339

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
default nginx install install isn't sending out Content-Length headers for 
provision/index.php - the Yealink T38 will not auto-provision without these.

I added:

header ("Content-Length: ".strlen($file_contents));

to provisioning's /index.php right before the echo of the file contents and 
that fixed it up. Not sure if this should be added here conditionally or added 
to the nginx config?

Original issue reported on code.google.com by robjcas...@gmail.com on 26 Oct 2012 at 3:44

GoogleCodeExporter commented 9 years ago
Added to revision 3201.

Original comment by markjcrane@gmail.com on 21 Nov 2012 at 7:17