Skip to content
This repository was archived by the owner on Nov 18, 2026. It is now read-only.

feat(templates): Add Fanvil i6x video door phones - #406

Closed
edospadoni wants to merge 7 commits into
masterfrom
feat/rtsp-video-sources
Closed

edospadoni wants to merge 7 commits into
masterfrom
feat/rtsp-video-sources

Conversation

@edospadoni

@edospadoni edospadoni commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

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.

  • Shared partial template 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.
  • Keys checked against a configuration exported from a real i62.
  • The RTSP password comes from the per-phone door_rtsp_password (NethVoice generates one per door phone); the web interface keeps the admin password of the phones.
  • Model variables for NethVoice: 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 old door_rtsp_path is documented as a fallback.
  • cap_settings_sections_blacklist and cap_settings_blacklist let 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-open passwords are EGS list rules on the device and are not provisioned.
  • Tokenless provisioning also strips door_rtsp_password and door_dtmf_code.
  • Bats coverage in 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

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.
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.
@edospadoni

Copy link
Copy Markdown
Member Author

Superseded by nethesis/ns8-nethvoice#1184. After the monorepo import (nethesis/ns8-nethvoice#906) these changes live in the tancredi/app folder of the module, with the same commits. Refs NethServer/dev#7535

@edospadoni edospadoni closed this Nov 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant