[Asterisk-Dev] RE: MYSQL application

Holger Schurig hs4233 at mail.mn-solutions.de
Tue Aug 3 23:58:40 MST 2004


> 	ODBC(Connect DSN connID ...)
> 	ODBC(Query ${connID} resultID ...)
> 	ODBC(Fetch ${resultID} fetchID...)
> 	ODBC(Disconnect ${connID} ...)
> 	ODBC(Clear${resultID}

Make it either:

        ODBC(Connect,DSN)
        ODBC(Query,connid,resultid)

or better:

        ODBCConnect(dns)
        ODBCQuery(connid,resultid)


In other words: we delimit usually with comma, not with spaces. And we 
usually don't have command parts in the options, so cram this into the 
command itself.




More information about the asterisk-dev mailing list