Help guide
This commit is contained in:
parent
6d697f9a45
commit
fb39cad3e4
BIN
heplme/Asterisk odbc steps.docx
Normal file
BIN
heplme/Asterisk odbc steps.docx
Normal file
Binary file not shown.
BIN
heplme/Asterisk odbc steps.odt
Normal file
BIN
heplme/Asterisk odbc steps.odt
Normal file
Binary file not shown.
BIN
heplme/Asterisk- The Definitive Guide, 4th Edition.pdf
Normal file
BIN
heplme/Asterisk- The Definitive Guide, 4th Edition.pdf
Normal file
Binary file not shown.
33
heplme/note.txt
Normal file
33
heplme/note.txt
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
;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"
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user