[asterisk-users] Channel Variable inheritance

Joshua C. Colp jcolp at digium.com
Tue Feb 23 15:01:51 CST 2021

On Tue, Feb 23, 2021 at 4:44 PM Michael Munger <mj at hph.io> wrote:

> I have a blacklisting system to deal with robocalls. Transferring a given
> call to extension *88 will add the CALLERID(num) to astdb, and when that
> number calls back, it goes straight to tt-monkeys.
> Problem:
> With Polycom phones, transfer -> blind -> *88 works just fine. But,
> transfer -> *88 (attended transfer) does not work. I assume that's because
> an attended transfer is creating a new channel, and the CALLERID(num) of
> the attended transfer is the CID of the station making the call. So, I
> decided to save the incoming CID into __ORIGINAL_CALLER_ID, with the
> assumption that the variable would be inherited into subsequent channels,
> but that does not work either.
> What am I missing?

Until such time as the attended transfer is completed there is no
association between things. Until that point, the call just appears as
another call from the phone.

Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210223/ac350b5c/attachment.html>

More information about the asterisk-users mailing list