Channel Variable Inheritance

Home » Asterisk Users » Channel Variable Inheritance
Asterisk Users 1 Comment

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?

Asterisk: 13.14.1~dfsg-2+deb9u4

OS: Debian 9.13 (Stretch).

One thought on - Channel Variable Inheritance