[Home]

Summary:ASTERISK-11017: Asterisk crash when call hung up
Reporter:Diego (equissoftware)Labels:
Date Opened:2007-12-12 06:34:02.000-0600Date Closed:2007-12-12 10:53:28.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:CDR/cdr_pgsql
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) coreTrace.txt
Description:My Asterisk is crashing when it try to register cdr in postgres
With 1.4.12 it doesn´t happend.

I have this messages at the compilation time.
...
[LD] res_config_odbc.o -> res_config_odbc.so
  [CC] res_config_pgsql.c -> res_config_pgsql.o
res_config_pgsql.c: In function `realtime_pgsql':
res_config_pgsql.c:112: warning: implicit declaration of function `PQescapeStringConn'
  [LD] res_config_pgsql.o -> res_config_pgsql.so
...

****** ADDITIONAL INFORMATION ******

When Asterisk start it produce this console output:

asterisk: symbol lookup error: /usr/lib/asterisk/modules/cdr_pgsql.so: undefined symbol: PQescapeStringConn
Comments:By: Tilghman Lesher (tilghman) 2007-12-12 10:16:23.000-0600

What version of PostgreSQL do you have installed?

By: Digium Subversion (svnbot) 2007-12-12 10:50:10.000-0600

Repository: asterisk
Revision: 92463

U   branches/1.4/configure
U   branches/1.4/configure.ac
U   branches/1.4/include/asterisk/autoconfig.h.in

------------------------------------------------------------------------
r92463 | tilghman | 2007-12-12 10:50:10 -0600 (Wed, 12 Dec 2007) | 4 lines

Test directly for the API that fixed AST-2007-026, to ensure that older
versions of PostgreSQL are no longer acceptable.
(Closes issue ASTERISK-11017)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=92463

By: Digium Subversion (svnbot) 2007-12-12 10:53:28.000-0600

Repository: asterisk
Revision: 92476

_U  trunk/
U   trunk/configure
U   trunk/configure.ac
U   trunk/include/asterisk/autoconfig.h.in

------------------------------------------------------------------------
r92476 | tilghman | 2007-12-12 10:53:27 -0600 (Wed, 12 Dec 2007) | 12 lines

Merged revisions 92463 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r92463 | tilghman | 2007-12-12 10:52:56 -0600 (Wed, 12 Dec 2007) | 4 lines

Test directly for the API that fixed AST-2007-026, to ensure that older
versions of PostgreSQL are no longer acceptable.
(Closes issue ASTERISK-11017)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=92476