jlumby Posted June 26, 2008 Report Share Posted June 26, 2008 I was wondering if there was a folder I could put files into so that they would be accessible by all phones via HTTP. I am trying to make images available to phones. Currently I need to install IIS on an alternate port to do so. I need to leave PBXnSIP running on 80 for the few snom phones on my network since they will not get their info via https. I have tried putting my files in the html folder, however if I am not already logged in, it redirects to the login screen, and does not give the graphic. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted June 27, 2008 Report Share Posted June 27, 2008 I was wondering if there was a folder I could put files into so that they would be accessible by all phones via HTTP. I am trying to make images available to phones. Currently I need to install IIS on an alternate port to do so. I need to leave PBXnSIP running on 80 for the few snom phones on my network since they will not get their info via https. I have tried putting my files in the html folder, however if I am not already logged in, it redirects to the login screen, and does not give the graphic. You can put the files into the tftp directory. Then you can access them with http://<ip-adr>/tftp/filename. No need to run IIS for that. Quote Link to comment Share on other sites More sharing options...
jlumby Posted July 23, 2008 Author Report Share Posted July 23, 2008 This works without the authentication problem that I was having when using the HTML folder, however some phones send additional info in the url that causes your web server to return a 404 error. IIS ignores the additional info. The following is the get command from a packet capture. GET /services.xml?locale=English_United_States&name=SEP00070E16446E HTTP/1.1\r\n Is there any way to allow your built in web server to allow this, and ignore everything after the ? since I am not utilizing the different localles Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted July 24, 2008 Report Share Posted July 24, 2008 This works without the authentication problem that I was having when using the HTML folder, however some phones send additional info in the url that causes your web server to return a 404 error. IIS ignores the additional info. The following is the get command from a packet capture. GET /services.xml?locale=English_United_States&name=SEP00070E16446E HTTP/1.1\r\n Is there any way to allow your built in web server to allow this, and ignore everything after the ? since I am not utilizing the different localles I guess from the MAC address this is a Cisco phone... The filename never contains the parameters after the question mark, the PBX does that part right. But because there is no path in front of the "services.xml", the PBX thinks that this file is for the user-interface of the PBX, not the provisioning part. Usually there is a way to tell the phone from where to fetch the information. If you find any way to provision something like "/provisioning/services.xml?..." then life will be a lot easier. Quote Link to comment Share on other sites More sharing options...
jlumby Posted July 25, 2008 Author Report Share Posted July 25, 2008 In the phone's config file, I am actually specifying the complete URL which is http://pbxnsip ip address/tftp/services.xml I am not sure why it does not show the tftp in the packet capture. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted July 26, 2008 Report Share Posted July 26, 2008 In the phone's config file, I am actually specifying the complete URL which is http://pbxnsip ip address/tftp/services.xml I am not sure why it does not show the tftp in the packet capture. Last resort is wireshark... Quote Link to comment Share on other sites More sharing options...
jlumby Posted July 28, 2008 Author Report Share Posted July 28, 2008 Ok, to eliminate variables, and gain more insight than I would have on the phone's interface, I ran the same test from Internet explorer. When I enter the following: http://ip_of_Pbxnsip/tftp/services.xml It successfully returns the document to internet explorer. When I enter: http://ip_of_Pbxnsip/tftp/services.xml?loc...SEP00070E16446E It returns: File services.xml?locale=English_United_States&name=SEP00070E16446E not found Please ask your system administrator to check the log file. It is taking the ? and everything after as the file name. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted July 29, 2008 Report Share Posted July 29, 2008 Ok, to eliminate variables, and gain more insight than I would have on the phone's interface, I ran the same test from Internet explorer. When I enter the following: http://ip_of_Pbxnsip/tftp/services.xml It successfully returns the document to internet explorer. When I enter: http://ip_of_Pbxnsip/tftp/services.xml?loc...SEP00070E16446E It returns: File services.xml?locale=English_United_States&name=SEP00070E16446E not found Please ask your system administrator to check the log file. It is taking the ? and everything after as the file name. Eeeh, okay, that is probably really a bug in the PBX. It does include the stuff after the question mark when checking the file name. Will be corrected in 3.0.0.2989, http://www.pbxnsip.com/protect/pbxctrl-3.0.0.2989.exe. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.