IssabelFoundation / issabelPBX

Asterisk configuration GUI
GNU General Public License v3.0
135 stars 47 forks source link

Change to remove wrong port in pjsip_transport_additional.conf #43

Closed rojasrjosee closed 3 months ago

rojasrjosee commented 4 months ago

Issue sumary: In Debian instalation when the /etc/pki/tls/certs/ca-bundle.crt file did not exist, the /etc/asterisk/pjsip_transport_additional.conf file is generated incorrectly, causing the tcp transport to be associated with the tls port.

IssabelPBX Version: Latest

Steps to Reproduce: Just install a fresh copy of IssabelPBX on Debian 11 with pjsip.

Sample the /etc/asterisk/pjsip_transport_additional.conf wrong file: ;--------------------------------------------------------------------------------; ; Do NOT edit this file as it is auto-generated by IssabelPBX. All modifications ; ; to this file must be done via the web gui. There are alternative files to make ; ; custom modifications, details at: http://issabel.org/configuration_files ; ;--------------------------------------------------------------------------------; ;

[transport-udp] type=transport protocol=udp allow_reload=true bind=0.0.0.0:5060

[transport-tcp] type=transport protocol=tcp allow_reload=true bind=0.0.0.0:5060

cert_file=/etc/asterisk/keys/asterisk.pem bind=0.0.0.0:5067

[transport-ws] type=transport protocol=ws allow_reload=true bind=0.0.0.0:5060

[transport-wss] type=transport protocol=wss allow_reload=true bind=0.0.0.0:5060