diff --git a/MySQL_conf_pbx/test1/conf/asterisk/extensions.conf b/MySQL_conf_pbx/test1/conf/asterisk/extensions.conf index b3f229c..b3ba430 100755 --- a/MySQL_conf_pbx/test1/conf/asterisk/extensions.conf +++ b/MySQL_conf_pbx/test1/conf/asterisk/extensions.conf @@ -772,6 +772,13 @@ exten => _X.,40000(ani),NoOp(ANI: ${EXTEN}) [default] switch => Realtime/default@extensions +[conscious-pick] +switch => Realtime/conscious-pick@extensions + +[conscious-handoff] +switch => Realtime/conscious-handoff@extensions + + diff --git a/MySQL_conf_pbx/test1/mariadb_data/aria_log.00000001 b/MySQL_conf_pbx/test1/mariadb_data/aria_log.00000001 index 8d45013..1274483 100644 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 15d17bd..eead596 100644 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/extensions_table.frm b/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/extensions_table.frm index f1ab812..25ac97d 100644 Binary files a/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/extensions_table.frm and b/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/extensions_table.frm differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/extensions_table.ibd b/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/extensions_table.ibd index 4d6200b..109cee8 100644 Binary files a/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/extensions_table.ibd and b/MySQL_conf_pbx/test1/mariadb_data/asterisk_db/extensions_table.ibd differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool b/MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool index 25c0453..1aab7d6 100644 --- a/MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool +++ b/MySQL_conf_pbx/test1/mariadb_data/ib_buffer_pool @@ -1,11 +1,11 @@ +14,3 +14,2 +14,1 +14,0 13,3 13,2 13,1 13,0 -11,3 -11,2 -11,1 -11,0 10,3 10,2 10,1 diff --git a/MySQL_conf_pbx/test1/mariadb_data/ib_logfile0 b/MySQL_conf_pbx/test1/mariadb_data/ib_logfile0 index 74a6ad8..6da03f6 100644 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 ab971db..b4a1298 100644 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/mysql/innodb_index_stats.ibd b/MySQL_conf_pbx/test1/mariadb_data/mysql/innodb_index_stats.ibd index 98c5b5a..d481823 100644 Binary files a/MySQL_conf_pbx/test1/mariadb_data/mysql/innodb_index_stats.ibd and b/MySQL_conf_pbx/test1/mariadb_data/mysql/innodb_index_stats.ibd differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/mysql/innodb_table_stats.ibd b/MySQL_conf_pbx/test1/mariadb_data/mysql/innodb_table_stats.ibd index 8985a06..961c95b 100644 Binary files a/MySQL_conf_pbx/test1/mariadb_data/mysql/innodb_table_stats.ibd and b/MySQL_conf_pbx/test1/mariadb_data/mysql/innodb_table_stats.ibd differ diff --git a/MySQL_conf_pbx/test1/mariadb_data/undo001 b/MySQL_conf_pbx/test1/mariadb_data/undo001 index e353f09..4aa52c1 100644 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 fe08f44..477791c 100644 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 467c100..a8ba1d7 100644 Binary files a/MySQL_conf_pbx/test1/mariadb_data/undo003 and b/MySQL_conf_pbx/test1/mariadb_data/undo003 differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743588537.6.wav b/MySQL_conf_pbx/test1/recordings/1001-1743588537.6.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743588537.6.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743588600.10.wav b/MySQL_conf_pbx/test1/recordings/1001-1743588600.10.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743588600.10.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743588623.13.wav b/MySQL_conf_pbx/test1/recordings/1001-1743588623.13.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743588623.13.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743588648.16.wav b/MySQL_conf_pbx/test1/recordings/1001-1743588648.16.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743588648.16.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743588674.19.wav b/MySQL_conf_pbx/test1/recordings/1001-1743588674.19.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743588674.19.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743588705.22.wav b/MySQL_conf_pbx/test1/recordings/1001-1743588705.22.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743588705.22.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743589432.25.wav b/MySQL_conf_pbx/test1/recordings/1001-1743589432.25.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743589432.25.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743589601.1.wav b/MySQL_conf_pbx/test1/recordings/1001-1743589601.1.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743589601.1.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743589609.4.wav b/MySQL_conf_pbx/test1/recordings/1001-1743589609.4.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743589609.4.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743589616.7.wav b/MySQL_conf_pbx/test1/recordings/1001-1743589616.7.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743589616.7.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743589669.10.wav b/MySQL_conf_pbx/test1/recordings/1001-1743589669.10.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743589669.10.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743590278.20.wav b/MySQL_conf_pbx/test1/recordings/1001-1743590278.20.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743590278.20.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743590308.23.wav b/MySQL_conf_pbx/test1/recordings/1001-1743590308.23.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743590308.23.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743590325.25.wav b/MySQL_conf_pbx/test1/recordings/1001-1743590325.25.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743590325.25.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743590334.27.wav b/MySQL_conf_pbx/test1/recordings/1001-1743590334.27.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743590334.27.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743590531.29.wav b/MySQL_conf_pbx/test1/recordings/1001-1743590531.29.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743590531.29.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743590566.35.wav b/MySQL_conf_pbx/test1/recordings/1001-1743590566.35.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743590566.35.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743591444.42.wav b/MySQL_conf_pbx/test1/recordings/1001-1743591444.42.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743591444.42.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743591459.46.wav b/MySQL_conf_pbx/test1/recordings/1001-1743591459.46.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743591459.46.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743592803.52.wav b/MySQL_conf_pbx/test1/recordings/1001-1743592803.52.wav new file mode 100644 index 0000000..e472c3f Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743592803.52.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743592817.55.wav b/MySQL_conf_pbx/test1/recordings/1001-1743592817.55.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743592817.55.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743592957.75.wav b/MySQL_conf_pbx/test1/recordings/1001-1743592957.75.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743592957.75.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743592963.78.wav b/MySQL_conf_pbx/test1/recordings/1001-1743592963.78.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743592963.78.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1001-1743595440.103.wav b/MySQL_conf_pbx/test1/recordings/1001-1743595440.103.wav new file mode 100644 index 0000000..eda2862 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1001-1743595440.103.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743588179.4.wav b/MySQL_conf_pbx/test1/recordings/1002-1743588179.4.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743588179.4.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743588186.5.wav b/MySQL_conf_pbx/test1/recordings/1002-1743588186.5.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743588186.5.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743588209.6.wav b/MySQL_conf_pbx/test1/recordings/1002-1743588209.6.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743588209.6.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743588221.7.wav b/MySQL_conf_pbx/test1/recordings/1002-1743588221.7.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743588221.7.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743588237.8.wav b/MySQL_conf_pbx/test1/recordings/1002-1743588237.8.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743588237.8.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743588402.0.wav b/MySQL_conf_pbx/test1/recordings/1002-1743588402.0.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743588402.0.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743588415.1.wav b/MySQL_conf_pbx/test1/recordings/1002-1743588415.1.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743588415.1.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743588453.2.wav b/MySQL_conf_pbx/test1/recordings/1002-1743588453.2.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743588453.2.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743588518.3.wav b/MySQL_conf_pbx/test1/recordings/1002-1743588518.3.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743588518.3.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743588537.6.wav b/MySQL_conf_pbx/test1/recordings/1002-1743588537.6.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743588537.6.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743588565.9.wav b/MySQL_conf_pbx/test1/recordings/1002-1743588565.9.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743588565.9.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743588674.19.wav b/MySQL_conf_pbx/test1/recordings/1002-1743588674.19.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743588674.19.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743588705.22.wav b/MySQL_conf_pbx/test1/recordings/1002-1743588705.22.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743588705.22.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743589441.28.wav b/MySQL_conf_pbx/test1/recordings/1002-1743589441.28.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743589441.28.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743589466.29.wav b/MySQL_conf_pbx/test1/recordings/1002-1743589466.29.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743589466.29.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743589596.0.wav b/MySQL_conf_pbx/test1/recordings/1002-1743589596.0.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743589596.0.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743589601.1.wav b/MySQL_conf_pbx/test1/recordings/1002-1743589601.1.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743589601.1.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743589609.4.wav b/MySQL_conf_pbx/test1/recordings/1002-1743589609.4.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743589609.4.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743589616.7.wav b/MySQL_conf_pbx/test1/recordings/1002-1743589616.7.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743589616.7.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743589669.10.wav b/MySQL_conf_pbx/test1/recordings/1002-1743589669.10.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743589669.10.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743589681.13.wav b/MySQL_conf_pbx/test1/recordings/1002-1743589681.13.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743589681.13.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743590213.14.wav b/MySQL_conf_pbx/test1/recordings/1002-1743590213.14.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743590213.14.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743590241.16.wav b/MySQL_conf_pbx/test1/recordings/1002-1743590241.16.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743590241.16.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743590266.18.wav b/MySQL_conf_pbx/test1/recordings/1002-1743590266.18.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743590266.18.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743590308.23.wav b/MySQL_conf_pbx/test1/recordings/1002-1743590308.23.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743590308.23.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743590325.25.wav b/MySQL_conf_pbx/test1/recordings/1002-1743590325.25.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743590325.25.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743590334.27.wav b/MySQL_conf_pbx/test1/recordings/1002-1743590334.27.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743590334.27.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743590531.29.wav b/MySQL_conf_pbx/test1/recordings/1002-1743590531.29.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743590531.29.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743590551.33.wav b/MySQL_conf_pbx/test1/recordings/1002-1743590551.33.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743590551.33.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743590570.38.wav b/MySQL_conf_pbx/test1/recordings/1002-1743590570.38.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743590570.38.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743590576.40.wav b/MySQL_conf_pbx/test1/recordings/1002-1743590576.40.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743590576.40.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743591444.42.wav b/MySQL_conf_pbx/test1/recordings/1002-1743591444.42.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743591444.42.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743591459.46.wav b/MySQL_conf_pbx/test1/recordings/1002-1743591459.46.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743591459.46.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743592256.50.wav b/MySQL_conf_pbx/test1/recordings/1002-1743592256.50.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743592256.50.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743592817.55.wav b/MySQL_conf_pbx/test1/recordings/1002-1743592817.55.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743592817.55.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743592845.60.wav b/MySQL_conf_pbx/test1/recordings/1002-1743592845.60.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743592845.60.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743592863.63.wav b/MySQL_conf_pbx/test1/recordings/1002-1743592863.63.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743592863.63.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743592877.66.wav b/MySQL_conf_pbx/test1/recordings/1002-1743592877.66.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743592877.66.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743592892.69.wav b/MySQL_conf_pbx/test1/recordings/1002-1743592892.69.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743592892.69.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743592929.72.wav b/MySQL_conf_pbx/test1/recordings/1002-1743592929.72.wav new file mode 100644 index 0000000..ef458a9 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743592929.72.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743592963.78.wav b/MySQL_conf_pbx/test1/recordings/1002-1743592963.78.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743592963.78.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743594624.82.wav b/MySQL_conf_pbx/test1/recordings/1002-1743594624.82.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743594624.82.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743594649.85.wav b/MySQL_conf_pbx/test1/recordings/1002-1743594649.85.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743594649.85.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743595400.88.wav b/MySQL_conf_pbx/test1/recordings/1002-1743595400.88.wav new file mode 100644 index 0000000..bb4d376 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743595400.88.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743595415.93.wav b/MySQL_conf_pbx/test1/recordings/1002-1743595415.93.wav new file mode 100644 index 0000000..cc3c4f8 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743595415.93.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743595432.98.wav b/MySQL_conf_pbx/test1/recordings/1002-1743595432.98.wav new file mode 100644 index 0000000..c1968f5 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743595432.98.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743595440.103.wav b/MySQL_conf_pbx/test1/recordings/1002-1743595440.103.wav new file mode 100644 index 0000000..9392bb1 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743595440.103.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1002-1743597269.0.wav b/MySQL_conf_pbx/test1/recordings/1002-1743597269.0.wav new file mode 100644 index 0000000..7c1e28e Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1002-1743597269.0.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1003-1743588162.0.wav b/MySQL_conf_pbx/test1/recordings/1003-1743588162.0.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1003-1743588162.0.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1003-1743588175.2.wav b/MySQL_conf_pbx/test1/recordings/1003-1743588175.2.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1003-1743588175.2.wav differ diff --git a/MySQL_conf_pbx/test1/recordings/1003-1743588530.4.wav b/MySQL_conf_pbx/test1/recordings/1003-1743588530.4.wav new file mode 100644 index 0000000..64ec696 Binary files /dev/null and b/MySQL_conf_pbx/test1/recordings/1003-1743588530.4.wav differ diff --git a/MySQL_conf_pbx/test1/Script-1.sql b/MySQL_conf_pbx/test1/sql-scripts/Script-1.sql similarity index 100% rename from MySQL_conf_pbx/test1/Script-1.sql rename to MySQL_conf_pbx/test1/sql-scripts/Script-1.sql diff --git a/MySQL_conf_pbx/test1/sql-scripts/Script.sql b/MySQL_conf_pbx/test1/sql-scripts/Script.sql new file mode 100644 index 0000000..6cf125f --- /dev/null +++ b/MySQL_conf_pbx/test1/sql-scripts/Script.sql @@ -0,0 +1,354 @@ +USE asterisk_db; + +show tables; +CREATE TABLE ps_endpoints ( + id VARCHAR(40) NOT NULL PRIMARY KEY, + transport VARCHAR(40) NULL, + aors VARCHAR(200) NULL UNIQUE, + auth VARCHAR(40) NULL UNIQUE, + context VARCHAR(40) NULL, + disallow VARCHAR(200) NULL, + allow VARCHAR(200) NULL, + direct_media VARCHAR(40) NULL, + connected_line_method VARCHAR(40) NULL, + callerid VARCHAR(40) NULL, + dtmf_mode VARCHAR(40) NULL +); + +CREATE TABLE ps_auths ( + id VARCHAR(40) NOT NULL PRIMARY KEY, + auth_type VARCHAR(40) NOT NULL, + username VARCHAR(40) NULL UNIQUE, + password VARCHAR(40) NULL, + md5_cred VARCHAR(40) NULL, + realm VARCHAR(40) NULL +); + +CREATE TABLE ps_aors ( + id VARCHAR(40) NOT NULL PRIMARY KEY, + max_contacts INTEGER USE asterisk_db; +NULL +); + + +CREATE TABLE extensions_table ( + id INT AUTO_INCREMENT PRIMARY KEY, + context VARCHAR(50) NOT NULL, + exten VARCHAR(50) NOT NULL UNIQUE, + priority INT NOT NULL, + app VARCHAR(50) NOT NULL, + appdata VARCHAR(100) +); + + + +INSERT INTO ps_endpoints (id, transport, aors, auth, context, disallow, allow) +VALUES ('1001', 'transport-udp', '1001', '1001', 'default', 'all', 'ulaw,alaw'); + +INSERT INTO ps_auths (id, auth_type, username, password) +VALUES ('1001', 'userpass', '1001', '12345'); + +INSERT INTO ps_aors (id, max_contacts) +VALUES ('1001', 1); + + +-- Add Endpoint for 1002 +INSERT INTO ps_endpoints (id, transport, aors, auth, context, disallow, allow, direct_media) +VALUES ('1002', 'transport-udp', '1002', '1002', 'default', 'all', 'ulaw,alaw', 'no'); + +-- Add Authentication for 1002 +INSERT INTO ps_auths (id, auth_type, username, password) +VALUES ('1002', 'userpass', '1002', '12345'); + +-- Add AOR (Address of Record) for 1002 +INSERT INTO ps_aors (id, max_contacts) +VALUES ('1002', 2); + +INSERT INTO ps_endpoints (id, transport, aors, auth, context, disallow, allow, direct_media) +VALUES ('1003', 'transport-udp', '1003', '1003', 'default', 'all', 'ulaw,alaw', 'no'); + +-- Add Authentication for 1002 +INSERT INTO ps_auths (id, auth_type, username, password) +VALUES ('1003', 'userpass', '1003', '12345'); + +-- Add AOR (Address of Record) for 1002 +INSERT INTO ps_aors (id, max_contacts) +VALUES ('1003', 2); + + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES +('default', '1001', 1, 'Dial', 'PJSIP/1001,20'), +('default', '1002', 1, 'Dial', 'PJSIP/1002,20'), +('default', '1003', 1, 'Dial', 'PJSIP/1003,20'); + +SELECT * FROM extensions_table; + +-- DROP TABLE `extensions_table`; + +SELECT * FROM extensions_table WHERE context='default'; + + +SHOW TABLES; +select * from ps_endpoints; +select * from ps_auths; +select * from ps_aors; +select * from extensions_table; + + +ALTER TABLE ps_endpoints DROP COLUMN mailboxes; +ALTER TABLE ps_endpoints DROP COLUMN mohsuggest; + +ALTER TABLE ps_endpoints ADD mohsuggest VARCHAR(40); +ALTER TABLE ps_endpoints ADD mailboxes VARCHAR(255); +UPDATE ps_endpoints SET mohsuggest = 'default' WHERE id IN ('1001', '1002', '1003'); + +UPDATE ps_aors SET max_contacts = 1 WHERE id = '1001'; + +show tables; + + + +-- voice mail usertable --- + +CREATE TABLE voicemail_users ( + context VARCHAR(20), -- Which group or environment (usually 'default') + mailbox VARCHAR(20), -- The voicemail box number (usually same as extension) + password VARCHAR(20), -- PIN to access the voicemail + fullname VARCHAR(50), -- User’s name + email VARCHAR(100) -- Where to send the voicemail recording +); + +INSERT INTO voicemail_users (context, mailbox, password, fullname, email) +VALUES + ('default', '1001', '1234', 'User One', 'djangod56@gmail.com'), + ('default', '1002', '1234', 'User Two', 'djangod56@gmail.com'), + ('default', '1003', '1234', 'User Three','djangod56@gmail.com'); + +select * from voicemail_users; + +-- table end -- + + + +INSERT INTO extensions_table (context, exten, priority, app, appdata) VALUES +('default', '1001', 30, 'VoiceMail', '1001@default,u'), +('default', '1001', 40, 'Hangup', ''), +('default', '1002', 30, 'VoiceMail', '1002@default,u'), +('default', '1002', 40, 'Hangup', ''), +('default', '1003', 30, 'VoiceMail', '1003@default,u'), +('default', '1003', 40, 'Hangup', ''); + +select * from extensions_table; + +SHOW INDEXES FROM extensions_table; + +ALTER TABLE extensions_table DROP INDEX exten; + + +ALTER TABLE extensions_table DROP PRIMARY KEY; + +ALTER TABLE extensions_table ADD PRIMARY KEY (context, exten, priority); + +ALTER TABLE extensions_table ADD UNIQUE INDEX unique_exten (context, exten, priority); + +SELECT * FROM extensions_table WHERE exten IN ('1001', '1002', '1003') ORDER BY exten, priority; + + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '555', 2, 'Playback', 'vm-theperson'); + +delete from extensions_table where appdata = 'vm-theperson'; +select * from voicemail_users; +select * from extensions_table; + +SHOW TABLES; +SELECT * FROM extensions_table WHERE context = 'default' ORDER BY exten, priority; + +DESCRIBE extensions_table; +SELECT * FROM extensions_table WHERE context = 'default' AND exten = '1003'; + + +SHOW INDEXES FROM extensions_table; + + + + + +UPDATE extensions_table +SET appdata = CONCAT(SUBSTRING_INDEX(appdata, ',', 1), ',su') +WHERE app = 'VoiceMail' AND priority = 2; + + +select * from extensions_table; + +delete from extensions_table where exten ='9999'; + +UPDATE extensions_table +SET appdata = CONCAT(SUBSTRING_INDEX(appdata, '@', 1), '@default,s') +WHERE app = 'VoiceMail'; +SELECT * FROM voicemail_users WHERE mailbox = '1002'; +show tables; +select * from voicemail_users; + + + +-- changes in dialplan --- + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES +('default', '1002', 6, 'GotoIf', '${DIALSTATUS}=BUSY?default,1002,30'), +('default', '1002', 7, 'GotoIf', '${DIALSTATUS}=CHANUNAVAIL?default,1002,30'), +('default', '1002', 8, 'GotoIf', '${DIALSTATUS}=NOANSWER?default,1002,30'); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES +('default', '1003', 6, 'GotoIf', '${DIALSTATUS}=BUSY?default,1003,30'), +('default', '1003', 7, 'GotoIf', '${DIALSTATUS}=CHANUNAVAIL?default,1003,30'), +('default', '1003', 8, 'GotoIf', '${DIALSTATUS}=NOANSWER?default,1003,30'); + +select * from extensions_table; + + +UPDATE extensions_table +SET appdata = '${DIALSTATUS}=BUSY?default,1002,30' +WHERE exten = '1002' AND priority = 6; + + +UPDATE extensions_table +SET appdata = '${DIALSTATUS}=CHANUNAVAIL?default,1002,30' +WHERE exten = '1002' AND priority = 7; + +UPDATE extensions_table +SET appdata = '${DIALSTATUS}=NOANSWER?default,1002,30' +WHERE exten = '1002' AND priority = 8; + +UPDATE extensions_table +SET appdata = '${DIALSTATUS}=BUSY?default,1003,30' +WHERE exten = '1003' AND priority = 6; + +UPDATE extensions_table +SET appdata = '${DIALSTATUS}=CHANUNAVAIL?default,1003,30' +WHERE exten = '1003' AND priority = 7; + +UPDATE extensions_table +SET appdata = '${DIALSTATUS}=NOANSWER?default,1003,30' +WHERE exten = '1003' AND priority = 8; + + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1002', 3, 'Goto', 'default,1002,6'); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1003', 3, 'Goto', 'default,1003,6'); + + +-- change end --------------- + + +desc extensions_table; +select * from extensions_table; + + +-- id|context|exten|priority|app |appdata | +-- --+-------+-----+--------+-----------+-----------------------------------------+ +-- 1|default|1001 | 2|Dial |PJSIP/1001,20,m(default) | +-- 2|default|1002 | 2|Dial |PJSIP/1002,20,m(default) | +-- 3|default|1003 | 2|Dial |PJSIP/1003,20,m(default) | +-- 4|default|1001 | 1|MixMonitor |1001-${UNIQUEID}.wav,b | +-- 5|default|1002 | 1|MixMonitor |1002-${UNIQUEID}.wav,b | +-- 6|default|1003 | 1|MixMonitor |1003-${UNIQUEID}.wav,b | +-- 8|default|1001 | 3|GotoIf |${DIALSTATUS}=BUSY?default,1002,1 | +-- 9|default|1001 | 4|GotoIf |${DIALSTATUS}=CHANUNAVAIL?default,1002,1 | +-- 10|default|1001 | 5|GotoIf |${DIALSTATUS}=NOANSWER?default,1002,1 | +-- 11|default|1001 | 20|MusicOnHold|default | +-- 12|default|1002 | 20|MusicOnHold|default | +-- 13|default|1003 | 20|MusicOnHold|default | +-- 14|default|1001 | 30|VoiceMail |1001@default,u | +-- 15|default|1001 | 40|Hangup | | +-- 16|default|1002 | 30|VoiceMail |1002@default,u | +-- 17|default|1002 | 40|Hangup | | +-- 18|default|1003 | 30|VoiceMail |1003@default,u | +-- 19|default|1003 | 40|Hangup | | +-- 20|default|1002 | 6|GotoIf |${DIALSTATUS}=BUSY?default,1002,30 | +-- 21|default|1002 | 7|GotoIf |${DIALSTATUS}=CHANUNAVAIL?default,1002,30| +-- 22|default|1002 | 8|GotoIf |${DIALSTATUS}=NOANSWER?default,1002,30 | +-- 23|default|1003 | 6|GotoIf |${DIALSTATUS}=BUSY?default,1003,30 | +-- 24|default|1003 | 7|GotoIf |${DIALSTATUS}=CHANUNAVAIL?default,1003,30| +-- 25|default|1003 | 8|GotoIf |${DIALSTATUS}=NOANSWER?default,1003,30 | +-- 26|default|1002 | 3|Goto |default,1002,6 | +-- 27|default|1003 | 3|Goto |default,1003,6 | + + +SELECT * FROM extensions_table +WHERE context = 'conscious-handoff'; + +USE asterisk_db; +SELECT context, exten, priority, app, appdata +FROM extensions_table +WHERE context = 'conscious-handoff'; + +select * from extensions_table; + + +-- -- -- -- forwarding -- -- -- -- + + +-- 1001 to 1002 if not answered or unavailable +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1001', 2, 'Dial', 'PJSIP/1001,20,m(default)'); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1003', 2, 'Dial', 'PJSIP/1003,20,m(default)'); + +-- MixMonitor for each extension +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1001', 1, 'MixMonitor', '1001-${UNIQUEID}.wav,b'); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1002', 1, 'MixMonitor', '1002-${UNIQUEID}.wav,b'); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1003', 1, 'MixMonitor', '1003-${UNIQUEID}.wav,b'); + +-- Redirection for Busy, NoAnswer, etc. +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1001', 3, 'GotoIf', '${DIALSTATUS}=BUSY?default,1002,1'); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1001', 4, 'GotoIf', '${DIALSTATUS}=CHANUNAVAIL?default,1002,1'); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1001', 5, 'GotoIf', '${DIALSTATUS}=NOANSWER?default,1002,1'); + +-- Music on Hold +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1001', 20, 'MusicOnHold', 'default'); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1002', 20, 'MusicOnHold', 'default'); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1003', 20, 'MusicOnHold', 'default'); + +-- Voicemail and Hangup +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1001', 30, 'VoiceMail', '1001@default,u'); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1001', 40, 'Hangup', ''); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1002', 30, 'VoiceMail', '1002@default,u'); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1002', 40, 'Hangup', ''); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1003', 30, 'VoiceMail', '1003@default,u'); + +INSERT INTO extensions_table (context, exten, priority, app, appdata) +VALUES ('default', '1003', 40, 'Hangup', ''); + + +-- -- -- -- forwarding end -- -- -- diff --git a/MySQL_conf_pbx/test1/dial_plan_and_Ext.sql b/MySQL_conf_pbx/test1/sql-scripts/dial_plan_and_Ext.sql similarity index 100% rename from MySQL_conf_pbx/test1/dial_plan_and_Ext.sql rename to MySQL_conf_pbx/test1/sql-scripts/dial_plan_and_Ext.sql diff --git a/MySQL_conf_pbx/test1/theAlter.sql b/MySQL_conf_pbx/test1/sql-scripts/theAlter.sql similarity index 100% rename from MySQL_conf_pbx/test1/theAlter.sql rename to MySQL_conf_pbx/test1/sql-scripts/theAlter.sql diff --git a/MySQL_conf_pbx/test1/three_users.sql b/MySQL_conf_pbx/test1/sql-scripts/three_users.sql similarity index 100% rename from MySQL_conf_pbx/test1/three_users.sql rename to MySQL_conf_pbx/test1/sql-scripts/three_users.sql diff --git a/MySQL_conf_pbx/test1/voicemaiDbSchema.sql b/MySQL_conf_pbx/test1/sql-scripts/voicemaiDbSchema.sql similarity index 100% rename from MySQL_conf_pbx/test1/voicemaiDbSchema.sql rename to MySQL_conf_pbx/test1/sql-scripts/voicemaiDbSchema.sql