login | register
Sun 12 of Oct, 2008 [14:39 UTC]

voip-info.org

Discuss [8] History

Polycom Microbrowser

Created by: admin,Last modification on Wed 07 of May, 2008 [23:13 UTC] by awysocki
The Polycom model 600, 601, and 650 phones have a feature called Microbrowser that allows browsing of simple XHTML web pages on the phone's LCD screen. In addition the microbrowser can also be used to display information on the phone's idle screen, however in this mode navigation is not possible.

There is very limited information about this feature in the Polycom documentation.

To use this feature, you set a starting URL in the configuration file that gets loaded when the phone boots, or you can set it using the phone's web configuration page. The option is called: Main Browser Home.

Hit the Services key on the phone to acces this URL.

The idle display can also be configured to access a URL, and automatically refresh on a periodic basis. The provisioning variables are mb.idleDisplay.home="(url)" and mb.idleDisplay.refresh="(seconds").

The following tags are the only tags known to be supported. Unknown (but properly formatted) tags are ignored by the microbrowser, tags should be lowercase

  html, head, title, body, img, b, u, a, br, hr, img, form, input

tables are not supported at all.

David Gomillion dgomillion at eyecarenow.com posted on the Asterisk Users Mailing List his experiences implementing a timeclock system using the Polycom Microbrowser.

Here are David's hints for using the Microbrowser

All HTML tags including single element tags must be closed as the browser is very strict on XHTML syntax.


The BR tag for instance should be written as <BR/>, <BR /> or even could be <BR></BR> but <BR> by itself is not valid in XHTML.

XHTML Syntax errors will cause the browser to return an error. No portion of the page will be rendered.

This will not work:
  <input type="text" name="myfield">
This will
  <input type="text" name="myfield" />

This will not work:
   <p>....<p>...
This will:
   <p>...</p><p>....</p>


Tags which are specifically not supported


The following are not supported:
  • <b>...</b>
  • <i>...</i>
  • <small>...</small>
  • <select>...</select>
  • <table>...</table> (And associated element tags)

Note: The SIP 2.2 firmware now supports a much wider selection of XHTML tags, including <table>, <select> and many others. Polycom has also published the Web Application Developer's Guide for the SoundPoint IP/SoundStation IP Family (pdf/36 pages) detailing what tags and attributes are supported in SIP 2.2.0.

Image support

  • Inline images are supported by the microbrowser. Only 1bpp and 4bpp windows byte order .bmp's seem to be supported. .GIF, .JPG, .PNG and other common web image formats do not work. Make sure to close the IMG tag (ex: <img src="image.bmp" height="20" width="40"/>)
  • If you don't include image dimensions in the IMG tag, the page will render but will take a much longer time to draw as it has to reformat the layout both before and after it loads EACH IMAGE on the page!
  • If you specify a width other than the width and height of the image it will be scaled to the dimensions you specify using a crude nearest neighbor algorithm. This is useful for drawing <hr> equivalents with a 1x1 pixel black bmp or aligning text with a 1x1 pixel white .bmp (which is invisible on the screen.)

Special character and international character support

  • Special characters used in HTML with a character code, &quot; for instance, are not supported by the microbrowser. For the purposes of it being a very strict XHTML parser, I suppose it throws the proper "Entity Not Defined" error, but using correct DTD's doesn't seem to make it work either. You should either avoid special characters entirely or simply use them in binary form and see if the phone will tolerate it. Further documentation would be required from Polycom in order to know for sure why this is the case.

Hints

  • Page titles are prominently displayed, so choose your titles appropiately.
  • Session management should be tested carefully, otherwise hitting the back key on the phone may re-submit old data.
  • It is possible to simulate tables or align text or images to columns in the microbrowser through the use of the old HTML trick of using invisible images to pad whitespace. However since the browser uses a proportional font you have to know the widths of each character in order to do accurately pad text. The width of each character in the microbrowser's font is provided here along with a short description of how to use the technique: Polycom Microbrowser Character Widths



Another person's experiences

anishp anishp is is at at win-ent dot dot com com
  • the polycom does not respect the maxlength or size variables for an input box
  • improper pages will cause the phone to reboot or lockup
  • input type of checkbox does not render
  • ! in text fields will apparently cause the phone to reboot on random.
  • <select name="stuff[]" multiple> does not work
  • nor does a drop down select
  • radio buttons do work, but when used in conjuction with PHP, some pretty funky stuff happens

cmaj found many of these bugs were fixed, making programming easier. Point your phone's microbrowser to: http://www.penguinpbx.com/phoneapps/polycom/index.html



Although specific technical information is not published by polycom, as a sidenote, the microbrowser running on the SoundPoint IP 650 renders pages much more quickly than on the 600/601, most likely due to the phone containing a more powerful CPU.


See Also


Comments

Comments Filter
222

333Release notes

by rreyes, Monday 19 of March, 2007 [16:56:25 UTC]
It looks like they have been doing some work on the microbrowser, finally.

You can dial using the microbrowser by using this line;

<a href="tel://6195551212">Phone Weather Forecast</a><br />

Some important notes from the release notes;

8452: Added microbrowser support to the SoundStation IP 4000
14759: Added microbrowser support to the SoundPoint IP 501 platform
14760: Added microbrowser support to the SoundPoint IP 430 platform
14733: Improved text entry efficiency in the microbrowser
7275: Microbrowser should auto-navigate to first selectable item
19425: Added microbrowser support for form input elements with checked =
“true” attribute


222

333Refresh from Services without pressing Refresh

by squale, Thursday 07 of December, 2006 [11:02:08 UTC]
Is it possible to refresh the microbrowser from Services without pressing Refresh button on a 601 or 500?
I tried the meta tag (<META http-equiv='Refresh'....) like the Idle Display but it didn't work.
Any Idea?

Thanks.


222

333Company Directory

by kenglish_sp, Wednesday 18 of October, 2006 [18:35:36 UTC]
Is it possible to have a link that will dial a number in the microbrowser? I'm trying to build a company directory. I can would rather use the micro-browser than the directory.xml because I can sort by departments and make the display nicer. If anyone has any info, please contact me.
222

333Unable to use microbrowser with IIS 6.0

by dannyb, Wednesday 12 of July, 2006 [21:52:48 UTC]
I am running sip version 1.6.3.0067 on a Polycom 600 and am unable to get the microbroser to work. The phone returns a 406 error.
I can see the file being requested and the subsequent 406 error in the IIS log files.
Any ideas on what permissions are needed in IIS or how to format the webpage file?
222

333Weather and news

by vinn, Tuesday 20 of June, 2006 [22:11:11 UTC]
We deployed some phones and I couldn't think of a good use for the microbrowser. So for fun I just hacked a quick shell script to display the weather and news from the local paper (via an RSS feed.) There's a sed bit in there because the RSS I download is malformed and corrupt so I need to massage it a bit. Your RSS feed probably needs different parsing. Oh - I realize this is pretty dumb parsing, but it works good enough for me and took all of a few minutes to hack together.

/bin/sh
DOWNLOADURL="http://www.summitdaily.com/apps/pbcs.dll/section?Category=rss02&mime=xml"
wget -O /tmp/news.rss ${DOWNLOADURL}
wget -O /tmp/weather.txt ftp://weather.noaa.gov/data/forecasts/city/co/leadville.txt
echo "<html>" > /var/www/html/dvmnews.html
cat /tmp/weather.txt | head -6 | tail -1 >> /var/www/html/dvmnews.html
cat /tmp/news.rss | grep title | head -6 | tail -5 | sed -e 's/<title><!\[CDATA\ sed -e 's/\\]><\/title>/<\/br>/g' >>
/var/www/html/dvmnews.html

echo "</html>" >> /var/www/html/dvmnews.html
rm /tmp/news.rss /tmp/weather.txt

222

333

by gandhijee, Friday 12 of May, 2006 [21:04:10 UTC]
anyone do any stuff with PHP on this phone? i am and it seems that in forms it request the page twice after being submitted.
also i have problems w/ random reboots, any ideas anyone? i emailed david, but he doesn'tseem to want to reply to me.

222

333

by bani, Thursday 09 of March, 2006 [07:13:07 UTC]
501 has no microbrowser support.
222

333501?

by dstroot, Saturday 18 of February, 2006 [19:25:53 UTC]
I have a 501 and the phone seems to have it but I can't get it to work for the life of me...