[asterisk-users] Channel Variable inheritance

Michael Munger mj at hph.io
Tue Feb 23 14:43:58 CST 2021

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.


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).


Michael Munger, dCAP, MCPS, MCNPS, MBSS
*Microsoft Certified Professional*
*Microsoft Certified Small Business Specialist*
*Digium Certified Asterisk Professional*
*High Powered Help, Inc.*
p: 	678-905-8569
w: 	hph.io <https://hph.io> e: mj at hph.io <mailto:mj at hph.io>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210223/9a602666/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paohfccmkimoedgl.png
Type: image/png
Size: 738 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210223/9a602666/attachment.png>

More information about the asterisk-users mailing list