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