Channel Variable Inheritance
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
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 http://www.sangoma.com and http://www.asterisk.org