Solved Camera feed with action url from phonebook

Status
Not open for further replies.

Kellermeister

Customer
Basic Certified
Joined
Aug 14, 2018
Messages
18
Reaction score
2
I want to display a mpeg-stream from an 2N-IP-Verso on my snom D765.
I have defined function-key definitions: if there is "no call" I can toggle between the camera-feed and the backgroundlogo just fine.

If I have an incoming call from the Doorstation the functionkeys have no effect, they are delayed till the end of the call.

To make this happen I assume that I have to set an action url in the phonebook associated with the Door-station.
How can I do this? The phonebook is delivered from the 3cx in a very sparse populated version, the column action url is not available there.

Another user had the idea to add a second, manullay created phonebook, but his explanation was incomplete. How could I achieve this?
 
On the function keys are you connecting to the live video feed by a url ?

As these phones are not IP video phones and may not have the correct codec H264, H263 you may have to be clever on the phone settings to change to the live feed when a call comes in from the unit
 
Last edited:
On the function keys are you connecting to the live video feed by a url ?

As these phones are not IP video phones and may not have the correct codec H264, H263 you may have to be clever on the phone settings to change to the live feed when a call comes in from the unit
well, as I said, it's not a codec issue, the feed is beeing shown fine.
by the function key I am connected by an url, yes.
the issue stems from the incomplete phonebook delivered by the 3cx.
Inside the phonebook there should be a column named "action url", this would trigger the feed from the camera.
How can I modify the phonebook delivered by the 3cx?
 
Where you are getting the info that the phonebook should contain action url ? , as I looked at the 3CX contact fields and I can not see 'action url'

I believe the phonebook is fixed and can not be changed

Can you log onto the phone, and add a manual phone book entry to see if it has the field where you can enter the required info.
 
I found a workaround. bit I have no idea if this is the proper way to do it:
I copied the phonebook from the prov-directory into a file (making the phonebook a static file)
there I added the <action_url> tag
then I modifed the template redirecting the phonebook to my static phonebook-file.
this works, as soon as i connect with the door station I get the video feed.
caveat: if I change the ponebook (the directory) I have to redo this procedure.
I could write a script, but for my purpose (not many changes expected in the directory) I'm fine.

Sample of phonebook.xml:
<?xml version="1.0" encoding="utf-8"?>
<tbook complete="true">
<item context="active" type="colleagues">
<name>Door</name>
<number>50</number>
<action_url>http://10.0.100.74/enu/snom760-video.xml</action_url>
</item>
</tbook>

Hacked template:

<!--########################################################-->
<!--### Phonebook Settings ###-->
<!--########################################################-->

<!--# The "url" paramater of the "file" field specifies the filename which contains the Company Directory (3CXPS System-Wide Phonebook). The provisioning template sets this value to "%%PROVLINK%%/snom_phonebook.xml", which is path for the phonebook generated by 3CXPS in Snom compatible format.-->

<file url="%%PROVLINK%%/mynew_phonebook.xml"/>
 
  • Like
Reactions: Ludovic DJASE'O
Status
Not open for further replies.

Forum statistics

Threads
111,891
Messages
589,591
Members
164,758
Latest member
rmf