diff --git a/MySQL_conf_pbx/test1/conf/asterisk/pjsip.conf b/MySQL_conf_pbx/test1/conf/asterisk/pjsip.conf index dbc557b..77b143e 100755 --- a/MySQL_conf_pbx/test1/conf/asterisk/pjsip.conf +++ b/MySQL_conf_pbx/test1/conf/asterisk/pjsip.conf @@ -1673,7 +1673,24 @@ ; ; You can match a TEL URI From header by IP, header, or auth_username. + [transport-udp] type=transport protocol=udp -bind=0.0.0.0:5060 \ No newline at end of file +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 diff --git a/MySQL_conf_pbx/test1/conf/asterisk/rtp.conf b/MySQL_conf_pbx/test1/conf/asterisk/rtp.conf index 7e1442c..90d54bd 100755 --- a/MySQL_conf_pbx/test1/conf/asterisk/rtp.conf +++ b/MySQL_conf_pbx/test1/conf/asterisk/rtp.conf @@ -8,7 +8,15 @@ ; Defaults are rtpstart=5000 and rtpend=31000 ; 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 ; diff --git a/MySQL_conf_pbx/test1/docker-compose.yml b/MySQL_conf_pbx/test1/docker-compose.yml index a7947bc..11a27e4 100755 --- a/MySQL_conf_pbx/test1/docker-compose.yml +++ b/MySQL_conf_pbx/test1/docker-compose.yml @@ -9,7 +9,8 @@ services: - mariadb ports: - "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 volumes: - ./conf/odbc.ini:/etc/odbc.ini @@ -35,13 +36,13 @@ services: - asterisk-net # *** 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 - command: "--innodb-buffer-pool-size=256M" - healthcheck: # Optional: Ensure MariaDB is healthy before Asterisk connects - test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-prootpassword"] - interval: 10s - timeout: 5s - retries: 5 + # user: "999:999" # Ensures the container runs as the mysql user, matching volume ownership + # command: "--innodb-buffer-pool-size=256M" + # healthcheck: # Optional: Ensure MariaDB is healthy before Asterisk connects + # test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-prootpassword"] + # interval: 10s + # timeout: 5s + # retries: 5 # *** networks: diff --git a/MySQL_conf_pbx/test1/mariadb_data/aria_log.00000001 b/MySQL_conf_pbx/test1/mariadb_data/aria_log.00000001 index 8fddb6d..e2a933f 100755 Binary files a/MySQL_conf_pbx/test1/mariadb_data/aria_log.00000001 and b/MySQL_conf_pbx/test1/mariadb_data/aria_log.00000001 differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/aria_log_control b/MySQL_conf_pbx/test1/mariadb_data/aria_log_control index 85c7d9a..d91dca8 100755 Binary files a/MySQL_conf_pbx/test1/mariadb_data/aria_log_control and b/MySQL_conf_pbx/test1/mariadb_data/aria_log_control differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/ps_endpoints.frm b/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/ps_endpoints.frm old mode 100755 new mode 100644 index a05d137..c1b5016 Binary files a/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/ps_endpoints.frm and b/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/ps_endpoints.frm differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/ps_endpoints.ibd b/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/ps_endpoints.ibd index adfd6f8..741971c 100755 Binary files a/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/ps_endpoints.ibd and b/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/ps_endpoints.ibd differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/ddl_recovery-backup.log b/MySQL_conf_pbx/test1/mariadb_data/ddl_recovery-backup.log new file mode 100755 index 0000000..5e30b6d Binary files /dev/null and b/MySQL_conf_pbx/test1/mariadb_data/ddl_recovery-backup.log differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool b/MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool old mode 100644 new mode 100755 index 27f357b..3f40119 --- a/MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool +++ b/MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool @@ -3,9 +3,11 @@ 10,3 9,3 8,3 +7,3 5,3 4,3 -7,3 +3,2 +1,2 1,45 3,44 2,44 diff --git a/MySQL_conf_pbx/test1/mariadb_data/ib_logfile0 b/MySQL_conf_pbx/test1/mariadb_data/ib_logfile0 index c779a18..be92852 100755 Binary files a/MySQL_conf_pbx/test1/mariadb_data/ib_logfile0 and b/MySQL_conf_pbx/test1/mariadb_data/ib_logfile0 differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/ibdata1 b/MySQL_conf_pbx/test1/mariadb_data/ibdata1 index 4ad7345..dbaa288 100755 Binary files a/MySQL_conf_pbx/test1/mariadb_data/ibdata1 and b/MySQL_conf_pbx/test1/mariadb_data/ibdata1 differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/undo001 b/MySQL_conf_pbx/test1/mariadb_data/undo001 index e28ad3b..bffa8c1 100755 Binary files a/MySQL_conf_pbx/test1/mariadb_data/undo001 and b/MySQL_conf_pbx/test1/mariadb_data/undo001 differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/undo002 b/MySQL_conf_pbx/test1/mariadb_data/undo002 index 4d6dbbe..e65900d 100755 Binary files a/MySQL_conf_pbx/test1/mariadb_data/undo002 and b/MySQL_conf_pbx/test1/mariadb_data/undo002 differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/undo003 b/MySQL_conf_pbx/test1/mariadb_data/undo003 index 48cd869..affa39f 100755 Binary files a/MySQL_conf_pbx/test1/mariadb_data/undo003 and b/MySQL_conf_pbx/test1/mariadb_data/undo003 differ