Hi! > But what happens when there are multiple calls coming in ?? > > How will Pickup(1...@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 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
