[asterisk-users] Switched from Asterisk 1.8 to 13 - CDR ringtime now always zero (Joshua C. Colp)

Joshua C. Colp jcolp at digium.com
Wed Jan 9 05:00:52 CST 2019

On Wed, Jan 9, 2019, at 6:08 AM, Tony Mountifield wrote:
> In article <009d01d4a7e0$af2e0a50$0d8a1ef0$@verishare.co.za>,
> Stefan Viljoen <viljoens at verishare.co.za> wrote:
> > Regarding this I've read the specs linked to in detail, but I can find no mention anywhere of any change that implies or
> > states that no ring time will be recorded anymore in Asterisk 13 and that all times in start and answer columns will now
> > be equal for all calls.
> > 
> > Can this be because I nowhere use the Answer() application in my dialplan when dialing out?
> You shouldn't Answer() the originating channel before calling Dial() on it.
> You should allow Dial() to propagate the answer, busy or other failure from
> the destination channel back to the originating channel.
> Is it possible that the setup part of the call (between initiation and answer)
> is recorded in a separate CDR?

An excellent question. Unlike in the past versions calls can actually generate multiple CDRs because CDRs now represent the flow of communication between things.

Providing the actual CDR records that were generated as well as console output would allow better understanding of what is going on.

Joshua C. Colp
Digium - A Sangoma Company | 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-users mailing list