From c67c720fc8fcecf44299349c66e1eb5b72720acd Mon Sep 17 00:00:00 2001 From: Michael Geddes Date: Mon, 19 Jan 2009 12:11:41 +0000 Subject: Add pickup2 module support. --- .../package/asterisk-xip/patches/040-pickup2.patch | 284 +++++++++++++++++++++ 1 file changed, 284 insertions(+) create mode 100644 contrib/package/asterisk-xip/patches/040-pickup2.patch diff --git a/contrib/package/asterisk-xip/patches/040-pickup2.patch b/contrib/package/asterisk-xip/patches/040-pickup2.patch new file mode 100644 index 000000000..cc665ec37 --- /dev/null +++ b/contrib/package/asterisk-xip/patches/040-pickup2.patch @@ -0,0 +1,284 @@ +*** xx/apps/app_pickup2.c 1970-01-01 08:00:00.000000000 +0800 +--- asterisk-1.4.22/apps/app_pickup2.c 2009-01-19 17:44:07.483909506 +0900 +*************** +*** 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&...][|