RTP now works
This commit is contained in:
parent
fb39cad3e4
commit
5c637771e8
@ -1673,7 +1673,24 @@
|
|||||||
;
|
;
|
||||||
; You can match a TEL URI From header by IP, header, or auth_username.
|
; You can match a TEL URI From header by IP, header, or auth_username.
|
||||||
|
|
||||||
|
|
||||||
[transport-udp]
|
[transport-udp]
|
||||||
type=transport
|
type=transport
|
||||||
protocol=udp
|
protocol=udp
|
||||||
bind=0.0.0.0:5060
|
bind=0.0.0.0:5060
|
||||||
|
local_net=172.20.0.0/24 ; Your Docker network
|
||||||
|
external_media_address=103.227.97.200 ; If behind NAT
|
||||||
|
external_signaling_address=103.227.97.200
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;[transport-udp]
|
||||||
|
;type=transport
|
||||||
|
;protocol=udp
|
||||||
|
;bind=0.0.0.0:5060
|
||||||
|
|
||||||
|
[global]
|
||||||
|
disallow=all
|
||||||
|
allow=ulaw
|
||||||
|
allow=alaw
|
||||||
|
allow=g722
|
||||||
|
|||||||
@ -8,7 +8,15 @@
|
|||||||
; Defaults are rtpstart=5000 and rtpend=31000
|
; Defaults are rtpstart=5000 and rtpend=31000
|
||||||
;
|
;
|
||||||
rtpstart=10000
|
rtpstart=10000
|
||||||
rtpend=20000
|
rtpend=10050
|
||||||
|
|
||||||
|
;rtpstart=20000
|
||||||
|
;rtpend=21000
|
||||||
|
|
||||||
|
strictrtp=no
|
||||||
|
probation=8
|
||||||
|
|
||||||
|
;rtpend=20000
|
||||||
;
|
;
|
||||||
; Whether to enable or disable UDP checksums on RTP traffic
|
; Whether to enable or disable UDP checksums on RTP traffic
|
||||||
;
|
;
|
||||||
|
|||||||
@ -9,7 +9,8 @@ services:
|
|||||||
- mariadb
|
- mariadb
|
||||||
ports:
|
ports:
|
||||||
- "5060:5060/udp" # SIP signaling
|
- "5060:5060/udp" # SIP signaling
|
||||||
- "5060:5060/tcp" # SIP signaling (TCP fallback)
|
# - "5060:5060/tcp" # SIP signaling (TCP fallback)
|
||||||
|
#- "20000-21000:20000-21000/udp" # RTP ports for audio
|
||||||
- "10000-10050:10000-10050/udp" # RTP ports
|
- "10000-10050:10000-10050/udp" # RTP ports
|
||||||
volumes:
|
volumes:
|
||||||
- ./conf/odbc.ini:/etc/odbc.ini
|
- ./conf/odbc.ini:/etc/odbc.ini
|
||||||
@ -35,13 +36,13 @@ services:
|
|||||||
- asterisk-net
|
- asterisk-net
|
||||||
|
|
||||||
# *** only needed if your not running docker as a sudo user necessary for mariadb container db access
|
# *** only needed if your not running docker as a sudo user necessary for mariadb container db access
|
||||||
user: "999:999" # Ensures the container runs as the mysql user, matching volume ownership
|
# user: "999:999" # Ensures the container runs as the mysql user, matching volume ownership
|
||||||
command: "--innodb-buffer-pool-size=256M"
|
# command: "--innodb-buffer-pool-size=256M"
|
||||||
healthcheck: # Optional: Ensure MariaDB is healthy before Asterisk connects
|
# healthcheck: # Optional: Ensure MariaDB is healthy before Asterisk connects
|
||||||
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-prootpassword"]
|
# test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-prootpassword"]
|
||||||
interval: 10s
|
# interval: 10s
|
||||||
timeout: 5s
|
# timeout: 5s
|
||||||
retries: 5
|
# retries: 5
|
||||||
# ***
|
# ***
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
BIN
MySQL_conf_pbx/test1/mariadb_data/asterisk_db/ps_endpoints.frm
Executable file → Normal file
BIN
MySQL_conf_pbx/test1/mariadb_data/asterisk_db/ps_endpoints.frm
Executable file → Normal file
Binary file not shown.
Binary file not shown.
BIN
MySQL_conf_pbx/test1/mariadb_data/ddl_recovery-backup.log
Executable file
BIN
MySQL_conf_pbx/test1/mariadb_data/ddl_recovery-backup.log
Executable file
Binary file not shown.
4
MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool
Normal file → Executable file
4
MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool
Normal file → Executable file
@ -3,9 +3,11 @@
|
|||||||
10,3
|
10,3
|
||||||
9,3
|
9,3
|
||||||
8,3
|
8,3
|
||||||
|
7,3
|
||||||
5,3
|
5,3
|
||||||
4,3
|
4,3
|
||||||
7,3
|
3,2
|
||||||
|
1,2
|
||||||
1,45
|
1,45
|
||||||
3,44
|
3,44
|
||||||
2,44
|
2,44
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user