Example of MusicOnHold mealtime with redis and ODBC


Does anyone have an example of using Asterisk MOH Real time + ODBC to Redis? I found examples on how to set ODBC to work with resids but I never worked with MOH+ODBC. I have used curl and mysql. When using curl if I respond back with the values Asterisk expects (e.g. name=my_radio&mode=custom&application=/etc/asterisk/stream.sh) then it works great. If I use MYSQL so long as there is a column name,mode and application it works. How would it work when using redis? Does anyone have an example? I could create a shim that would listen on port 80, check redis and respond back but I would like to avoid that if at all possible.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.