[asterisk-users] Unable to pickup an extension, trying everything

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Tue Jun 15 07:38:08 CDT 2010


Hi!

> But what happens when there are multiple calls coming in ??
> 
> How will Pickup(10 at PICKUPMARK) know which channel to pick up ??
> 
> In stead of PICKUPMARK (which is a global variable) I would rather like to
> use a more context-sensitive approach if possible.

Do not make PICKUPMARK a global variable - use it as a normal channel 
variable instead (and prefix it with _ (or even __) when you see fit to 
provide channel variable inheritance).

Philipp




More information about the asterisk-users mailing list