[asterisk-dev] CDR issue with dial-app / generating extra cdr
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Nov 10 07:53:41 CST 2010
Am 10.11.2010 14:43, schrieb Thorsten Göllner:
> Hi,
>
> as far as I know my problem is not a bug but wanted behaviour. Let's
> assume the following dialplan:
> exten => 123,1,Answer
> exten => 123,n,Dial(DAHDI/g0/00492112233,20,g)
> [...]
> exten => 123,n,Hangup
>
> I do an dial-in with my SIP-Client (or phone). The Dial-Application
> starts the outdial and I get connected with my partner. After hangup,
> only 1 CDR is generated. But I(!) need 2 CDRs - one for the incoming
> call and 1 for the outgoing call. ForkCDR is not a solution for me
> because it's generating 2 CDRs but ignoring that the in-call goes on,
> while the 2 CDRs are written after the Dial-App ended. Is there any
> solution for me?
CEL might help you by constructing your own CDRs.
https://wiki.asterisk.org/wiki/display/AST/Channel+Event+Logging+%28CEL%29
regards
klaus
More information about the asterisk-dev
mailing list