[asterisk-users] CDR Problem - No CDRs when call is not bridged

Klaus Darilion klaus.mailinglists at pernau.at
Wed Aug 5 07:17:18 CDT 2009


FYI: I checked the sources and Asterisk does write CDRs only if the call 
in answered locally or forwarded to an outgoing channel.

Thus, as workaround I wrapped the extensions behind Dial(Local/...)

regards
klaus

Klaus Darilion schrieb:
> Hi!
> 
> I just found out that Asterisk (1.4) does not write CDRs if the incoming 
> call was not forwarded but handled internally without answering the call.
> 
> E.g.:
> 
> [from_pstn]
> exten => 997,1,Answer()
> exten => 997,2,Playback(tt-weasels)
> exten => 997,3,Hangup()
> 
> exten => 999,1,Playback(tt-weasels|noanswer)
> exten => 999,4,Hangup()
> 
> 
> For incoming calls to 997 a CDR will be written, but not for 999.
> 
> How can I change this behavior?
> 
> Thanks
> Klaus
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list