Upgrade asterisk-addons-1.4.5 cdr_pgsql crash

All was fine i upgraded asterisk-addons-1.4.5.

when i get a call and hangup the server stops and goes to the command prompt. I’ve found the problem. It’s the cdr_pgsql.so module. The fix was to unload it.

Can you all look into this. The error i got was…

-- Called office
-- Call accepted by 192.168.0.122 (format gsm)
-- Format for call is gsm
-- SIP/office-08201b80 is ringing
-- IAX2/notebook-6 is ringing
-- IAX2/notebook-6 answered SIP/rawle-081fc1e8
-- Hungup 'IAX2/notebook-6'

== Spawn extension (inbound, 1105, 1) exited non-zero on 'SIP/rawle-081fc1e8’
asterisk: symbol lookup error: /usr/lib/asterisk/modules/cdr_pgsql.so: undefined symbol: PQescapeStringConn