--- apps/app_pickup2.c 1970-01-01 01:00:00.000000000 +0100 +++ apps/app_pickup2.c 2010-04-15 22:40:04.000000000 +0200 @@ -0,0 +1,279 @@ +/* + * Asterisk -- A telephony toolkit for Linux. + * + * Pickup, channel independent call pickup + * + * Copyright (C) 2005-2007, Thorsten Knabe + * + * Copyright (C) 2004, Junghanns.NET GmbH + * + * Klaus-Peter Junghanns + * + * Copyright (C) 2004, Florian Overkamp + * + * This program is free software, distributed under the terms of + * the GNU General Public License + */ + +/*** MODULEINFO + yes + ***/ + +#include "asterisk.h" + +ASTERISK_FILE_VERSION(__FILE__, "$Revision: 2 $") + +#include +#include +#include +#include +#include +#include +#include "asterisk/lock.h" +#include "asterisk/file.h" +#include "asterisk/logger.h" +#include "asterisk/channel.h" +#include "asterisk/pbx.h" +#include "asterisk/module.h" +#include "asterisk/musiconhold.h" +#include "asterisk/features.h" +#include "asterisk/options.h" + +static char *app = "PickUp2"; +static char *synopsis = "PickUp ringing channel."; +static char *descrip = +" PickUp2(Technology/resource[&Technology2/resource2&...][|