Hi, I'm having problems with CDR's and Queues in Asterisk 1.6.1. Heres three examples: Normal call: User A calls in to asterisk, gets a PlayFile, and hangs up. This gives 1 CDR as expected. Call to a Queue and then a playfile afterwards: User A calls into asterisk, goes into a queue, asterisk calls user B. When user B hangs up a CDR for User A is generated. (no CDR for user B) User A continues to a PlayFile, and then hangs up. No CDR. Call directly to a Queue: User A calls into asterisk, goes into a queue, asterisk calls user B. When anyone hangs up, a CDR for User A is generated. No more CDR, both calls are hung up. 1. Why is CDR for user A written when user B hangs up, while A is still on the line? 2. Why isn't there any more CDRs for the call? Is there some special configuration I need to do, that I can't seem to find any documentation of? I tried searching for "asterisk queue cdr" on google, but I only get info about queue_log, which is not what I want. I want numbers and channels written as usual in the cdr log. Anyone have any ideas why this is happening, and what I can do? H?kon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100127/bec0dd65/attachment.htm
Just a shot in the dark ? what is the endbeforehexten value in cdr.conf? _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of H?kon Nessj?en Sent: Wednesday, January 27, 2010 7:59 AM To: Asterisk Users Mailing List Subject: [asterisk-users] CDR problems with Queue Hi, I'm having problems with CDR's and Queues in Asterisk 1.6.1. Heres three examples: Normal call: User A calls in to asterisk, gets a PlayFile, and hangs up. This gives 1 CDR as expected. Call to a Queue and then a playfile afterwards: User A calls into asterisk, goes into a queue, asterisk calls user B. When user B hangs up a CDR for User A is generated. (no CDR for user B) User A continues to a PlayFile, and then hangs up. No CDR. Call directly to a Queue: User A calls into asterisk, goes into a queue, asterisk calls user B. When anyone hangs up, a CDR for User A is generated. No more CDR, both calls are hung up. 1. Why is CDR for user A written when user B hangs up, while A is still on the line? 2. Why isn't there any more CDRs for the call? Is there some special configuration I need to do, that I can't seem to find any documentation of? I tried searching for "asterisk queue cdr" on google, but I only get info about queue_log, which is not what I want. I want numbers and channels written as usual in the cdr log. Anyone have any ideas why this is happening, and what I can do? H?kon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100127/af76523e/attachment.htm
On Wed, Jan 27, 2010 at 3:37 PM, Danny Nicholas <danny at debsinc.com> wrote:> Just a shot in the dark ? what is the endbeforehexten value in cdr.conf? >It was not defined. And the result was the same either it was set to yes or no. The cdr closing when user B hangs up, gets the full duration of call A at that point. And no more cdrs exists. H?kon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100127/572b2713/attachment.htm