diff -r astrad012/files/script/ast-rad-acc.pl astrad013/files/script/ast-rad-acc.pl 27d26 < #TODO Test if when call is not answered a stop originate and a stop answer is sent (to have CDR) 531a531,532 > $cdr{'LINK_START2'} = $cdr{'LINK_END'} if (!defined $cdr{'LINK_START2'}); > $cdr{'ACCOUNTCODE'} = $cdr{'CALLERID'} if (!defined $cdr{'ACCOUNTCODE'} || $cdr{'ACCOUNTCODE'} eq ''); 561d561 < 573c573 < $r->add_attributes ( { Name => 'h323-connect-time', Value => format_date_gmt($cdr{'LINK_START2'}) } ); --- > $r->add_attributes ( { Name => 'h323-connect-time', Value => format_date_gmt($cdr{'LINK_START'}) } ); 590c590 < $data{'H323_connect_time'} = format_date_sql($cdr{'LINK_START2'}); --- > $data{'H323_connect_time'} = format_date_sql($cdr{'LINK_START'});