I'm not seeing a call_log record created in MySQL DB when making an outbound call like so -
[long-distance]
exten => _1NXXNXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _1NXXNXXXXXX,2,dial(SIP/${EXTEN}@out-bv_line_1,${RINGTIMER})
exten => _1NXXNXXXXXX,3,congestion()
I see the following on the * CLI
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
If I execute the perl script from the OS I see that a row is inserted into the cdr_log table. Any help troubleshooting would be appreciated.
I am running * 1.2.12.1.
Cheers.