cezenGIT/heplme/note.txt
2025-03-12 18:10:30 +05:30

34 lines
900 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;install odbc on asterisk running container
This installs:
asterisk-odbc → Asterisk's ODBC module
unixodbc → ODBC driver manager
unixodbc-dev → Development files for ODBC
mariadb-client → MySQL/MariaDB client tools (for testing)
sudo docker exec -it mat_asterisk sh -c "apk add --no-cache asterisk-odbc unixodbc unixodbc-dev mariadb-client"
THEN CHECK USING THIS
1⃣ Check If ODBC Modules Are Available
Run this command inside your Asterisk container:
sh
Copy
Edit
sudo docker exec -it mat_asterisk ls /usr/lib/asterisk/modules | grep odbc
This should list files like:
Copy
Edit
res_odbc.so
res_config_odbc.so
cdr_odbc.so
cel_odbc.so
func_odbc.so
If res_odbc.so and res_config_odbc.so are missing, then ODBC support is not installed in Asterisk.
SEEMS to be THE ONLY AVAILABLE for the alpine linux connector
sudo docker exec -it mat_asterisk sh -c "apk add --no-cache unixodbc"