I have read that mySQL application is depreceated and is no longer supported. I had written this code using mySQL application
exten => s,2,MYSQL(Connect connid Server Username Password Database)
exten => s,3,MYSQL(Query resultid {connid} CALL spFindAgent({CallID}))
exten => s,4,MYSQL(Fetch fetchid ${resultid} AgentID AgentExtension IPAddress MessageToSend);
how do I do something similar with ODBC connectivity. Thanks