Re: [asterisk-users] Channel Variable inheritance

2021-02-23 Thread Joshua C. Colp
On Tue, Feb 23, 2021 at 4:44 PM Michael Munger  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
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Channel Variable inheritance

2021-02-23 Thread Michael Munger
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).

--


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  e: m...@hph.io 



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users