forked from MathewFrancis/cezenGIT
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ad18dc11fc | |||
| 534627ad66 | |||
| d4494c2a12 |
@ -1,21 +1,13 @@
|
||||
FROM andrius/asterisk:edge
|
||||
FROM mathewfrancisv/odbc_mariadb:v3.0.2
|
||||
|
||||
# Add edge/testing repository
|
||||
# RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
apk add asterisk-odbc && \
|
||||
apk add unixodbc && \
|
||||
apk add unixodbc-dev && \
|
||||
apk add mariadb-connector-odbc && \
|
||||
mkdir -p /etc/asterisk/moh
|
||||
|
||||
#RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
|
||||
RUN cp -r /usr/share/asterisk/sounds/en /var/lib/asterisk/sounds/
|
||||
|
||||
# apk add --no-cache unixodbc unixodbc-dev mariadb-connector-odbc
|
||||
|
||||
|
||||
# Copy custom Asterisk config files
|
||||
#COPY asterisk_config/ /etc/asterisk/
|
||||
|
||||
# Start Asterisk in verbose mode
|
||||
CMD ["asterisk", "-fvvvvv"]
|
||||
CMD ["asterisk", "-fvvvvv"]
|
||||
|
||||
@ -132,6 +132,8 @@ ps_endpoints => odbc,asterisk,ps_endpoints
|
||||
ps_auths => odbc,asterisk,ps_auths
|
||||
ps_aors => odbc,asterisk,ps_aors
|
||||
extensions => odbc,asterisk,extensions_table
|
||||
voicemail => odbc,asterisk,voicemail_users
|
||||
|
||||
;moh for music on hold
|
||||
;moh => odbc,asterisk,moh_classes
|
||||
|
||||
|
||||
@ -25,7 +25,14 @@
|
||||
; Formats for writing Voicemail. Note that when using IMAP storage for
|
||||
; voicemail, only the first format specified will be used.
|
||||
;format=g723sf|wav49|wav
|
||||
format=wav49|gsm|wav
|
||||
format=wav
|
||||
serveremail=asterisk
|
||||
attach=yes
|
||||
delete=no
|
||||
language=en
|
||||
mailboxdir=/usr/share/asterisk/voicemail
|
||||
|
||||
|
||||
;
|
||||
; WARNING:
|
||||
; If you change the list of formats that you record voicemail in
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
asterisk:
|
||||
image: mathewfrancisv/odbc_mariadb:v2.0.1
|
||||
image: mathewfrancisv/odbc_mariadb:v4.0.0
|
||||
container_name: mat_asterisk
|
||||
restart: always
|
||||
tty: true
|
||||
@ -12,6 +12,11 @@ services:
|
||||
- ./conf/odbcinst.ini:/etc/odbcinst.ini
|
||||
- ./conf/asterisk/:/etc/asterisk/
|
||||
- ./recordings:/var/spool/asterisk/monitor #for call recording
|
||||
- ./voicemail_data:/var/spool/asterisk/voicemail
|
||||
|
||||
|
||||
|
||||
|
||||
network_mode: "host"
|
||||
|
||||
mariadb:
|
||||
@ -28,4 +33,4 @@ services:
|
||||
- ./mariadb_data:/var/lib/mysql # Persistent data
|
||||
network_mode: "host"
|
||||
|
||||
#
|
||||
#
|
||||
|
||||
21
MySQL_conf_pbx/test1/dockerfilez/5/Dockerfile
Executable file
21
MySQL_conf_pbx/test1/dockerfilez/5/Dockerfile
Executable file
@ -0,0 +1,21 @@
|
||||
FROM andrius/asterisk:edge
|
||||
|
||||
# Add edge/testing repository
|
||||
#RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
apk add asterisk-odbc && \
|
||||
apk add unixodbc && \
|
||||
apk add unixodbc-dev && \
|
||||
apk add mariadb-connector-odbc && \
|
||||
apk add asterisk-sounds-en && \
|
||||
mkdir -p /etc/asterisk/moh
|
||||
|
||||
# apk add --no-cache unixodbc unixodbc-dev mariadb-connector-odbc
|
||||
|
||||
|
||||
# Copy custom Asterisk config files
|
||||
#COPY asterisk_config/ /etc/asterisk/
|
||||
|
||||
# Start Asterisk in verbose mode
|
||||
CMD ["asterisk", "-fvvvvv"]
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
MySQL_conf_pbx/test1/mariadb_data/ddl_recovery-backup.log
Normal file
BIN
MySQL_conf_pbx/test1/mariadb_data/ddl_recovery-backup.log
Normal file
Binary file not shown.
@ -1,3 +1,7 @@
|
||||
13,3
|
||||
13,2
|
||||
13,1
|
||||
13,0
|
||||
11,3
|
||||
11,2
|
||||
11,1
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743145940.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743145940.0.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743145971.8.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743145971.8.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743146009.13.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743146009.13.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743146112.18.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743146112.18.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743153266.9.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743153266.9.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743153337.21.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743153337.21.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743154401.29.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743154401.29.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743154478.34.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743154478.34.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743160213.57.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743160213.57.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743164812.22.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743164812.22.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743164830.25.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743164830.25.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743164968.29.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743164968.29.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743227074.4.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743227074.4.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743227263.18.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743227263.18.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743227280.21.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743227280.21.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743227295.24.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743227295.24.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743227315.30.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743227315.30.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743231456.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743231456.0.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743231501.2.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743231501.2.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743234417.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743234417.0.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743483461.3.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743483461.3.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743489082.8.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743489082.8.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743489097.11.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743489097.11.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743489114.16.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743489114.16.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743489300.21.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743489300.21.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743503090.8.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743503090.8.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743503107.11.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743503107.11.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743503121.14.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743503121.14.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743503187.20.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743503187.20.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743503241.26.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743503241.26.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743506572.2.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743506572.2.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743506589.5.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743506589.5.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1001-1743506648.8.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1001-1743506648.8.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743145940.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743145940.0.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743145951.5.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743145951.5.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743145971.8.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743145971.8.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743146009.13.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743146009.13.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153084.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153084.0.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153117.3.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153117.3.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153149.6.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153149.6.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153266.9.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153266.9.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153275.12.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153275.12.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153290.15.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153290.15.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153312.18.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153312.18.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153337.21.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153337.21.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153445.26.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743153445.26.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743154401.29.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743154401.29.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743154478.34.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743154478.34.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743155116.42.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743155116.42.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743155126.45.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743155126.45.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743160165.54.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743160165.54.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743160213.57.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743160213.57.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743161141.63.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743161141.63.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743161485.66.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743161485.66.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743161537.70.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743161537.70.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743161841.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743161841.0.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743161912.4.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743161912.4.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743163727.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743163727.0.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743163805.4.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743163805.4.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743163827.8.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743163827.8.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743163968.12.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743163968.12.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743164808.20.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743164808.20.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743164830.25.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743164830.25.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743164968.29.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743164968.29.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743226911.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743226911.0.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743227074.4.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743227074.4.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743227214.14.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743227214.14.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743227295.24.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743227295.24.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743231456.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743231456.0.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743231501.2.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743231501.2.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743234417.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743234417.0.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743483461.3.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743483461.3.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743483476.9.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743483476.9.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743488778.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743488778.0.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743488946.4.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743488946.4.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743489082.8.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743489082.8.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743489097.11.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743489097.11.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743489114.16.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743489114.16.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743489300.21.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743489300.21.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743489370.27.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743489370.27.wav
Normal file
Binary file not shown.
BIN
MySQL_conf_pbx/test1/recordings/1002-1743492297.0.wav
Normal file
BIN
MySQL_conf_pbx/test1/recordings/1002-1743492297.0.wav
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user