[Asterisk-Users] cdr records on transfer

Christian Benke a0305292 at unet.univie.ac.at
Mon Mar 6 10:53:30 MST 2006


Hello!

i'm trying to set up transfer without using the respective
asterisk-function but with the built-in phone functions. my goal is to
have the first callleg billed to the caller and the second callleg to the
callee, who is responsible for the forward(and i can't bill a unknown
caller anyways)

so far it's working without problems, but my cdr's are messed. with the
help of the RDNIS-variable i've been able to set seperate records for each
call-leg with the correct accountcodes, but the billsec are still written
to the first callleg, the second callleg(originated by callee) receives 0
billsec, which is not what i want. the callee(the one who forwards the
call), should be billed.
since the local-channel is passed to the originating channel, it is clear
that the billsec are added to the callers record.
but is there any way to influence this??? since the phones have this
functionality built-in, why should i ask my clients to use some
keycombination to transfer calls and prevent transfer-by-button? As far as
i've understood, the /n-option for the local-channel would do the
behaviour i want - but how could i add it on a "moved temporarily"?

kind regards
christian



More information about the asterisk-users mailing list