I’ve been struggling with this problem for days now. I am trying to get Asterisk to connect to a MySQL database which contains the peers, and update from this with the realtime mapping.
I do this by way of ODBC, as the different guides I’ve found on the subject suggested. And have followed this guide from start to finish, adjusting the commands as needed to work with Ubuntu 16.04 https://wiki.asterisk.org/wiki/display/AST/Getting+Asterisk+Connected+to+MySQL+via+ODBC.
I have the edited the extconfig.conf file as per the instructions found here: https://www.voip-info.org/wiki/view/Asterisk+RealTime
However when I go to show connected peers, I instead get the static peers from the sip.conf file and a warning from the CLI:
WARNING: config.c:3050 find_engine: Realtime mapping for ‘sippeers’ found to engine ‘odbc’, but the engine is not available
What am I doing wrong here? I’m at my wits end.