Sebastian Gutierrez
2008-Nov-06 18:27 UTC
[asterisk-users] ODBCExec and Asterisk 1.6 New Thread
Ok, sorry for the response on the same thread. This is a new one. The main thing is that with this I set the Store Procedure or Query directly on the dialplan line, is easier to configure, change, manage, etc. I also know that works great with heavy load, and it reconnects when the network goes down and up. Can you help me porting this app? I think woun`t be difficult for someone that has port other app. Attachments: (app_odbcexec) working great on 1.2 (app_odbcexec1.6) my try to port to 1.6 Any idea?? Anybody? Should this be on development list? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081106/21c04498/attachment.htm -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: app_odbcexec.c Url: http://lists.digium.com/pipermail/asterisk-users/attachments/20081106/21c04498/attachment.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: app_odbcexec1.6.c Url: http://lists.digium.com/pipermail/asterisk-users/attachments/20081106/21c04498/attachment-0001.txt
Tilghman Lesher
2008-Nov-06 18:52 UTC
[asterisk-users] ODBCExec and Asterisk 1.6 New Thread
On Thursday 06 November 2008 12:27:05 Sebastian Gutierrez wrote:> The main thing is that with this I set the Store Procedure or Query > directly on the dialplan line, is easier to configure, change, manage, etc. > > I also know that works great with heavy load, and it reconnects when the > network goes down and up.You can do the same with func_odbc. While templates may make your job easier, you certainly can use whatever syntax you like. And func_odbc manages connections properly, as well. Please also note that a good majority of the folks who would be qualified to look at your app are forbidden to do so, as you have not signed a license for contributions, and even looking at unlicensed code may affect how we code. -- Tilghman
Sebastian Gutierrez
2008-Nov-07 00:59 UTC
[asterisk-users] ODBCExec and Asterisk 1.6 New Thread
Dou you have any example? Can I call directly to querys without the templates??? Thanks! -----Mensaje original----- De: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] En nombre de Tilghman Lesher Enviado el: Thursday, November 06, 2008 4:53 PM Para: Asterisk Users Mailing List - Non-Commercial Discussion Asunto: Re: [asterisk-users] ODBCExec and Asterisk 1.6 New Thread On Thursday 06 November 2008 12:27:05 Sebastian Gutierrez wrote:> The main thing is that with this I set the Store Procedure or Query > directly on the dialplan line, is easier to configure, change, manage,etc.> > I also know that works great with heavy load, and it reconnects when the > network goes down and up.You can do the same with func_odbc. While templates may make your job easier, you certainly can use whatever syntax you like. And func_odbc manages connections properly, as well. Please also note that a good majority of the folks who would be qualified to look at your app are forbidden to do so, as you have not signed a license for contributions, and even looking at unlicensed code may affect how we code. -- Tilghman _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Tilghman Lesher
2008-Nov-07 04:50 UTC
[asterisk-users] ODBCExec and Asterisk 1.6 New Thread
On Thursday 06 November 2008 18:59:29 Sebastian Gutierrez wrote:> Dou you have any example? Can I call directly to querys without the > templates???func_odbc.conf: [EXEC] read=${ARG1} write=${ARG1} dsn=something extensions.conf: exten => 123,1,Set(result=${ODBC_EXEC(SELECT foo FROM bar)}) -- Tilghman
Sebastian Gutierrez
2008-Nov-07 13:51 UTC
[asterisk-users] ODBCExec and Asterisk 1.6 New Thread
Thanks, I also ported my app to 1.6. -----Mensaje original----- De: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] En nombre de Tilghman Lesher Enviado el: Friday, November 07, 2008 2:51 AM Para: Asterisk Users Mailing List - Non-Commercial Discussion Asunto: Re: [asterisk-users] ODBCExec and Asterisk 1.6 New Thread On Thursday 06 November 2008 18:59:29 Sebastian Gutierrez wrote:> Dou you have any example? Can I call directly to querys without the > templates???func_odbc.conf: [EXEC] read=${ARG1} write=${ARG1} dsn=something extensions.conf: exten => 123,1,Set(result=${ODBC_EXEC(SELECT foo FROM bar)}) -- Tilghman _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users