Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Req: Mini version for a doorbell #56

Open
sjackson0109 opened this issue Nov 5, 2024 · 3 comments
Open

Req: Mini version for a doorbell #56

sjackson0109 opened this issue Nov 5, 2024 · 3 comments

Comments

@sjackson0109
Copy link

I've a Paxton Entry intercom panel, and i'm looking for a tidy little sip client to answer door calls, intending to run it logged directly into the panel as a sip-server.

@tomek-o
Copy link
Owner

tomek-o commented Nov 5, 2024

I think it should not be different from a configuration for a desk phone: https://www.paxton-access.com/wp-content/uploads/2019/09/Handleiding-SIP-configuratie-peer-to-peer-in-combinatie-met-een-Grandstream-VoIP-toestel.pdf.

There is no "logging in"/registration involved, this uses peer-to-peer calling. I don't know Paxton, but doorphones often allow to make few different simultaneous calls.

Entering computer (own address) as a SIP server in a softphone might be needed, depending on Paxton. With default configuration SIP "user" won't matter.

I did not have a video doorphone on my desk in a long time, so "video before answer" feature probably won't work. Setup with independent video over RTSP was tested recently, but I'm assuming this is a different case. Maybe it would work after using auto answer with SIP code = 183, but it was never tested. If it would work, audio would probably need to be configured to wave file source (ringback) as default with switching to microphone (script) on answer.

For a "mini" version - it might be something between https://tomeko.net/software/SIPclient/howto/rtp_streaming/ and https://tomeko.net/software/SIPclient/howto/mpv_doorphone/.
Most of the fixed GUI elements can be hidden in settings, buttons can be rearranged with one of them used as video canvas.
Call state display part can be either left as is or replaced by text on some button like in https://tomeko.net/software/SIPclient/howto/flat_GUI/.

@sjackson0109
Copy link
Author

sjackson0109 commented Nov 7, 2024 via email

@tomek-o
Copy link
Owner

tomek-o commented Nov 7, 2024

Have you looked on existing examples?
If RTSP is a valid option, then this one looks very similar:
doorphone_tray
(from http://tomeko.net/software/SIPclient/howto/mpv_doorphone/ -> http://tomeko.net/software/SIPclient/howto/mpv_doorphone/bin/mpv_doorphone_tray.7z).
It displays video in the tray notification window. Usually this window has pretty small size, here it is larger to match video resolution.

Configuration (numbers/URIs treated as doorphones, RTSP URL) is included in scripts/on_call_state_mpv_doorphone.lua file.

Additional buttons like DTMF opening the door can be added freely - there are ~200 configurable buttons that can assigned to button container, moved/resized (https://www.youtube.com/watch?v=BpfAK-QkZW0). They can be reskinned with bitmaps to change their look. More complex actions can be defined with scripting - answering, playing announcement with directions (floor/room numbers), sending DTMF to open the door and hanging up after single click.

What is missing at the moment is dynamic window resizing after answering the call (plus I guess button repositioning) - it might require adding one or two new Lua functions.

Main window could be left with default configuration or reduced to basically empty window with a menu.

Don't miss the libmpv-2.dll as it is not included in 7z file due to its size. https://github.com/tomek-o/tSIP-plugin-mpv/releases/download/v1.0/libmpv-2.7z has to be unpacked next to tSIP.exe, otherwise tSIP_mpv.dll plugin would fail to load.

You would have to test it for interoperability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants