From f1b15228b7de594cf9fa7b1f2cebc3834adf9628 Mon Sep 17 00:00:00 2001 From: "Olle E. Johansson" Date: Sat, 3 Jan 2015 16:48:29 +0100 Subject: [PATCH] tm Remove svn ID, remove history, rename "ser" to "kamailio" --- modules/tm/callid.c | 10 ++-- modules/tm/callid.h | 6 +-- modules/tm/config.c | 10 ++-- modules/tm/config.h | 9 ++-- modules/tm/defs.h | 11 ++--- modules/tm/dlg.c | 14 ++---- modules/tm/dlg.h | 11 ++--- modules/tm/h_table.c | 30 ++---------- modules/tm/h_table.h | 27 ++--------- modules/tm/lock.c | 22 ++------- modules/tm/lock.h | 22 ++------- modules/tm/lw_parser.c | 13 ++--- modules/tm/lw_parser.h | 13 ++--- modules/tm/rpc_uac.c | 7 --- modules/tm/rpc_uac.h | 10 ---- modules/tm/select.c | 13 ++--- modules/tm/select.h | 14 ++---- modules/tm/sip_msg.c | 30 ++---------- modules/tm/sip_msg.h | 11 ++--- modules/tm/t_append_branches.c | 3 -- modules/tm/t_append_branches.h | 4 -- modules/tm/t_cancel.c | 36 ++------------ modules/tm/t_cancel.h | 25 ++-------- modules/tm/t_fifo.c | 17 ++----- modules/tm/t_fifo.h | 17 ++----- modules/tm/t_funcs.c | 39 ++------------- modules/tm/t_funcs.h | 24 ++------- modules/tm/t_fwd.c | 74 ++-------------------------- modules/tm/t_fwd.h | 21 ++------ modules/tm/t_hooks.c | 28 ++--------- modules/tm/t_hooks.h | 27 ++--------- modules/tm/t_lookup.c | 67 ++----------------------- modules/tm/t_lookup.h | 22 ++------- modules/tm/t_msgbuilder.c | 34 ++----------- modules/tm/t_msgbuilder.h | 17 ++----- modules/tm/t_reply.c | 89 ++-------------------------------- modules/tm/t_reply.h | 13 ++--- modules/tm/t_serial.c | 3 -- modules/tm/t_serial.h | 3 -- modules/tm/t_stats.c | 19 ++------ modules/tm/t_stats.h | 15 ++---- modules/tm/t_suspend.c | 18 ++----- modules/tm/t_suspend.h | 13 ++--- modules/tm/test.c | 14 ++---- modules/tm/timer.c | 33 ++----------- modules/tm/timer.h | 24 ++------- modules/tm/tm.c | 52 ++------------------ modules/tm/tm_load.c | 17 ++----- modules/tm/tm_load.h | 18 ++----- modules/tm/uac.c | 41 ++-------------- modules/tm/uac.h | 17 ++----- modules/tm/ut.h | 24 ++------- 52 files changed, 140 insertions(+), 1011 deletions(-) diff --git a/modules/tm/callid.c b/modules/tm/callid.c index 0688d88f05a..560af338925 100644 --- a/modules/tm/callid.c +++ b/modules/tm/callid.c @@ -1,14 +1,14 @@ /* * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of SIP-router, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * SIP-router is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * SIP-router is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -17,10 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * ---------- - * 2003-04-09 Created by janakj - * 2003-10-24 updated to the new socket_info lists (andrei) */ /*! diff --git a/modules/tm/callid.h b/modules/tm/callid.h index 541942f24d3..3a829f112c7 100644 --- a/modules/tm/callid.h +++ b/modules/tm/callid.h @@ -1,14 +1,14 @@ /* * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of SIP-router, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * SIP-router is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * SIP-router is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. diff --git a/modules/tm/config.c b/modules/tm/config.c index d53a5a1af89..ee290aec135 100644 --- a/modules/tm/config.c +++ b/modules/tm/config.c @@ -1,16 +1,15 @@ /* - * $Id$ * * Copyright (C) 2008 iptelorg GmbH * - * This file is part of SIP-router, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * SIP-router is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * SIP-router is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -19,9 +18,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History - * ------- - * 2008-02-05 adapting tm module for the configuration framework (Miklos) */ /** TM :: Runtime configuration variables. diff --git a/modules/tm/config.h b/modules/tm/config.h index 8b2853dc813..7081dd31673 100644 --- a/modules/tm/config.h +++ b/modules/tm/config.h @@ -1,17 +1,14 @@ /* - * $Id$ - * - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of SIP-router, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * SIP-router is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * SIP-router is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. diff --git a/modules/tm/defs.h b/modules/tm/defs.h index 9027536119a..1e08b950786 100644 --- a/modules/tm/defs.h +++ b/modules/tm/defs.h @@ -1,17 +1,15 @@ /* - * $Id$ - * * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of SIP-router, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * SIP-router is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * SIP-router is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -20,9 +18,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * --------- - * 2003-01-27 t_uac deprecated (jiri) */ /*! diff --git a/modules/tm/dlg.c b/modules/tm/dlg.c index 31748a30ea1..d78e1702113 100644 --- a/modules/tm/dlg.c +++ b/modules/tm/dlg.c @@ -1,16 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of SIP-router, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * SIP-router is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * SIP-router is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -19,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * ------- - * 2003-03-29 Created by janakj - * 2003-07-08 added wrapper to calculate_hooks, needed by b2bua (dcm) - * 2007-04-13 added dialog callbacks (andrei) - * 2007-05-16 added dialog callbacks destroy (andrei) */ /*! diff --git a/modules/tm/dlg.h b/modules/tm/dlg.h index e260db07d62..ed5529c29c5 100644 --- a/modules/tm/dlg.h +++ b/modules/tm/dlg.h @@ -1,15 +1,14 @@ /* - * $Id$ * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of SIP-router, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * SIP-router is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * SIP-router is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -18,10 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * ------- - * 2003-03-29 Created by janakj - * 2007-04-13 added dialog callbacks (andrei) */ /*! diff --git a/modules/tm/h_table.c b/modules/tm/h_table.c index d0d2d5b5208..e3bc1b4a5cd 100644 --- a/modules/tm/h_table.c +++ b/modules/tm/h_table.c @@ -1,16 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of SIP-router, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * SIP-router is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * SIP-router is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -19,28 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History - * ------- - * 2003-03-06 200/INV to-tag list deallocation added; - * setting "kill_reason" moved in here -- it is moved - * from transaction state to a static var(jiri) - * 2003-03-16 removed _TOTAG (jiri) - * 2003-03-30 set_kr for requests only (jiri) - * 2003-04-04 bug_fix: REQ_IN callback not called for local - * UAC transactions (jiri) - * 2003-09-12 timer_link->tg will be set only if EXTRA_DEBUG (andrei) - * 2003-12-04 global callbacks replaceed with callbacks per transaction; - * completion callback merged into them as LOCAL_COMPETED (bogdan) - * 2004-02-11 FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri) - * 2004-02-13 t->is_invite and t->local replaced with flags; - * timer_link.payload removed (bogdan) - * 2004-08-23 avp support added - move and remove avp list to/from - * transactions (bogdan) - * 2006-08-11 dns failover support (andrei) - * 2007-05-16 callbacks called on destroy (andrei) - * 2007-06-06 don't allocate extra space for md5 if not used: syn_branch==1 - * (andrei) - * 2007-06-06 switched tm bucket list to a simpler and faster clist (andrei) */ /*! diff --git a/modules/tm/h_table.h b/modules/tm/h_table.h index 23d005f9138..52b6d2cf4ac 100644 --- a/modules/tm/h_table.h +++ b/modules/tm/h_table.h @@ -1,16 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of SIP-router, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * SIP-router is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * SIP-router is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -19,25 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * -------- - * 2003-03-16 removed _TOTAG (jiri) - * 2003-03-06 we keep a list of 200/INV to-tags now (jiri) - * 2003-03-01 kr set through a function now (jiri) - * 2003-12-04 callbacks per transaction added; completion callback - * merge into them as LOCAL_COMPETED (bogdan) - * 2004-02-11 FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri) - * 2004-02-13 t->is_invite, t->local, t->noisy_ctimer replaced - * with flags (bogdan) - * 2004-08-23 avp support added - avp list linked in transaction (bogdan) - * 2005-11-03 updated to the new timer interface (dropped tm timers) (andrei) - * 2006-08-11 dns failover support (andrei) - * 2007-05-29 switch ref_count to atomic and delete a cell automatically on - * UNREF if the ref_count reaches 0 (andrei) - * 2007-06-01 support for different retransmissions intervals per transaction; - * added maximum inv. and non-inv. transaction life time (andrei) - * 2007-06-06 switched tm bucket list to a simpler and faster clist; - * inlined often used functions (andrei) */ /** TM :: hash table, flags and other general defines. diff --git a/modules/tm/lock.c b/modules/tm/lock.c index d7995d33c94..fdd086570a6 100644 --- a/modules/tm/lock.c +++ b/modules/tm/lock.c @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -24,15 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* - * History: - * -------- - * 2003-03-17 converted to locking.h (andrei) - * 2004-07-28 s/lock_set_t/gen_lock_set_t/ because of a type conflict - * on darwin (andrei) - * 2006-03-07 removed timer_semaphore, timer_group_lock and related functions - * since timers are now handled outside tm (andrei) - */ #include "defs.h" diff --git a/modules/tm/lock.h b/modules/tm/lock.h index 41ae7ed2e50..d20965bfcf0 100644 --- a/modules/tm/lock.h +++ b/modules/tm/lock.h @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -24,15 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* - * History: - * -------- - * 2003-03-17 converted to locking.h (andrei) - * 2004-07-28 s/lock_set_t/gen_lock_set_t/ because of a type conflict - * on darwin (andrei) - * 2007-03-07 timer locks cleanup: timers are now handled outside tm => no - * need for timer locks in tm (andrei) - */ #include "defs.h" diff --git a/modules/tm/lw_parser.c b/modules/tm/lw_parser.c index 008e4984505..a26b63a9c45 100644 --- a/modules/tm/lw_parser.c +++ b/modules/tm/lw_parser.c @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2007 iptelorg GmbH * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. diff --git a/modules/tm/lw_parser.h b/modules/tm/lw_parser.h index 916a2c9384d..45dc0651dda 100644 --- a/modules/tm/lw_parser.h +++ b/modules/tm/lw_parser.h @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2007 iptelorg GmbH * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. diff --git a/modules/tm/rpc_uac.c b/modules/tm/rpc_uac.c index 507f4aeecdd..14c02f01619 100644 --- a/modules/tm/rpc_uac.c +++ b/modules/tm/rpc_uac.c @@ -1,6 +1,4 @@ /* - * $Id$ - * * Copyright (C) 2009 iptelorg GmbH * * Permission to use, copy, modify, and distribute this software for any @@ -18,11 +16,6 @@ /* * modules/tm/rpc_uac.c */ -/* - * History: - * -------- - * 2009-07-20 initial version (andrei) -*/ #include "rpc_uac.h" #include "../../rpc.h" diff --git a/modules/tm/rpc_uac.h b/modules/tm/rpc_uac.h index 0aa5c0078d2..06fa31211d7 100644 --- a/modules/tm/rpc_uac.h +++ b/modules/tm/rpc_uac.h @@ -1,6 +1,4 @@ /* - * $Id$ - * * Copyright (C) 2009 iptelorg GmbH * * Permission to use, copy, modify, and distribute this software for any @@ -15,14 +13,6 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* - * modules/tm/rpc_uac.h - */ -/* - * History: - * -------- - * 2009-07-20 initial version (andrei) -*/ #ifndef __rpc_uac_h #define __rpc_uac_h diff --git a/modules/tm/select.c b/modules/tm/select.c index bc784cfae3c..f753e4ea5f0 100644 --- a/modules/tm/select.c +++ b/modules/tm/select.c @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. diff --git a/modules/tm/select.h b/modules/tm/select.h index d0c28df4d1e..0831ffece5e 100644 --- a/modules/tm/select.h +++ b/modules/tm/select.h @@ -1,22 +1,14 @@ /* - * $Id$ - * - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. diff --git a/modules/tm/sip_msg.c b/modules/tm/sip_msg.c index 73c4b440c56..128d834f86b 100644 --- a/modules/tm/sip_msg.c +++ b/modules/tm/sip_msg.c @@ -1,19 +1,14 @@ /* * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -22,24 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * -------- - * 2003-01-23 - msg_cloner clones msg->from->parsed too (janakj) - * 2003-01-29 - scratchpad removed (jiri) - * 2003-02-25 - auth_body cloner added (janakj) - * 2003-02-28 scratchpad compatibility abandoned (jiri) - * 2003-03-31 removed msg->repl_add_rm (andrei) - * 2003-04-04 parsed uris are recalculated on cloning (jiri) - * 2003-05-07 received, rport & i via shortcuts are also translated (andrei) - * 2003-11-11 updated cloning of lump_rpl (bogdan) - * 2004-03-31 alias shortcuts are also translated (andrei) - * 2006-04-20 via->comp is also translated (andrei) - * 2006-10-16 HDR_{PROXY,WWW}_AUTHENTICATE_T cloned (andrei) - * 2007-01-26 HDR_DATE_T, HDR_IDENTITY_T, HDR_IDENTITY_INFO_T added (gergo) - * 2007-09-05 A separate memory block is allocated for the lumps - * in case of requests in order to allow cloning them - * later than the SIP msg. (Miklos) - * 2009-07-22 moved most of the functions to core sip_msg_clone.c (andrei)*/ + */ /** * @file diff --git a/modules/tm/sip_msg.h b/modules/tm/sip_msg.h index 1227fe1f8bf..4c1f0cb80a0 100644 --- a/modules/tm/sip_msg.h +++ b/modules/tm/sip_msg.h @@ -1,19 +1,14 @@ /* * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. diff --git a/modules/tm/t_append_branches.c b/modules/tm/t_append_branches.c index 9600a21585a..ab6f298b8b7 100644 --- a/modules/tm/t_append_branches.c +++ b/modules/tm/t_append_branches.c @@ -23,9 +23,6 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * History: - * ------- - * 2014-09-09 first release of t_append_branches * */ diff --git a/modules/tm/t_append_branches.h b/modules/tm/t_append_branches.h index 886eaedc1df..c9420804068 100644 --- a/modules/tm/t_append_branches.h +++ b/modules/tm/t_append_branches.h @@ -23,10 +23,6 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * History: - * ------- - * 2014-09-09 first release of t_append_branches - * */ #ifndef _T_APPEND_BRANCHES_H diff --git a/modules/tm/t_cancel.c b/modules/tm/t_cancel.c index b9b814b4040..69c552538fc 100644 --- a/modules/tm/t_cancel.c +++ b/modules/tm/t_cancel.c @@ -1,22 +1,14 @@ /* - * $Id$ - * - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -25,28 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * ---------- - * 2003-04-14 checking if a reply sent before cancel is initiated - * moved here (jiri) - * 2004-02-11 FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri) - * 2004-02-13 timer_link.payload removed (bogdan) - * 2006-10-10 cancel_uacs & cancel_branch take more options now (andrei) - * 2007-03-15 TMCB_ONSEND hooks added (andrei) - * 2007-05-28: cancel_branch() constructs the CANCEL from the - * outgoing INVITE instead of the incomming one. - * (it can be disabled with reparse_invite=0) (Miklos) - * 2007-06-04 cancel_branch() can operate in lockless mode (with a lockless - * should_cancel()) (andrei) - * 2008-03-07 cancel_branch() takes a new flag: F_CANCEL_B_FORCE_RETR (andrei) - * 2008-03-08 e2e_cancel handles non replied branches in 3 different ways, - * selectable by the tm cancel_b_method parameter: fake reply, - * retransmit request and send cancel on branch (andrei) - * 2009-07-14 renamed which_cancel() to prepare_to_cancel() for better - * reflecting its purpose - * prepare_to_cancel() takes now an additional skip_branches - * bitmap parameter (andrei) - * 2010-02-26 cancel reason (rfc3326) basic support (andrei) */ #include /* for FILE* in fifo_uac_cancel */ diff --git a/modules/tm/t_cancel.h b/modules/tm/t_cancel.h index ab04c7735e5..f8fe1189dd6 100644 --- a/modules/tm/t_cancel.h +++ b/modules/tm/t_cancel.h @@ -1,22 +1,14 @@ /* - * $Id$ - * - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -25,17 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * --------- - * 2004-02-11 FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri) - * 2006-10-10 should_cancel_branch() returns true even for branches with - * no response or with response <100 (andrei) - * 2007-06-04 should_cancel_branch() takes another parameter and it is safe - * to be called w/o REPLY_LOCK held (andrei) - * 2009-07-14 should_cancel_branch() renamed to prepare_cancel_branch() to - * better reflect its purpose - * which_cancel() renamed to prepare_to_cancel() (andrei) - * 2010-02-26 cancel reason (rfc3326) basic support (andrei) */ diff --git a/modules/tm/t_fifo.c b/modules/tm/t_fifo.c index f7d4e973c6f..db7e4478477 100644 --- a/modules/tm/t_fifo.c +++ b/modules/tm/t_fifo.c @@ -1,23 +1,16 @@ /* - * $Id$ - * * transaction maintenance functions * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -26,10 +19,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * ------- - * 2004-02-23 created by splitting it from t_funcs (bogdan) - * 2004-11-15 t_write_xxx can print whatever avp/hdr */ diff --git a/modules/tm/t_fifo.h b/modules/tm/t_fifo.h index e0035e7472b..515c1885907 100644 --- a/modules/tm/t_fifo.h +++ b/modules/tm/t_fifo.h @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -24,10 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * -------- - * 2003-03-31 200 for INVITE/UAS resent even for UDP (jiri) - * 2004-11-15 t_write_xxx can print whatever avp/hdr */ diff --git a/modules/tm/t_funcs.c b/modules/tm/t_funcs.c index eb7ba3f2ca9..8e04de6faa0 100644 --- a/modules/tm/t_funcs.c +++ b/modules/tm/t_funcs.c @@ -1,23 +1,16 @@ /* - * $Id$ - * * transaction maintenance functions * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -26,32 +19,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* - * History: - * ------- - * 2003-03-31 200 for INVITE/UAS resent even for UDP (jiri) - * info only if compiling w/ -DEXTRA_DEBUG (andrei) - * 2003-03-19 replaced all mallocs/frees w/ pkg_malloc/pkg_free (andrei) - * 2003-03-13 send_pr_buffer is called w/ file/function/line debugging - * 2003-03-01 start_retr changed to retransmit only for UDP - * 2003-02-13 modified send_pr_buffer to use msg_send & rb->dst (andrei) - * 2003-04-14 use protocol from uri (jiri) - * 2003-04-25 do it (^) really everywhere (jiri) - * 2003-04-26 do it (^) really really really everywhere (jiri) - * 2003-07-07 added get_proto calls when proxy!=0 (andrei) - * 2004-02-13 t->is_invite and t->local replaced with flags (bogdan) - * 2005-02-16 fr_*_timer acceps full AVP specifications; empty AVP - * desable variable timer feature (bogdan) - * 2005-12-11 t_relay doesn't return 0 (stop script) on send error - * anymore (andrei) - * 2006-08-11 updated forward_request usage (andrei) - * t_relay_to releases the transaction if t_forward_non_ack - * fails and t_kill fails or this is a failed replication (andrei) - * 2007-05-02 t_relay_to() uses now t_forward_cancel for cancels (andrei) - * 2007-06-05 delay t_relay() replies till script end so that they can be - * overwritten by the script user; generate 100 automatically - * only if T_NO_100 is not set (andrei) - */ #include #include diff --git a/modules/tm/t_funcs.h b/modules/tm/t_funcs.h index c7f6bc50762..173851bca67 100644 --- a/modules/tm/t_funcs.h +++ b/modules/tm/t_funcs.h @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -24,17 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ - /* History: - * -------- - * 2003-02-18 updated various function prototypes (andrei) - * 2003-03-10 removed ifdef _OBSO & made redefined all the *UNREF* macros - * in a non-gcc specific way (andrei) - * 2003-03-13 now send_pr_buffer will be called w/ function/line info - * only when compiling w/ -DEXTRA_DEBUG (andrei) - * 2003-03-31 200 for INVITE/UAS resent even for UDP (jiri) - * 2005-11-09 added stop_rb_timers, updated to the new timer interface - * (andrei) - */ diff --git a/modules/tm/t_fwd.c b/modules/tm/t_fwd.c index 33ee375dc77..9fcf3813eea 100644 --- a/modules/tm/t_fwd.c +++ b/modules/tm/t_fwd.c @@ -1,22 +1,14 @@ /* - * $Id$ - * - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -25,66 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* - * History: - * ------- - * 2003-02-13 proto support added (andrei) - * 2003-02-24 s/T_NULL/T_NULL_CELL/ to avoid redefinition conflict w/ - * nameser_compat.h (andrei) - * 2003-03-01 kr set through a function now (jiri) - * 2003-03-06 callbacks renamed; "blind UAC" introduced, which makes - * transaction behave as if it was forwarded even if it was - * not -- good for local UAS, like VM (jiri) - * 2003-03-19 replaced all the mallocs/frees w/ pkg_malloc/pkg_free (andrei) - * 2003-03-30 we now watch downstream delivery and if it fails, send an - * error message upstream (jiri) - * 2003-04-14 use protocol from uri (jiri) - * 2003-12-04 global TM callbacks switched to per transaction callbacks - * (bogdan) - * 2004-02-13: t->is_invite and t->local replaced with flags (bogdan) - * 2005-08-04 msg->parsed_uri and parsed_uri_ok are no saved & restored - * before & after handling the branches (andrei) - * 2005-12-11 onsend_route support added for forwarding (andrei) - * 2006-01-27 t_forward_no_ack will return error if a forward on an - * already canceled transaction is attempted (andrei) - * 2006-02-07 named routes support (andrei) - * 2006-04-18 add_uac simplified + switched to struct dest_info (andrei) - * 2006-04-20 pint_uac_request uses now struct dest_info (andrei) - * 2006-08-11 dns failover support (andrei) - * t_forward_non_ack won't start retransmission on send errors - * anymore (WARNING: callers should release/kill the transaction - * if error is returned) (andrei) - * 2006-09-15 e2e_cancel uses t_reply_unsafe when called from the - * failure_route and replying to a cancel (andrei) - * 2006-10-10 e2e_cancel update for the new/modified - * which_cancel()/should_cancel() (andrei) - * 2006-10-11 don't fork a new branch if the transaction or branch was - * canceled, or a 6xx was received - * stop retr. timers fix on cancel for non-invites (andrei) - * 2006-11-20 new_uri is no longer saved/restore across add_uac calls, since - * print_uac_request is now uri safe (andrei) - * 2007-03-15 TMCB_ONSEND hooks added (andrei) - * 2007-05-02 added t_forward_cancel(unmatched_cancel) (andrei) - * 2007-05-24 added TMCB_E2ECANCEL_IN hook support (andrei) - * 2007-05-28: e2e_cancel_branch() constructs the CANCEL from the - * outgoing INVITE instead of applying the lumps to the - * incomming one. (it can be disabled with reparse_invite=0) (Miklos) - * t_relay_cancel() introduced -- can be used to relay CANCELs - * at the beginning of the script. (Miklos) - * 2007-06-04 running transaction are canceled hop by hop (andrei) - * 2007-08-37 In case of DNS failover the new SIP message is constructed - * from the message buffer of the failed branch instead of - * applying the lumps again, because the per-branch lumps are no - * t saved, thus, are not available. Set reparse_on_dns_failover - * to 0 to revert the change. (Miklos) - * 2008-06-04 T_CANCELED is now set each time a CANCEL is received (andrei) - * 2009-06-01 Pre- and post-script callbacks of branch route are - * executed (Miklos) - * 2009-10-26 support for changing dst_uri in branch routes, - * s/print_uac_request/prepare_new_uac/ (andrei) - * 2009-10-28 support for changing r-uris and path in branch routes; more of - * add_uac() functionality moved into prepare_new_uac() (andrei) - */ #include "defs.h" diff --git a/modules/tm/t_fwd.h b/modules/tm/t_fwd.h index 8a6d85926e4..4a133e6149f 100644 --- a/modules/tm/t_fwd.h +++ b/modules/tm/t_fwd.h @@ -1,22 +1,14 @@ /* - * $Id$ - * - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -25,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* - * History: - * -------- - * 2003-02-18 added proto to various function prototypes (andrei) - * 2007-05-02 added unmatched_cancel & t_forward_cancel (andrei) - */ - #ifndef _T_FWD_H #define _T_FWD_H diff --git a/modules/tm/t_hooks.c b/modules/tm/t_hooks.c index 500a2f64b3c..334ebc4fc6d 100644 --- a/modules/tm/t_hooks.c +++ b/modules/tm/t_hooks.c @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -24,21 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* - * History: - * -------- - * 2003-03-19 replaced all the mallocs/frees w/ pkg_malloc/pkg_free (andrei) - * 2003-12-04 global callbacks moved into transaction callbacks; - * multiple events per callback added; single list per - * transaction for all its callbacks (bogdan) - * 2004-08-23 user avp(attribute value pair) added -> making avp list - * available in callbacks (bogdan) - * 2007-03-08 membar_write() used in insert_tmcb(...) (andrei) - * 2007-03-14 added *_SENT callbacks (andrei) - * 2007-03-23 added local_req_in callbacks support (andrei) - * 2007-05-17 insert_tmcb is now safe: it loops arround a mb_atomic_cmpxchg - * for a safe lockless list insert (andrei) - */ #include "defs.h" diff --git a/modules/tm/t_hooks.h b/modules/tm/t_hooks.h index 07776578739..d642d3d37dc 100644 --- a/modules/tm/t_hooks.h +++ b/modules/tm/t_hooks.h @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -24,20 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * -------- - * 2003-03-16 : backwards-compatibility callback names introduced (jiri) - * 2003-03-06 : old callbacks renamed, new one introduced (jiri) - * 2003-12-04 : global callbacks moved into transaction callbacks; - * multiple events per callback added; single list per - * transaction for all its callbacks (bogdan) - * 2007-03-14 added *_SENT callbacks (andrei) - * 2007-03-17 added TMCB_NEG_ACK_IN, TMCB_REQ_RETR_IN & - * TMCB_LOCAL_RESPONSE_IN (andrei) - * 2007-03-23 added TMCB_LOCAL_REQUEST_IN (andrei) - * 2007-05-16 added TMCB_DESTROY (andrei) - * 2007-05-24 fixed has_tran_tmcbs() & added TMCB_E2ECANCEL_IN (andrei) - * 2007-11-12 added TMCB_E2EACK_RETR_IN (andrei) */ diff --git a/modules/tm/t_lookup.c b/modules/tm/t_lookup.c index 79b1083ed34..fb197c8a616 100644 --- a/modules/tm/t_lookup.c +++ b/modules/tm/t_lookup.c @@ -1,6 +1,4 @@ /* - * $Id$ - * * This C-file takes care of matching requests and replies with * existing transactions. Note that we do not do SIP-compliant * request matching as asked by SIP spec. We do bitwise matching of @@ -21,19 +19,14 @@ * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -42,60 +35,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * ---------- - * 2003-01-23 options for disabling r-uri matching introduced (jiri) - * nameser_compat.h (andrei) - * 2003-01-27 next baby-step to removing ZT - PRESERVE_ZT (jiri) - * 2003-01-28 scratchpad removed (jiri) - * 2003-02-13 init_rb() is proto indep. & it uses struct dest_info (andrei) - * 2003-02-24 s/T_NULL/T_NULL_CELL/ to avoid redefinition conflict w/ - * 2003-02-27 3261 ACK/200 consumption bug removed (jiri) - * 2003-02-28 scratchpad compatibility abandoned (jiri) - * 2003-03-01 kr set through a function now (jiri) - * 2003-03-06 dialog matching introduced for ACKs -- that's important for - * INVITE UAS (like INVITE) and 200/ACK proxy matching (jiri) - * 2003-03-29 optimization: e2e ACK matching only if callback installed - * (jiri) - * 2003-03-30 set_kr for requests only (jiri) - * 2003-04-04 bug_fix: RESPONSE_IN callback not called for local - * UAC transactions (jiri) - * 2003-04-07 new transactions inherit on_failure and on_relpy from script - * variables on instantiation (jiri) - * 2003-04-30 t_newtran clean up (jiri) - * 2003-08-21 request lookups fixed to skip UAC transactions, - * thanks Ed (jiri) - * 2003-12-04 global TM callbacks switched to per transaction callbacks - * (bogdan) - * 2004-02-11 FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri) - * 2004-02-13: t->is_invite and t->local replaced with flags (bogdan) - * 2004-10-10: use of mhomed disabled for replies (jiri) - * 2005-02-01: use the incoming request interface for sending the replies - * - changes in init_rb() (bogdan) - * 2005-12-09 added t_set_fr() (andrei) - * 2006-01-27 transaction lookup function will set up a cancel flag - * if the searched transaction was pre-canceled (andrei) - * 2006-10-16 401 & 407 replies are completely parsed if tm_aggregate_auth is - * set (andrei) - * 2006-11-10 a valid msg->hash_index is now marked by FL_HASH_INDEX in - * msg_flags - * t_lookupOriginalT computes the hash_index by itself if - * needed (andrei) - * 2007-03-17 added callbacks for retransmitted request, ack to negative - * replies and replies to local transactions (andrei) - * 2007-06-01 support for different retransmissions intervals per transaction; - * added maximum inv. and non-inv. transaction life time (andrei) - * 2007-06-05 added delayed error reply support in t_unref; -* added support for turning off 100 repl. sending on inv. (andrei) - * 2007-06-01 support for different retransmissions intervals per transaction; - * added maximum inv. and non-inv. transaction life time (andrei) - * 2007-06-06 switched tm bucket list to a simpler and faster clist; - * 2008-02-28 try matching e2e acks in t_lookup() only for transactions - * which have E2EACK callbacks registered (andrei) - * 2008-03-31 message flags are updated in shared memory even if they are set - * after t_newtran() (Miklos) - * 2009-06-24 added T_branch and changed set_t() to take also a branch - * parameter (andrei) */ #include "defs.h" diff --git a/modules/tm/t_lookup.h b/modules/tm/t_lookup.h index 2c15f00ff06..d66455a9e3a 100644 --- a/modules/tm/t_lookup.h +++ b/modules/tm/t_lookup.h @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -24,15 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* - * History: - * -------- - * 2003-02-24 s/T_NULL/T_NULL_CELL/ to avoid redefinition conflict w/ - * nameser_compat.h (andrei) - * 2004-02-11 FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri) - * 2005-12-09 added t_set_fr() (andrei) - * 2009-06-24 changed set_t() to take also a branch parameter (andrei) - */ diff --git a/modules/tm/t_msgbuilder.c b/modules/tm/t_msgbuilder.c index bcf96c5dfe1..f705b90aebb 100644 --- a/modules/tm/t_msgbuilder.c +++ b/modules/tm/t_msgbuilder.c @@ -1,23 +1,16 @@ /* - * $Id$ - * * message printing * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -26,27 +19,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * - * History: - * ---------- - * 2003-01-27 next baby-step to removing ZT - PRESERVE_ZT (jiri) - * 2003-02-13 build_uac_request uses proto (andrei) - * 2003-02-28 scratchpad compatibility abandoned (jiri) - * 2003-04-14 build_local no longer checks reply status as it - * is now called before reply status is updated to - * avoid late ACK sending (jiri) - * 2003-10-02 added via_builder set host/port support (andrei) - * 2004-02-11 FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri) - * 2004-02-13: t->is_invite and t->local replaced with flags (bogdan) - * 2006-04-21 build_uac_req, assemble_via use struct dest_info now; - * uri2sock replaced with uri2dst (andrei) - * 2006-08-11 build_dlg_ack: use the first dns ip for which a send_sock - * is found (andrei) - * 2007-03-15 build_dls_ack: removed next_hop and replaced by dst to avoid - * resolving nexthop twice (andrei) - * 2007-05-28: build_local_reparse() is introdued: it uses the outgoing - * INVITE as a source to construct a CANCEL or ACK (Miklos) - * 2010-02-26 cancel reason (rfc3326) basic support (andrei) */ #include "defs.h" diff --git a/modules/tm/t_msgbuilder.h b/modules/tm/t_msgbuilder.h index c518f0f13ce..ae09f31d566 100644 --- a/modules/tm/t_msgbuilder.h +++ b/modules/tm/t_msgbuilder.h @@ -1,22 +1,14 @@ /* - * $Id$ - * - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -25,9 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * -------- - * 2004-02-11 FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri) */ diff --git a/modules/tm/t_reply.c b/modules/tm/t_reply.c index 58b4002e1a0..b5909c73702 100644 --- a/modules/tm/t_reply.c +++ b/modules/tm/t_reply.c @@ -1,22 +1,14 @@ /* - * $Id$ - * - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -25,82 +17,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * -------- - * 2003-01-19 faked lump list created in on_reply handlers - * 2003-01-27 next baby-step to removing ZT - PRESERVE_ZT (jiri) - * 2003-02-13 updated to use rb->dst (andrei) - * 2003-02-18 replaced TOTAG_LEN w/ TOTAG_VALUE_LEN (TOTAG_LEN was defined - * twice with different values!) (andrei) - * 2003-02-28 scratchpad compatibility abandoned (jiri) - * 2003-03-01 kr set through a function now (jiri) - * 2003-03-06 saving of to-tags for ACK/200 matching introduced, - * voicemail changes accepted, updated to new callback - * names (jiri) - * 2003-03-10 fixed new to tag bug/typo (if w/o {}) (andrei) - * 2003-03-16 removed _TOTAG (jiri) - * 2003-03-31 200 for INVITE/UAS resent even for UDP (jiri) - * 2003-03-31 removed msg->repl_add_rm (andrei) - * 2003-04-05 s/reply_route/failure_route, onreply_route introduced (jiri) - * 2003-04-14 local acks generated before reply processing to avoid - * delays in length reply processing (like opening TCP - * connection to an unavailable destination) (jiri) - * 2003-09-11 updates to new build_res_buf_from_sip_req() interface (bogdan) - * 2003-09-11 t_reply_with_body() reshaped to use reply_lumps + - * build_res_buf_from_sip_req() instead of - * build_res_buf_with_body_from_sip_req() (bogdan) - * 2003-11-05 flag context updated from failure/reply handlers back - * to transaction context (jiri) - * 2003-11-11: build_lump_rpl() removed, add_lump_rpl() has flags (bogdan) - * 2003-12-04 global TM callbacks switched to per transaction callbacks - * (bogdan) - * 2004-02-06: support for user pref. added - destroy_avps (bogdan) - * 2003-11-05 flag context updated from failure/reply handlers back - * to transaction context (jiri) - * 2003-11-11: build_lump_rpl() removed, add_lump_rpl() has flags (bogdan) - * 2004-02-13: t->is_invite and t->local replaced with flags (bogdan) - * 2004-02-18 fifo_t_reply imported from vm module (bogdan) - * 2004-08-23 avp list is available from failure/on_reply routes (bogdan) - * 2004-10-01 added a new param.: restart_fr_on_each_reply (andrei) - * 2005-03-01 force for statefull replies the incoming interface of - * the request (bogdan) - * 2005-09-01 reverted to the old way of checking response.dst.send_sock - * in t_retransmit_reply & reply_light (andrei) - * 2005-11-09 updated to the new timers interface (andrei) - * 2006-02-07 named routes support (andrei) - * 2006-09-13 t_pick_branch will skip also over branches with empty reply - * t_should_relay_response will re-pick the branch if failure - * route /handlers added new branches (andrei) - * 2006-10-05 better final reply selection: t_pick_branch will prefer 6xx, - * if no 6xx reply => lowest class/code; if class==4xx => - * prefer 401, 407, 415, 420 and 484 (andrei) - * 2006-10-12 dns failover when a 503 is received - * replace a 503 final relayed reply by a 500 (andrei) - * 2006-10-16 aggregate all the authorization headers/challenges when - * the final response is 401 or 407 (andrei) - * 2007-03-08 membar_write() used in update_totag_set(...)(andrei) - * 2007-03-15 build_local_ack: removed next_hop and replaced with dst to - * avoid resolving next_hop twice - * added TMCB_ONSEND callbacks support for replies & ACKs (andrei) - * 2007-05-28: build_ack() constructs the ACK from the - * outgoing INVITE instead of the incomming one. - * (it can be disabled with reparse_invite=0) (Miklos) - * 2007-09-03: drop_replies() has been introduced (Miklos) - * 2008-03-12 use cancel_b_method on 6xx (andrei) - * 2008-05-30 make sure the wait timer is started after we don't need t - * anymore to allow safe calls from fr_timer (andrei) - * 2009-06-01 Pre- and post-script callbacks of branch route are - * executed (Miklos) - * 2009-12-10 reply route is executed under lock to protect the avps (andrei) - * 2010-02-22 _reply() will cleanup any reply lumps that it might have added - * (andrei) - * 2010-02-26 added experimental support for final reply dropping, not - * enabled by default (performance hit) (andrei) - * 2010-02-26 cancel reason (rfc3326) basic support (andrei) - * */ - /* Defines: + /** Defines: * TM_ONREPLY_FINAL_DROP_OK - allows dropping the final reply * from the tm onreply_routes, but comes with a small performance * hit (extra unlock()/lock() for each final reply when a onreply diff --git a/modules/tm/t_reply.h b/modules/tm/t_reply.h index 9f4f243db24..2151e4a7d68 100644 --- a/modules/tm/t_reply.h +++ b/modules/tm/t_reply.h @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. diff --git a/modules/tm/t_serial.c b/modules/tm/t_serial.c index 8c9e1311eca..0bc671d3e01 100644 --- a/modules/tm/t_serial.c +++ b/modules/tm/t_serial.c @@ -23,9 +23,6 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * History: - * ------- - * 2008-10-22: Moved functions from lcr module to tm module (jh) */ #include "../../qvalue.h" diff --git a/modules/tm/t_serial.h b/modules/tm/t_serial.h index 0794e311684..f3734416664 100644 --- a/modules/tm/t_serial.h +++ b/modules/tm/t_serial.h @@ -23,9 +23,6 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * History: - * ------- - * 2008-10-22: Moved functions from lcr module to tm module (jh) */ extern int fr_inv_timer_next; diff --git a/modules/tm/t_stats.c b/modules/tm/t_stats.c index 262d8e2d18a..f0c3ba02758 100644 --- a/modules/tm/t_stats.c +++ b/modules/tm/t_stats.c @@ -1,23 +1,15 @@ /* - * - * $Id$ - * * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -26,11 +18,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* - * History: - * -------- - * 2003-06-27 tm_stats & friends freed on exit only if non-null (andrei) - */ #include "defs.h" diff --git a/modules/tm/t_stats.h b/modules/tm/t_stats.h index bbea74c2788..2cbeeb79843 100644 --- a/modules/tm/t_stats.h +++ b/modules/tm/t_stats.h @@ -1,23 +1,14 @@ /* - * - * $Id$ - * - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. diff --git a/modules/tm/t_suspend.c b/modules/tm/t_suspend.c index 1d7e3ca0817..f07307d7525 100644 --- a/modules/tm/t_suspend.c +++ b/modules/tm/t_suspend.c @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2008 iptelorg GmbH * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -24,11 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * -------- - * 2008-11-10 Initial version (Miklos) - * 2009-06-01 Pre- and post-script callbacks of failure route are executed (Miklos) - * */ #include "../../action.h" diff --git a/modules/tm/t_suspend.h b/modules/tm/t_suspend.h index 34bf5a15ad5..dfe79e027de 100644 --- a/modules/tm/t_suspend.h +++ b/modules/tm/t_suspend.h @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2008 iptelorg GmbH * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. diff --git a/modules/tm/test.c b/modules/tm/test.c index 403b0d05a89..7f955352bf5 100644 --- a/modules/tm/test.c +++ b/modules/tm/test.c @@ -1,22 +1,14 @@ /* - * $Id$ - * - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. diff --git a/modules/tm/timer.c b/modules/tm/timer.c index 78565705fb4..8a7d0d57e84 100644 --- a/modules/tm/timer.c +++ b/modules/tm/timer.c @@ -1,19 +1,14 @@ /* * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -23,28 +18,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* - * History: - * -------- - * 2003-06-27 timers are not unlinked if timerlist is 0 (andrei) - * 2004-02-13 t->is_invite, t->local, t->noisy_ctimer replaced; - * timer_link.payload removed (bogdan) - * 2005-10-03 almost completely rewritten to use the new timers (andrei) - * 2005-12-12 on final response marked the rb as removed to avoid deleting - * it from the timer handle; timer_allow_del() (andrei) - * 2006-08-11 final_response_handler dns failover support for timeout-ed - * invites (andrei) - * 2006-09-28 removed the 480 on fr_inv_timeout reply: on timeout always - * return a 408 - * set the corresponding "faked" failure route sip_msg->msg_flags - * on timeout or if the branch received a reply (andrei) - * 2007-03-15 TMCB_ONSEND callbacks support (andrei) - * 2007-05-29 delete on transaction ref_count==0 : removed the delete timer - * (andrei) - * 2007-06-01 support for different retransmissions intervals per transaction; - * added maximum inv. and non-inv. transaction life time (andrei) - */ - /** * \file * \brief TM :: timer support diff --git a/modules/tm/timer.h b/modules/tm/timer.h index 5973b2e65cf..776368e085e 100644 --- a/modules/tm/timer.h +++ b/modules/tm/timer.h @@ -1,19 +1,14 @@ /* * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -23,19 +18,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* - * History: - * -------- - * 2003-09-12 timer_link.tg exists only if EXTRA_DEBUG (andrei) - * 2004-02-13 timer_link.payload removed (bogdan) - * 2005-11-03 rewritten to use the new timers (andrei) - * 2007-06-01 support for different retr. intervals per transaction; - * added maximum inv. and non-inv. transaction life time (andrei) - * 2007-06-09 wait timers and retr. timers (if TM_FAST_RETR_TIMER is defined) - * are run in a fast timer context switching to SLOW timer - * automatically for FR (andrei) - */ - /** * \file * \brief TM :: timer support diff --git a/modules/tm/tm.c b/modules/tm/tm.c index de1b7d039e4..b82775e4898 100644 --- a/modules/tm/tm.c +++ b/modules/tm/tm.c @@ -1,6 +1,4 @@ /* - * $Id$ - * * TM module * * @@ -30,14 +28,14 @@ * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of SIP-router, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * SIP-router is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * SIP-router is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -46,50 +44,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* - * History: - * -------- - * 2003-02-18 added t_forward_nonack_{udp, tcp}, t_relay_to_{udp,tcp}, - * t_replicate_{udp, tcp} (andrei) - * 2003-02-19 added t_rely_{udp, tcp} (andrei) - * 2003-03-06 voicemail changes accepted (jiri) - * 2003-03-10 module export interface updated to the new format (andrei) - * 2003-03-16 flags export parameter added (janakj) - * 2003-03-19 replaced all mallocs/frees w/ pkg_malloc/pkg_free (andrei) - * 2003-03-30 set_kr for requests only (jiri) - * 2003-04-05 s/reply_route/failure_route, onreply_route introduced (jiri) - * 2003-04-14 use protocol from uri (jiri) - * 2003-07-07 added t_relay_to_tls, t_replicate_tls, t_forward_nonack_tls - * added #ifdef USE_TCP, USE_TLS - * removed t_relay_{udp,tcp,tls} (andrei) - * 2003-09-26 added t_forward_nonack_uri() - same as t_forward_nonack() but - * takes no parameters -> forwards to uri (bogdan) - * 2004-02-11 FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri) - * 2004-02-18 t_reply exported via FIFO - imported from VM (bogdan) - * 2004-10-01 added a new param.: restart_fr_on_each_reply (andrei) - * 2005-11-14 new timer support, changed timer related module params (andrei) - * 2005-12-09 fixup_hostport2proxy uses route_struct to access param #1 - * when fixing param #2 - * 2005-12-09 added t_set_fr() (andrei) - * 2006-02-07 named routes support (andrei) - * 2006-09-28 added t_branch_replied, t_branch_timeout, t_any_replied, - * t_any_timeout, t_is_canceled (andrei) - * 2006-10-16 added a new param.: aggregate challenges (andrei) - * 2007-05-28 two new params: reparse_invite, ac_extra_hdrs - * added w_t_relay_cancel() (Miklos) - * 2007-06-05 added t_set_auto_inv_100() and auto_inv_100 (param); - * t_set_max_lifetime(), max_{non}inv_lifetime (andrei) - * 2008-02-05 module config parameters use the configuration framework (Miklos) - * 2008-02-29 added t_grep_status(code) (andrei) - * 2008-05-15 added t_relay(host, port) (similar to forward(host, port)) & - * t_relay_to_{udp,tcp,tls}() (force protocol, but - * forward to uri) (andrei) - * 2008-08-11 sctp support: t_relay_to_sctp, t_replicate_sctp, - * t_forward_nonack_sctp (andrei) - * 2009-03-18 added a new param: auto_inv_100_reason (aheise) - * 2010-03-03 added new params: local_cancel_reason and e2e_cancel_reason - * (andrei) - */ /** TM :: Module API (core). * @file diff --git a/modules/tm/tm_load.c b/modules/tm/tm_load.c index 8d16a995566..65a89cc1738 100644 --- a/modules/tm/tm_load.c +++ b/modules/tm/tm_load.c @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -24,10 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * -------- - * 2003-03-06 voicemail changes accepted (jiri) - * 2003-04-14 t_relay_to split in udp and tcp (jiri) */ #include "defs.h" diff --git a/modules/tm/tm_load.h b/modules/tm/tm_load.h index b5e97660f99..3e32d4f3667 100644 --- a/modules/tm/tm_load.h +++ b/modules/tm/tm_load.h @@ -1,21 +1,14 @@ /* - * $Id$ - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -25,11 +18,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * - * History: - * -------- - * 2003-03-06 voicemail changes accepted - * 2009-07-14 renamed which_cancel* to prepare_to_cancel* (andrei) - * */ diff --git a/modules/tm/uac.c b/modules/tm/uac.c index 10e7a598095..8c3a485a834 100644 --- a/modules/tm/uac.c +++ b/modules/tm/uac.c @@ -1,6 +1,4 @@ /* - * $Id$ - * * simple UAC for things such as SUBSCRIBE or SMS gateway; * no authentication and other UAC features -- just send * a message, retransmit and await a reply; forking is not @@ -9,19 +7,14 @@ * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -30,34 +23,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * -------- - * 2003-01-23 t_uac_dlg now uses get_out_socket (jiri) - * 2003-01-27 fifo:t_uac_dlg completed (jiri) - * 2003-01-29 scratchpad removed (jiri) - * 2003-02-13 t_uac, t _uac_dlg, gethfblock, uri2proxy changed to use - * proto & rb->dst (andrei) - * 2003-02-27 FIFO/UAC now dumps reply -- good for CTD (jiri) - * 2003-02-28 scratchpad compatibility abandoned (jiri) - * 2003-03-01 kr set through a function now (jiri) - * 2003-03-19 replaced all mallocs/frees w/ pkg_malloc/pkg_free (andrei) - * 2003-04-02 port_no_str does not contain a leading ':' anymore (andrei) - * 2003-07-08 appropriate log messages in check_params(...), - * call calculate_hooks if next_hop==NULL in t_uac (dcm) - * 2003-10-24 updated to the new socket_info lists (andrei) - * 2003-12-03 completion filed removed from transaction and uac callbacks - * merged in transaction callbacks as LOCAL_COMPLETED (bogdan) - * 2004-02-11 FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri) - * 2004-02-13 t->is_invite, t->local, t->noisy_ctimer replaced (bogdan) - * 2004-08-23 avp support in t_uac (bogdan) - * 2005-12-16 t_uac will set the new_cell timers to the default values, - * fixes 0 fr_timer bug (andrei) - * 2006-08-11 t_uac uses dns failover until it finds a send socket (andrei) - * 2007-03-15 TMCB_ONSEND callbacks support added (andrei) - * 2007-03-23 TMCB_LOCAL_REQUEST_IN callbacks support (andrei) - * 2007-04-23 per dialog callbacks support (andrei) - * 2007-06-01 support for per transaction different retransmissions intervals - * (andrei) */ #include diff --git a/modules/tm/uac.h b/modules/tm/uac.h index 66232c9943f..0c4ff9be3ec 100644 --- a/modules/tm/uac.h +++ b/modules/tm/uac.h @@ -1,22 +1,14 @@ /* - * $Id$ - * - * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -25,9 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * ---------- - * 2003-02-28 protocolization of t_uac_dlg completed (jiri) */ #ifndef _UAC_H diff --git a/modules/tm/ut.h b/modules/tm/ut.h index ea98a8fc90f..956b32937cd 100644 --- a/modules/tm/ut.h +++ b/modules/tm/ut.h @@ -1,24 +1,17 @@ /* - * $Id$ - * * utilities * * * Copyright (C) 2001-2003 FhG Fokus * - * This file is part of ser, a free SIP server. + * This file is part of Kamailio, a free SIP server. * - * ser is free software; you can redistribute it and/or modify + * Kamailio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version * - * For a license to use the ser software under conditions - * other than those described here, or to purchase support for this - * software, please contact iptel.org by e-mail at the following addresses: - * info@iptel.org - * - * ser is distributed in the hope that it will be useful, + * Kamailio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -27,17 +20,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - * History: - * ------- - * 2003-02-13 added proto to uri2proxy (andrei) - * 2003-04-09 uri2sock moved from uac.c (janakj) - * 2003-04-14 added get_proto to determine protocol from uri unless - * specified explicitly (jiri) - * 2003-07-07 get_proto takes now two protos as arguments (andrei) - * tls/sips support for get_proto & uri2proxy (andrei) - * 2006-04-13 added uri2dst(), simplified uri2sock() (andrei) - * 2006-08-11 dns failover support: uri2dst uses the dns cache and tries to - * get the first ip for which there is a send sock. (andrei) */