feat(system): add RTP Timeout and RTP Hold Timeout directly in System Settings form
This commit is contained in:
1 parent
c1805c9076
commit
fa8af27e46
3 files changed
+32
No files matched your search
@@ -3477,6 +3477,12 @@ function renderSettingsAndDiagnostics() {
|
||||
form.elements['external_ip'].value = s.external_ip || '';
|
||||
form.elements['udp_port'].value = s.udp_port || 5060;
|
||||
form.elements['tls_port'].value = s.tls_port || 5061;
|
||||
if (form.elements['rtp_timeout']) {
|
||||
form.elements['rtp_timeout'].value = (s.rtp_timeout !== undefined && s.rtp_timeout !== null) ? s.rtp_timeout : 30;
|
||||
}
|
||||
if (form.elements['rtp_timeout_hold']) {
|
||||
form.elements['rtp_timeout_hold'].value = (s.rtp_timeout_hold !== undefined && s.rtp_timeout_hold !== null) ? s.rtp_timeout_hold : 0;
|
||||
}
|
||||
form.elements['ami_host'].value = s.ami_host || '127.0.0.1';
|
||||
form.elements['ami_port'].value = s.ami_port || 5038;
|
||||
form.elements['ami_user'].value = s.ami_user || 'pbxgui';
|
||||
|
||||
Reference in new issue
Block a user