[asterisk-dev] app_directed_pickup and macros

Eric "ManxPower" Wieling eric at fnords.org
Thu Feb 15 06:36:42 MST 2007


Klaus Darilion wrote:
> Hi!
> 
> I wanted to use Pickup() but it does not work if the ringing call is in 
> a macro as the ringing call's exten is always 's'. Thus, I thought about 
> extending app_directed_pickup to not only look for the extension to 
> pickup in target->exten but also in target->macroexten. The problem is, 
> that target->macroexten is not set for the called channel. Is this a bug?

[macro-happy-fun-ball]

exten => s,1,Goto(${MACRO_EXTEN},1)

exten => _X.,1,Noop(Start real macro here)
...


More information about the asterisk-dev mailing list