If you use "Dialplan ID Mode: Pre-Defined values" in setting and try to modify or add new dialplan rule it will change "Dialplan ID" to default value.
My fix:
dialplan/template/dialplan.form.php
lines 55 - 56:
form_generate_select("Dialplan ID", "The dialplan ID of the rule",
"dpid", "n", $dp_form['grp'],
change to:
form_generate_select("Dialplan ID", "The dialplan ID of the rule",
"dpid", "n", $dp_form['dpid'],
Second field with problems is "Rule priority" if you edit dialplan rule where it is "0" it will clear field to "". It should remain "0".
My fix:
web/common/forms.php
at line 321 in function form_generate_input_text
if ($val!=null )
change to:
if ($val!=null || $val === 0 )
PHP 8.3.6 (cli) (built: Mar 20 2026 02:32:55) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.6, Copyright (c) Zend Technologies
with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies
If you use "Dialplan ID Mode: Pre-Defined values" in setting and try to modify or add new dialplan rule it will change "Dialplan ID" to default value.
My fix:
dialplan/template/dialplan.form.php
lines 55 - 56:
change to:
Second field with problems is "Rule priority" if you edit dialplan rule where it is "0" it will clear field to "". It should remain "0".
My fix:
web/common/forms.php
at line 321 in function form_generate_input_text
if ($val!=null )change to:
if ($val!=null || $val === 0 )