Summary:ASTERISK-01843: CDR update is delayed if the called party hangsup
Reporter:umarsear (umarsear)Labels:
Date Opened:2004-06-16 17:42:12Date Closed:2011-06-07 14:10:10
Versions:Frequency of
Description:I have an AGI script that calls app_dial. After dial returns, I look at the CDR update the calling partys account (its a sort of a prepaid script).

Now if the calling party hangsup, or dial hangsup after time out or call limit, the cdr is updated immediately. However if the called party hangs up the cdr is not updated till after my script ends, infact I can't catch it in extension h either.

I would expect the channell to hangup and behave the same in all cases, am I wrong in expecting this behaviour ?


Using : Asterisk CVS-HEAD-06/02/04-15:25:09
Using : Addon-mysql-cdr
Comments:By: Mark Spencer (markster) 2004-06-16 20:22:07

The CDR is generated at the termination of handling through the PBX.  I do not believe this is a bug, but find a bug marshal on IRC (http://bugs.digium.com has a list).  If they confirm it's a bug then you can reopen this.