Browse Source

config default para rodar o asterisk no docker com volume pabx/etc/asterisk

docker-webrtc
rodgger 6 months ago
parent
commit
428be9eb1b
  1. 2
      version_1.9.1/pabx/Dockerfile
  2. 2
      version_1.9.1/pabx/etc/asterisk/asterisk.conf
  3. 2
      version_1.9.1/pabx/etc/asterisk/cdr_pgsql.conf
  4. 2
      version_1.9.1/pabx/etc/asterisk/rtp.conf

2
version_1.9.1/pabx/Dockerfile

@ -39,6 +39,7 @@ COPY /config_network /
RUN chmod 755 /config_network
RUN chown pbx:pbx /config_network
# Script chamado quando acessar a atualização banco de dados para 1.9
COPY /config_bd /
RUN chmod 755 /config_bd
RUN chown pbx:pbx /config_bd
@ -93,7 +94,6 @@ RUN echo "xdebug.start_with_request=yes" > /etc/php/8.2/cli/conf.d/20-xdebug.ini
&& echo "zend_extension=xdebug.so" >> /etc/php/8.2/cli/conf.d/20-xdebug.ini
RUN chmod 755 /etc/init.d/rtabd
RUN chmod 755 /etc/init.d/cnvrtd
RUN chmod 755 /etc/init.d/supervisor

2
version_1.9.1/pabx/etc/asterisk/asterisk.conf

@ -24,7 +24,7 @@ verbose = 45
; startup).
;initcrypto = yes ; Initialize crypto keys (same as -i at
; startup).
;nocolor = yes ; Disable console colors.
nocolor = yes ; Disable console colors.
;dontwarn = yes ; Disable some warnings.
;dumpcore = yes ; Dump core on crash (same as -g at startup).
;languageprefix = yes ; Use the new sound prefix path syntax.

2
version_1.9.1/pabx/etc/asterisk/cdr_pgsql.conf

@ -1,5 +1,5 @@
[global]
hostname=127.0.0.1
hostname=postgres
port=5432
dbname=pbx
password=ctepgSQL

2
version_1.9.1/pabx/etc/asterisk/rtp.conf

@ -8,7 +8,7 @@
; Defaults are rtpstart=5000 and rtpend=31000
;
rtpstart=10000
rtpend=20000
rtpend=10030
;
; Whether to enable or disable UDP checksums on RTP traffic
;

Loading…
Cancel
Save