Skip to content

Commit

Permalink
Add some fields to batch extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
asternic committed Oct 2, 2023
1 parent 6bf9686 commit 1a4c704
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions modules/extensions_batch/libs/paloSantoExtensionsBatch.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,12 @@ function getFieldTitles()
'icesupport' => 'ICE Support',
'dtlsverify' => 'DTLS Verify',
'dtlsenable' => 'Enable DTLS',
'dtlssetup' => 'DTLS Setup',
'dtlssetup' => 'DTLS Setup',
'stir_shaken' => 'STIR Shaken',
'force_rport' => 'Force RPort',
'rtp_symmetric' => 'RTP Symmetric',



);
}
Expand Down Expand Up @@ -637,10 +642,11 @@ private function _updateTechDevices($extension)
'dial' => 'PJSIP/'.$extension['extension'],
'pickupgroup' => isset($extension['pickupgroup']) ? $extension['pickupgroup'] : '',
'callgroup' => isset($extension['callgroup']) ? $extension['callgroup'] : '',
'rtp_symmetric' => 'yes',
'force_rport' => 'yes',
'rewrite_contact' => 'yes',
'dtmfmode' => 'rfc2833',
'rtp_symmetric' => isset($extension['rtp_symmetric']) ? $extension['rtp_symmetric'] : 'yes',
'force_rport' => isset($extension['force_rport']) ? $extension['force_rport'] : 'yes',
'rewrite_contact' => isset($extension['rewrite_contact']) ? $extension['rewrite_contact'] : 'yes',
'stir_shaken' => isset($extension['stir_shaken']) ? $extension['stir_shaken'] : 'off',
'dtmfmode' => isset($extension['dtmfmode']) ? $extension['dtmfmode'] : 'rfc2833',
'qualifyfreq' => '60',
'transport' => isset($extension['transport']) ? $extension['transport']:'',
'dtls_cert_file' => isset($extension['dtlscertfile']) ? $extension['dtlscertfile']:'',
Expand Down

0 comments on commit 1a4c704

Please sign in to comment.