Murthy Gandikota
2013-Oct-04 22:26 UTC
[asterisk-users] multiple resetcdr calls have no effect
Hi All My dial plan has the following context: [sip-guest] exten => _!.,1, Answer exten => _!.,n, verbose(1,[${EXTEN}@${CONTEXT}]) exten => _!.,n, resetcdr(w) exten => _!.,n, resetcdr(w) exten => _!.,n, set(DNIS=${EXTEN}) exten => _!.,n, resetcdr(w) exten => _!.,n, hangup() I expected at least 3 CDR's in MySQL. I see only one. Tried playing with cdr.conf settings but apparently they have no effect. The cdr_mysql.conf is pretty generic. *CLI> cdr show status Call Detail Record (CDR) settings ---------------------------------- Logging: Enabled Mode: Batch Log unanswered calls: No Log congestion: No * Batch Mode Settings ------------------- Safe shutdown: Enabled Threading model: Scheduler only Current batch size: 0 records Maximum batch size: 3 records Maximum batch time: 1 second Next batch processing time: 0 seconds * Registered Backends ------------------- mysql Adaptive ODBC csv cdr-custom I checked /var/log/asterisk/cdr-csv/Master.csv. There is only one record for the call. Expected the resetcdr to be synchronous. Any help would be gratefully acknowledged. Thanks Murthy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131004/ad770356/attachment.html>
Murthy Gandikota
2013-Oct-07 14:02 UTC
[asterisk-users] Multiple resetcdr calls have no effect
Hi All Using Asterisk 11. My dial plan has the following context: [sip-guest] exten => _!.,1, Answer exten => _!.,n, verbose(1,[${EXTEN}@${CONTEXT}]) exten => _!.,n, resetcdr(w) exten => _!.,n, resetcdr(w) exten => _!.,n, set(DNIS=${EXTEN}) exten => _!.,n, resetcdr(w) exten => _!.,n, hangup() I expected at least 3 CDR's in MySQL. I see only one. Tried playing with cdr.conf settings but apparently they have no effect. The cdr_mysql.conf is pretty generic. *CLI> cdr show status Call Detail Record (CDR) settings ---------------------------------- Logging: Enabled Mode: Batch Log unanswered calls: No Log congestion: No * Batch Mode Settings ------------------- Safe shutdown: Enabled Threading model: Scheduler only Current batch size: 0 records Maximum batch size: 3 records Maximum batch time: 1 second Next batch processing time: 0 seconds * Registered Backends ------------------- mysql Adaptive ODBC csv cdr-custom I checked /var/log/asterisk/cdr-csv/Master.csv. There is only one record for the call. Expected the resetcdr to be synchronous. Any help would be gratefully acknowledged. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131007/990fb0be/attachment.html>