[asterisk-dev] hangup handlers & unwanted cdr

Joshua Colp jcolp at digium.com
Fri Jun 2 09:21:08 CDT 2017


On Fri, Jun 2, 2017, at 11:15 AM, marek cervenka wrote:
> hi,
> 
> i'm using hangup handlers on Asterisk13
> 
> with standard answered calls i have 1 CDR per call
> 
> with scenario call from voip->mobile, call rejected on mobile i have 2
> CDRs
> 
> 
> i dont want the second CDR
> 
> without hangup handlers i have 1 CDR
> 
> 
> do you think its bug or its feature of hangup handlers?

CDRs in Asterisk 12 and above were changed such that information isn't
lost. This can result in multiple CDR records for each path of
communication. In this case what have you set for "endbeforehexten" in
the cdr.conf file?

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list