call_log.agi not inserting rows into call_log table

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

call_log.agi not inserting rows into call_log table

Postby bornskinny » Thu Oct 26, 2006 1:47 am

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.
bornskinny
 
Posts: 3
Joined: Thu Oct 26, 2006 1:41 am

Postby bornskinny » Thu Oct 26, 2006 2:04 am

I am also seeing the following on the remote console tty9

can't open /var/log/astguiclient/agiout.2006-10-26: Permission denied

The /var/log/astguiclient/ directory is owned by asterisk:asterisk with the following 0666

Cheers.
bornskinny
 
Posts: 3
Joined: Thu Oct 26, 2006 1:41 am

Postby bornskinny » Thu Oct 26, 2006 11:37 pm

sorted, needed to change permissions on the PATHlogs directory to 0755.
bornskinny
 
Posts: 3
Joined: Thu Oct 26, 2006 1:41 am


Return to Support

Who is online

Users browsing this forum: No registered users and 105 guests