[asterisk-users] CallerID disappear from CDR on transfer
Philipp von Klitzing
klitzing at pool.informatik.rwth-aachen.de
Tue Jul 27 12:44:29 CDT 2010
Hi!
> 7) if john doe want to speak with caller assistant bridge the two
> lines using the transfer function of GXP2000 phone (REFER).
>
> After the transfer in the CDR i can't see the callerid of the caller,
> only data of the bridged call is reported.
>
> Any idea on what i can do to keep it ?
Either store the Caller ID somewhere using your PHP script and then later
add it to the CDR data of the other call, or look at at ImportVAR() or
the SHARED() function (of which Tilghman has made a 1.4 backport
available).
In either case you will need to do some matching magic to logically link
the two calls, maybe with the help of BRIDGEPEER. Possibly there are some
transfer specific channel variables that can help you with that (like
BLINDTRANSFER or TRANSFERSTATUS). This depends on your Asterisk version,
though. Anyway, since you already determined where to transfer the call
to that matching should not really be an issue.
Philipp
More information about the asterisk-users
mailing list