Hi All,
About a month ago I switched to Astlinux and greatly simplified my hardware and power consumption. The only problem I found is the lack of a mysql clinet. Here's the reason. When a customer calls and pays by credit or debit card I gather their account number by DTMF and search for it in a mysql database to get their balance and other things. Here is the error I get: [May 11 14:01:50] DTMF[13597]: channel.c:2303 __ast_read: DTMF end '1' received on SIP/100-00000778, duration 0 ms [May 11 14:01:50] DTMF[13597]: channel.c:2345 __ast_read: DTMF end accepted without begin '1' on SIP/100-00000778 [May 11 14:01:50] DTMF[13597]: channel.c:2356 __ast_read: DTMF end passthrough '1' on SIP/100-00000778 pbx*CLI> pbx*CLI> pbx*CLI> pbx*CLI> pbx*CLI> pbx*CLI> pbx*CLI> == CDR updated on SIP/100-00000778 -- Executing [...@getacct:1] AGI("SIP/100-00000778", "verifyacct.agi|1015800") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/verifyacct.agi AGI Tx >> agi_request: verifyacct.agi AGI Tx >> agi_channel: SIP/100-00000778 AGI Tx >> agi_language: en AGI Tx >> agi_type: SIP AGI Tx >> agi_uniqueid: 1273600890.2539 AGI Tx >> agi_callerid: 100 AGI Tx >> agi_calleridname: StarLight Cable AGI Tx >> agi_callingpres: 0 AGI Tx >> agi_callingani2: 0 AGI Tx >> agi_callington: 0 AGI Tx >> agi_callingtns: 0 AGI Tx >> agi_dnid: 2 AGI Tx >> agi_rdnis: unknown AGI Tx >> agi_context: getacct AGI Tx >> agi_extension: 1 AGI Tx >> agi_priority: 1 AGI Tx >> agi_enhanced: 0.0 AGI Tx >> agi_accountcode: AGI Tx >> AGI Rx << <br /> AGI Tx >> 510 Invalid or unknown command AGI Rx << <b>Fatal error</b>: Call to undefined function mysql_connect() in <b>/stat/var/lib/asterisk/agi-bin/verifyacct.agi</b> on line <b>7</b><br /> AGI Tx >> 510 Invalid or unknown command -- AGI Script verifyacct.agi completed, returning 0 Any Ideas? Thanks, Eric
------------------------------------------------------------------------------
_______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.