Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app_mysql removed in Asterisk 19 #5

Open
lgaetz opened this issue Apr 26, 2024 · 3 comments
Open

app_mysql removed in Asterisk 19 #5

lgaetz opened this issue Apr 26, 2024 · 3 comments

Comments

@lgaetz
Copy link

lgaetz commented Apr 26, 2024

https://docs.asterisk.org/Development/Asterisk-Module-Deprecations/

Dynroutes currently relies on the asterisk MYSQL diaplan applications for MYSQL lookups, but they were removed in Asterisk 19. FreePBX 17 is not expected to support any asterisk versions under 20.

The Caller ID Lookup module got around this limitation by using an AGI, would could be adapted for dynroutes
https://github.com/FreePBX/cidlookup/blob/release/17.0/agi-bin/cidlookup_mysql.agi

@johnfawcett
Copy link
Contributor

That would work since AGI is already supported. Another possibility is to use ODBC which is also suppported. That would require setting up odbc in asterisk - I'm not sure if there's a module already available for that but if not it could be a good addition to freepbx.

@lgaetz
Copy link
Author

lgaetz commented May 1, 2024

FreePBX currently only uses odbc for cdr stuff. I don't recall where in freepbx this is setup, CDR module or perhaps even framework.

vultr*CLI> odbc show all

ODBC DSN Settings
-----------------

  Name:   asteriskcdrdb
  DSN:    MySQL-asteriskcdrdb
    Number of active connections: 2 (out of 5)
    Logging: Disabled

@johnfawcett
Copy link
Contributor

I can see asterisk config file settings for odbc in the cdr module. I cannot see where /etc/odbc.ini gets written, though it contains the asterisk cdr DSN definition, so was not installed by the system install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants