This repository was archived by the owner on Nov 18, 2026. It is now read-only.
Repository navigation
feat(templates): Add Fanvil i6x video door phones - #406
Closed
edospadoni wants to merge 7 commits into
Closed
edospadoni wants to merge 7 commits into
edospadoni wants to merge 7 commits into
Conversation
Add the Fanvil i60/i60K, i61, i62, i63 and i64 video door phones (firmware 2.12.x) with a shared partial template: SIP account, RFC2833 DTMF, admin password, time, language, auto provisioning and the RTSP server credentials from the per-phone door_rtsp_user and door_rtsp_password variables. Settings without a confirmed provisioning key (remote door-open password, camera encoder) are left to the device. The models carry cap_door_phone plus the RTSP port, the recommended stream path and the door-open DTMF code, so a PBX can build a video source from a provisioned door phone. Tokenless provisioning strips the RTSP password and the door-open code like the other secrets.
Check the door phone template against the configuration exported by a Fanvil i62 with firmware 2.12.51. "Auto Image Url" does not exist on the i6x and is dropped. The camera encoder keys of the CAMERA CONFIG MODULE are confirmed: lower the main stream bitrate, keep the sub stream at VGA 512 kbit/s and send a keyframe every second, so that keyframes stay small (door_video_* model variables). The door-open passwords are rules of the EGS password list, not configuration keys: the template still leaves them to the device.
On a Fanvil i62 with firmware 2.12.51 the RTSP server password stays equal to the web admin password: a different RTSP Server Passwd in the provisioning file is ignored. Record it in the template header.
The Fanvil i6x keep the RTSP password equal to the web admin password. Mark the models with cap_door_rtsp_adminpw: without an explicit door_rtsp_password the template writes the per-phone adminpw as RTSP password too, so a PBX can give every door phone its own admin password and use it for the video stream.
Add cap_settings_sections_blacklist and cap_settings_blacklist, so a PBX user interface can hide the phone settings that do not apply to a model. The Fanvil i6x door phones have no display, ringtones, LDAP phonebook, VLAN or LLDP settings in the template, nor line keys transfer, tone, time or date formats and firmware URL keys. Stop writing the language: the i62 kept its own web interface language when the provisioning file set another one.
This was referenced Nov 17, 2026
edospadoni
marked this pull request as ready for review
November 17, 2026 09:02
The i62 kept its web login password when the provisioning file set Account1 Password, while it applied RTSP Server Passwd: the RTSP server has its own password. Write the RTSP password from door_rtsp_password only, stop writing the web admin account, and drop cap_door_rtsp_adminpw. The web interface keeps the phones admin password.
Member
Author
|
Superseded by nethesis/ns8-nethvoice#1184. After the monorepo import (nethesis/ns8-nethvoice#906) these changes live in the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the Fanvil i60/i60K, i61, i62, i63 and i64 video door phones (firmware 2.12.x), so NethVoice can provision them like a phone: add the MAC to the inventory, pick the model, assign it to a user.
fanvil-i6x.tmpl: SIP account with RFC 2833 DTMF, NTP and time zone, auto provisioning, the RTSP server password, and the camera encoder (video1/video2: main stream 1 Mbit/s, one keyframe per second on both streams). It writes no network, web (including the web login), EGS, security or alarm settings.door_rtsp_password(NethVoice generates one per door phone); the web interface keeps the admin password of the phones.cap_door_phone,door_rtsp_port,door_rtsp_path_main(/h264/stream.live0),door_rtsp_path_sub(/h264/stream.live1),door_video_sub_label,door_rtsp_user,door_dtmf_code,door_video_*. The olddoor_rtsp_pathis documented as a fallback.cap_settings_sections_blacklistandcap_settings_blacklistlet a model hide settings it does not have; the i6x hide the phone-only ones (line keys, display, ringtones, LDAP, language, date and time format, firmware).door_rtsp_passwordanddoor_dtmf_code.62_door_phones.bats.Tested on a real Fanvil i62 (fw 2.12.51) with NethVoice: provisioning, remote re-provisioning by SIP NOTIFY, registration over TLS, RTSP with the generated password, both streams; the web login keeps the phones admin password.
NethVoice needs a Tancredi release with these models and a bump of
TANCREDI_VERSION(nethesis/ns8-nethvoice#1184).Refs NethServer/dev#7535