OT - Snom Minibrowser help needed

Good evening community,

I do like these phones but their documentation really is the pits.

I’m trying to invoke the minibrowser to display the video from my fixed CCTV for the door intercom.

I understand the Snom principles and can display video on the phone home screen using the function keys with an ActionURL of:
http://192.168.2.251/live/2/mjpeg.jpg#mjpg
Which does display the camera feed.

I also tried using the same stream request in the Directory entry ActionURL for the door intercom (Ext 3001). The idea being that when 3001 rings the phone, it would display the video and when the phone is back on hook I issue #mjpg_stop to turn off the stream. This does not work because once the phone rings, focus moves away from the home screen so it’s not visible. It also shows a completely blank screen when the extension is ringing. (No caller info)

So apparently the trick is to invoke the minibrowser.
I’ve set up a test function key (P3) with the following ActionURL:
http://192.168.1.254:80/video.xml - this is my webserver, also tried without :80

Here is the video.xml . on the server:


Apologies it’s an image but trying to paste xml to this site re-formats the text.
This is pretty much a copy/paste from Snom’s Wiki example.

When I run the ActionURL, I get the following errors in the Snom log:

May 10 17:26:50 [NOTICE] PHN: Fetching URL: http://192.168.1.254:80/video.xml?.
May 10 17:26:50 [INFO ] PHN: Xpath applies: /SnomIPPhoneBatch/
May 10 17:26:50 [INFO ] PHN: Xpath contains unrecognized steps, aborting
May 10 17:26:50 [NOTICE] PHN: Fetching URL: http://192.168.2.251:80/live/2/mjpeg.jpg?.
May 10 17:26:50 [INFO ] GUI: synth_silent: connected lines: 0 of 0 state: Minibrowser
May 10 17:26:51 [NOTICE] PHN: Fetching URL: http://192.168.1.254:80/video.xml?.
May 10 17:26:51 [INFO ] PHN: Xpath applies: /SnomIPPhoneBatch/
May 10 17:26:51 [INFO ] PHN: Xpath contains unrecognized steps, aborting
May 10 17:26:51 [NOTICE] PHN: Fetching URL: http://192.168.2.251:80/live/2/mjpeg.jpg?.
May 10 17:26:51 [NOTICE] PHN: Fetching URL: http://192.168.1.254:80/video.xml?.
May 10 17:26:51 [INFO ] PHN: Xpath applies: /SnomIPPhoneBatch/
May 10 17:26:51 [INFO ] PHN: Xpath contains unrecognized steps, aborting
May 10 17:26:51 [NOTICE] PHN: Fetching URL: http://192.168.2.251:80/live/2/mjpeg.jpg?.
May 10 17:26:55 [NOTICE] PHN: Fetching URL: http://192.168.1.254:80/video.xml?.
May 10 17:26:55 [NOTICE] PHN: TPL: Socket 961 idle/connect timeout
May 10 17:26:56 [INFO ] PHN: Xpath applies: /SnomIPPhoneBatch/
May 10 17:26:56 [INFO ] PHN: Xpath contains unrecognized steps, aborting
May 10 17:26:56 [NOTICE] PHN: Fetching URL: http://192.168.2.251:80/live/2/mjpeg.jpg?.

No video is shown, the labels for the softkeys disappear until I kill the command with the Esc button.
Can anyone see why this is not working?
Also the phone gets very sluggish if I leave this running.

Once I get this working I can move the ActionURL back into the the Directory Ext 3001 ActionURL field.
Hopefully it will then trigger the minibrowser when 3001 rings in.

Cheers
-s

My apologies, I just realised that I should have marked the subject OT.
Done, now I figured out how.
Cheers
-s

OK I figured this out, I was requesting the MJPEG stream. The Snom 821 does not support this.
I have to request the static JPG from the camera on the URL line of the XML.
Then refresh using the fetch mil=200 statement.

One again I apologise for the OT content. The only reason I posted on here is that forum.snom.com is no longer accepting new registrations>>
“Oops! Something went wrong!
The administrator is currently not accepting new membership registrations.”

Doesn’t inspire much confidence.

So just in case anyone wants to use a Snom with video intercom - Don’t bother.

Really more trouble than they are worth. It’s impossible to get proper mjpg on the mini browser.
Their method of fetching static images is simply too slow to be of any real use.
I’ve had a play with setting the refresh interval (fetch mil=xxx) but the frame rate is too slow no matter what I do.

Also because the way the xml file is called by itself to create a loop, it causes all sorts of problems with the phone. For instance I’m using DTMF ‘#1’ to open the doors. Because the XML is looping this can cause the DTMF to be missed. So you may get the DTMF ‘#’ go through but it’ll miss the DTMF ‘1’.
If you keep hitting ‘#1’ sometimes you get lucky and it will go through. Also could not get the Title set either. (I know how to set that from XML & even interactive menus - just won’t work once loops are involved)

This really is quite frustrating because the ActionURL I originally used at the beginning of this post actually shows MJPG video and its quick and works. Just not in the mini browser.

Also it’s pretty much impossible to do any ‘useful’ XML programming while this loop is running.
For instance I wanted the Soft context keys at the bottom of the screen to operate [Open] & [Hangup].
I struggled for a morning not getting this working. Only got as far as displaying the text at the bottom of the screen.

So I’m going to look at other phones over the next few weeks.
Possibly go for Polycom VVX-xxx but need to fully research before I commit.

-s

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.