[asterisk-users] Howto build Asterisk 14 on debian stretch with cdr_odbc
This is a summary of my experience. The point is installing unixodbc before asterisk. Install debian packages needed for asterisk : apt install build-essential libxml2-dev libncurses5-dev uuid-dev libjansson-dev libssl-dev wget sqlite3 libsqlite3-dev Install debian packages for ocbd for asterisk (here postgresql): apt install libltdl-dev libltdl7 unixodbc-dev unixodbc libodbc1 odbc-postgresql odbcinst Then install and test your odbc asterisk connector with isql for exemple. Then follow instructions from https://wiki.asterisk.org/wiki/display/AST/Installing+Asterisk+From+Source Do not forget to install logrotate mechanism. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to build with cdr_adaptive_odbc ?
Thank you very much, Marcello. You got it. The point is to restart .configure AFTER installing these pakcages. PC On 04/20/2017 01:13 PM, Marcelo Terres wrote: Good question. I am running Asterisk 14 on Ubuntu 16.04 and I had this packages installed: ii libodbc1:amd64 2.3.1-4.1 amd64ODBC library for Unix ii odbc-postgresql:amd641:09.06.0200-1.pgdg14.04+1 amd64ODBC driver for PostgreSQL ii odbcinst 2.3.1-4.1 amd64Helper program for accessing odbc ini files ii odbcinst1debian2:amd64 2.3.1-4.1 amd64Support library for accessing odbc ini files ii unixodbc 2.3.1-4.1 amd64Basic ODBC tools ii unixodbc-dev 2.3.1-4.1 amd64ODBC libraries for UNIX (development files) ii libltdl-dev:amd642.4.6-0.1 amd64System independent dlopen wrapper for GNU libtool ii libltdl7:amd64 2.4.6-0.1 amd64System independent dlopen wrapper for GNU libtool Also, I really don't remember of having any kind of problems with odbc support. Did you have all this packages (or equivalents) installed too? Regards, Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On 19 April 2017 at 17:50, Pierre Couderc wrote: Than you very much. I use asterisk 14, and yes, menuselect shows me the need for generic_odbc(E), res_odbc_transaction(M) and ltdl(E) but what does this imply under debian ? I have unixodbc installed an tested and too libltdl-dev ! But what am I missing ? On 04/19/2017 10:10 AM, Marcelo Terres wrote: What version of Asterisk are you using? When I go to cdr_adaptative_odbc in Asterisk 14 it depends of res_odbc and res_odbc depends on: generic_odbc(E), res_odbc_transaction(M), ltdl(E) Regards, Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On 17 April 2017 at 23:36, nous wrote: Thank you, but unixodbc and odbcinst are installed... end even unixodbc-dev But I get the same need for "generic odbc(E)". On 17/04/2017 10:48, Marcelo Terres wrote: You need unixodbc and odbcinst packages too, to configure the odbc. []s Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On 13 April 2017 at 19:41, Pierre Couderc wrote: I use debian stretch and I have installed unixodbc-dev but I have a dependency on genreric_odbc in make menuselect What am I missing ? Is there an howto ? Thanks PX -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to build with cdr_adaptive_odbc ?
Thank you for this list, which helps me to be sure that the "good" packages are installed ! I have checked that all these packages are installed now. Now, I shall restart the install from the beginning and check again. Thank you. PC On 04/20/2017 01:13 PM, Marcelo Terres wrote: Good question. I am running Asterisk 14 on Ubuntu 16.04 and I had this packages installed: ii libodbc1:amd64 2.3.1-4.1 amd64ODBC library for Unix ii odbc-postgresql:amd641:09.06.0200-1.pgdg14.04+1 amd64ODBC driver for PostgreSQL ii odbcinst 2.3.1-4.1 amd64Helper program for accessing odbc ini files ii odbcinst1debian2:amd64 2.3.1-4.1 amd64Support library for accessing odbc ini files ii unixodbc 2.3.1-4.1 amd64Basic ODBC tools ii unixodbc-dev 2.3.1-4.1 amd64ODBC libraries for UNIX (development files) ii libltdl-dev:amd642.4.6-0.1 amd64System independent dlopen wrapper for GNU libtool ii libltdl7:amd64 2.4.6-0.1 amd64System independent dlopen wrapper for GNU libtool Also, I really don't remember of having any kind of problems with odbc support. Did you have all this packages (or equivalents) installed too? Regards, Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On 19 April 2017 at 17:50, Pierre Couderc wrote: Than you very much. I use asterisk 14, and yes, menuselect shows me the need for generic_odbc(E), res_odbc_transaction(M) and ltdl(E) but what does this imply under debian ? I have unixodbc installed an tested and too libltdl-dev ! But what am I missing ? On 04/19/2017 10:10 AM, Marcelo Terres wrote: What version of Asterisk are you using? When I go to cdr_adaptative_odbc in Asterisk 14 it depends of res_odbc and res_odbc depends on: generic_odbc(E), res_odbc_transaction(M), ltdl(E) Regards, Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On 17 April 2017 at 23:36, nous wrote: Thank you, but unixodbc and odbcinst are installed... end even unixodbc-dev But I get the same need for "generic odbc(E)". On 17/04/2017 10:48, Marcelo Terres wrote: You need unixodbc and odbcinst packages too, to configure the odbc. []s Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On 13 April 2017 at 19:41, Pierre Couderc wrote: I use debian stretch and I have installed unixodbc-dev but I have a dependency on genreric_odbc in make menuselect What am I missing ? Is there an howto ? Thanks PX -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to build with cdr_adaptive_odbc ?
Than you very much. I use asterisk 14, and yes, menuselect shows me the need for generic_odbc(E), res_odbc_transaction(M) and ltdl(E) but what does this imply under debian ? I have unixodbc installed an tested and too libltdl-dev ! But what am I missing ? On 04/19/2017 10:10 AM, Marcelo Terres wrote: What version of Asterisk are you using? When I go to cdr_adaptative_odbc in Asterisk 14 it depends of res_odbc and res_odbc depends on: generic_odbc(E), res_odbc_transaction(M), ltdl(E) Regards, Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On 17 April 2017 at 23:36, nous wrote: Thank you, but unixodbc and odbcinst are installed... end even unixodbc-dev But I get the same need for "generic odbc(E)". On 17/04/2017 10:48, Marcelo Terres wrote: You need unixodbc and odbcinst packages too, to configure the odbc. []s Marcelo H. Terres IM: mhter...@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres On 13 April 2017 at 19:41, Pierre Couderc wrote: I use debian stretch and I have installed unixodbc-dev but I have a dependency on genreric_odbc in make menuselect What am I missing ? Is there an howto ? Thanks PX -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] How to build with cdr_adaptive_odbc ?
I use debian stretch and I have installed unixodbc-dev but I have a dependency on genreric_odbc in make menuselect What am I missing ? Is there an howto ? Thanks PX -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users