Browse code

tm Remove svn ID, remove history, rename "ser" to "kamailio"

Olle E. Johansson authored on 03/01/2015 15:48:29
Showing 52 changed files
... ...
@@ -1,14 +1,14 @@
1 1
 /*
2 2
  * Copyright (C) 2001-2003 FhG Fokus
3 3
  *
4
- * This file is part of SIP-router, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
5 5
  *
6
- * SIP-router is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
7 7
  * it under the terms of the GNU General Public License as published by
8 8
  * the Free Software Foundation; either version 2 of the License, or
9 9
  * (at your option) any later version
10 10
  *
11
- * SIP-router is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
12 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 14
  * GNU General Public License for more details.
... ...
@@ -17,10 +17,6 @@
17 17
  * along with this program; if not, write to the Free Software 
18 18
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19 19
  *
20
- * History:
21
- * ----------
22
- *  2003-04-09  Created by janakj
23
- *  2003-10-24  updated to the new socket_info lists (andrei)
24 20
  */
25 21
 
26 22
 /*!
... ...
@@ -1,14 +1,14 @@
1 1
 /*
2 2
  * Copyright (C) 2001-2003 FhG Fokus
3 3
  *
4
- * This file is part of SIP-router, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
5 5
  *
6
- * SIP-router is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
7 7
  * it under the terms of the GNU General Public License as published by
8 8
  * the Free Software Foundation; either version 2 of the License, or
9 9
  * (at your option) any later version
10 10
  *
11
- * SIP-router is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
12 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 14
  * GNU General Public License for more details.
... ...
@@ -1,16 +1,15 @@
1 1
 /*
2
- * $Id$
3 2
  *
4 3
  * Copyright (C) 2008 iptelorg GmbH
5 4
  *
6
- * This file is part of SIP-router, a free SIP server.
5
+ * This file is part of Kamailio, a free SIP server.
7 6
  *
8
- * SIP-router is free software; you can redistribute it and/or modify
7
+ * Kamailio is free software; you can redistribute it and/or modify
9 8
  * it under the terms of the GNU General Public License as published by
10 9
  * the Free Software Foundation; either version 2 of the License, or
11 10
  * (at your option) any later version
12 11
  *
13
- * SIP-router is distributed in the hope that it will be useful,
12
+ * Kamailio is distributed in the hope that it will be useful,
14 13
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 14
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 15
  * GNU General Public License for more details.
... ...
@@ -19,9 +18,6 @@
19 19
  * along with this program; if not, write to the Free Software
20 20
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21 21
  *
22
- * History
23
- * -------
24
- *  2008-02-05	adapting tm module for the configuration framework (Miklos)
25 22
  */
26 23
 
27 24
 /** TM :: Runtime configuration variables.
... ...
@@ -1,17 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4
- *
5 2
  * Copyright (C) 2001-2003 FhG Fokus
6 3
  *
7
- * This file is part of SIP-router, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
8 5
  *
9
- * SIP-router is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
10 7
  * it under the terms of the GNU General Public License as published by
11 8
  * the Free Software Foundation; either version 2 of the License, or
12 9
  * (at your option) any later version
13 10
  *
14
- * SIP-router is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
15 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 14
  * GNU General Public License for more details.
... ...
@@ -1,17 +1,15 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  *
5 3
  * Copyright (C) 2001-2003 FhG Fokus
6 4
  *
7
- * This file is part of SIP-router, a free SIP server.
5
+ * This file is part of Kamailio, a free SIP server.
8 6
  *
9
- * SIP-router is free software; you can redistribute it and/or modify
7
+ * Kamailio is free software; you can redistribute it and/or modify
10 8
  * it under the terms of the GNU General Public License as published by
11 9
  * the Free Software Foundation; either version 2 of the License, or
12 10
  * (at your option) any later version
13 11
  *
14
- * SIP-router is distributed in the hope that it will be useful,
12
+ * Kamailio is distributed in the hope that it will be useful,
15 13
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 14
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 15
  * GNU General Public License for more details.
... ...
@@ -20,9 +18,6 @@
20 20
  * along with this program; if not, write to the Free Software 
21 21
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
22 22
  *
23
- * History:
24
- * ---------
25
- * 2003-01-27 t_uac deprecated (jiri)
26 23
  */
27 24
 
28 25
 /*!
... ...
@@ -1,16 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of SIP-router, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * SIP-router is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * SIP-router is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
14 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 14
  * GNU General Public License for more details.
... ...
@@ -19,12 +17,6 @@
19 19
  * along with this program; if not, write to the Free Software
20 20
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21 21
  *
22
- * History:
23
- * -------
24
- * 2003-03-29 Created by janakj
25
- * 2003-07-08 added wrapper to calculate_hooks, needed by b2bua (dcm)
26
- * 2007-04-13 added dialog callbacks (andrei)
27
- * 2007-05-16 added dialog callbacks destroy (andrei)
28 22
  */
29 23
 
30 24
 /*!
... ...
@@ -1,15 +1,14 @@
1 1
 /*
2
- * $Id$
3 2
  * Copyright (C) 2001-2003 FhG Fokus
4 3
  *
5
- * This file is part of SIP-router, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
6 5
  *
7
- * SIP-router is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
8 7
  * it under the terms of the GNU General Public License as published by
9 8
  * the Free Software Foundation; either version 2 of the License, or
10 9
  * (at your option) any later version
11 10
  *
12
- * SIP-router is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
13 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 14
  * GNU General Public License for more details.
... ...
@@ -18,10 +17,6 @@
18 18
  * along with this program; if not, write to the Free Software
19 19
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
20 20
  *
21
- * History:
22
- * -------
23
- * 2003-03-29 Created by janakj
24
- * 2007-04-13 added dialog callbacks (andrei)
25 21
  */
26 22
 
27 23
 /*!
... ...
@@ -1,16 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of SIP-router, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * SIP-router is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * SIP-router is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
14 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 14
  * GNU General Public License for more details.
... ...
@@ -19,28 +17,6 @@
19 19
  * along with this program; if not, write to the Free Software 
20 20
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21 21
  *
22
- * History
23
- * -------
24
- * 2003-03-06  200/INV to-tag list deallocation added;
25
- *             setting "kill_reason" moved in here -- it is moved
26
- *             from transaction state to a static var(jiri)
27
- * 2003-03-16  removed _TOTAG (jiri)
28
- * 2003-03-30  set_kr for requests only (jiri)
29
- * 2003-04-04  bug_fix: REQ_IN callback not called for local 
30
- *             UAC transactions (jiri)
31
- * 2003-09-12  timer_link->tg will be set only if EXTRA_DEBUG (andrei)
32
- * 2003-12-04  global callbacks replaceed with callbacks per transaction;
33
- *             completion callback merged into them as LOCAL_COMPETED (bogdan)
34
- * 2004-02-11  FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri)
35
- * 2004-02-13  t->is_invite and t->local replaced with flags;
36
- *             timer_link.payload removed (bogdan)
37
- * 2004-08-23  avp support added - move and remove avp list to/from
38
- *             transactions (bogdan)
39
- * 2006-08-11  dns failover support (andrei)
40
- * 2007-05-16  callbacks called on destroy (andrei)
41
- * 2007-06-06  don't allocate extra space for md5 if not used: syn_branch==1 
42
- *              (andrei)
43
- * 2007-06-06  switched tm bucket list to a simpler and faster clist (andrei)
44 22
  */
45 23
 
46 24
 /*!
... ...
@@ -1,16 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of SIP-router, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * SIP-router is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * SIP-router is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
14 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 14
  * GNU General Public License for more details.
... ...
@@ -19,25 +17,6 @@
19 19
  * along with this program; if not, write to the Free Software 
20 20
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21 21
  *
22
- * History:
23
- * --------
24
- * 2003-03-16  removed _TOTAG (jiri)
25
- * 2003-03-06  we keep a list of 200/INV to-tags now (jiri)
26
- * 2003-03-01  kr set through a function now (jiri)
27
- * 2003-12-04  callbacks per transaction added; completion callback
28
- *             merge into them as LOCAL_COMPETED (bogdan)
29
- * 2004-02-11  FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri)
30
- * 2004-02-13  t->is_invite, t->local, t->noisy_ctimer replaced
31
- *             with flags (bogdan)
32
- * 2004-08-23  avp support added - avp list linked in transaction (bogdan)
33
- * 2005-11-03  updated to the new timer interface (dropped tm timers) (andrei)
34
- * 2006-08-11  dns failover support (andrei)
35
- * 2007-05-29  switch ref_count to atomic and delete a cell automatically on
36
- *             UNREF if the ref_count reaches 0 (andrei)
37
- * 2007-06-01  support for different retransmissions intervals per transaction;
38
- *             added maximum inv. and non-inv. transaction life time (andrei)
39
- * 2007-06-06  switched tm bucket list to a simpler and faster clist;
40
- *              inlined often used functions (andrei)
41 22
  */
42 23
 
43 24
 /**  TM :: hash table, flags and other general defines.
... ...
@@ -1,21 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -24,15 +17,6 @@
24 24
  * along with this program; if not, write to the Free Software 
25 25
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
26 26
  */
27
-/*
28
- * History:
29
- * --------
30
- *  2003-03-17  converted to locking.h (andrei)
31
- *  2004-07-28  s/lock_set_t/gen_lock_set_t/ because of a type conflict
32
- *              on darwin (andrei)
33
- *  2006-03-07  removed timer_semaphore, timer_group_lock and related functions
34
- *              since timers are now handled outside tm (andrei)
35
- */
36 27
 
37 28
 
38 29
 #include "defs.h"
... ...
@@ -1,21 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -24,15 +17,6 @@
24 24
  * along with this program; if not, write to the Free Software 
25 25
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
26 26
  */
27
-/*
28
- * History:
29
- * --------
30
- *  2003-03-17  converted to locking.h (andrei)
31
- *  2004-07-28  s/lock_set_t/gen_lock_set_t/ because of a type conflict
32
- *              on darwin (andrei)
33
- *  2007-03-07  timer locks cleanup: timers are now handled outside tm => no
34
- *              need for timer locks in tm (andrei)
35
- */
36 27
 
37 28
 #include "defs.h"
38 29
 
... ...
@@ -1,21 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2007 iptelorg GmbH
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -1,21 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2007 iptelorg GmbH
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -1,6 +1,4 @@
1 1
 /* 
2
- * $Id$
3
- * 
4 2
  * Copyright (C) 2009 iptelorg GmbH
5 3
  *
6 4
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -18,11 +16,6 @@
18 18
 /*
19 19
  * modules/tm/rpc_uac.c
20 20
  */
21
-/*
22
- * History:
23
- * --------
24
- *  2009-07-20  initial version (andrei)
25
-*/
26 21
 
27 22
 #include "rpc_uac.h"
28 23
 #include "../../rpc.h"
... ...
@@ -1,6 +1,4 @@
1 1
 /* 
2
- * $Id$
3
- * 
4 2
  * Copyright (C) 2009 iptelorg GmbH
5 3
  *
6 4
  * Permission to use, copy, modify, and distribute this software for any
... ...
@@ -15,14 +13,6 @@
15 15
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 16
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 17
  */
18
-/*
19
- * modules/tm/rpc_uac.h
20
- */
21
-/*
22
- * History:
23
- * --------
24
- *  2009-07-20  initial version (andrei)
25
-*/
26 18
 
27 19
 #ifndef __rpc_uac_h
28 20
 #define __rpc_uac_h
... ...
@@ -1,21 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -1,22 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4
- *
5 2
  * Copyright (C) 2001-2003 FhG Fokus
6 3
  *
7
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
8 5
  *
9
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
10 7
  * it under the terms of the GNU General Public License as published by
11 8
  * the Free Software Foundation; either version 2 of the License, or
12 9
  * (at your option) any later version
13 10
  *
14
- * For a license to use the ser software under conditions
15
- * other than those described here, or to purchase support for this
16
- * software, please contact iptel.org by e-mail at the following addresses:
17
- *    info@iptel.org
18
- *
19
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
20 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 14
  * GNU General Public License for more details.
... ...
@@ -1,19 +1,14 @@
1 1
 /*
2 2
  * Copyright (C) 2001-2003 FhG Fokus
3 3
  *
4
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
5 5
  *
6
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
7 7
  * it under the terms of the GNU General Public License as published by
8 8
  * the Free Software Foundation; either version 2 of the License, or
9 9
  * (at your option) any later version
10 10
  *
11
- * For a license to use the ser software under conditions
12
- * other than those described here, or to purchase support for this
13
- * software, please contact iptel.org by e-mail at the following addresses:
14
- *    info@iptel.org
15
- *
16
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
17 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 14
  * GNU General Public License for more details.
... ...
@@ -22,24 +17,7 @@
22 22
  * along with this program; if not, write to the Free Software
23 23
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
24 24
  *
25
- * History:
26
- * --------
27
- *  2003-01-23 - msg_cloner clones msg->from->parsed too (janakj)
28
- *  2003-01-29 - scratchpad removed (jiri)
29
- *  2003-02-25 - auth_body cloner added (janakj)
30
- *  2003-02-28  scratchpad compatibility abandoned (jiri)
31
- *  2003-03-31  removed msg->repl_add_rm (andrei)
32
- *  2003-04-04  parsed uris are recalculated on cloning (jiri)
33
- *  2003-05-07  received, rport & i via shortcuts are also translated (andrei)
34
- *  2003-11-11  updated cloning of lump_rpl (bogdan)
35
- *  2004-03-31  alias shortcuts are also translated (andrei)
36
- *  2006-04-20  via->comp is also translated (andrei)
37
- *  2006-10-16  HDR_{PROXY,WWW}_AUTHENTICATE_T cloned (andrei)
38
- *  2007-01-26  HDR_DATE_T, HDR_IDENTITY_T, HDR_IDENTITY_INFO_T added (gergo)
39
- *  2007-09-05  A separate memory block is allocated for the lumps
40
- *              in case of requests in order to allow cloning them
41
- *              later than the SIP msg. (Miklos)
42
- * 2009-07-22  moved most of the functions to core sip_msg_clone.c  (andrei)*/
25
+ */
43 26
 
44 27
 /**
45 28
  * @file
... ...
@@ -1,19 +1,14 @@
1 1
 /*
2 2
  * Copyright (C) 2001-2003 FhG Fokus
3 3
  *
4
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
5 5
  *
6
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
7 7
  * it under the terms of the GNU General Public License as published by
8 8
  * the Free Software Foundation; either version 2 of the License, or
9 9
  * (at your option) any later version
10 10
  *
11
- * For a license to use the ser software under conditions
12
- * other than those described here, or to purchase support for this
13
- * software, please contact iptel.org by e-mail at the following addresses:
14
- *    info@iptel.org
15
- *
16
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
17 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 14
  * GNU General Public License for more details.
... ...
@@ -23,9 +23,6 @@
23 23
  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
24 24
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 25
  *
26
- * History:
27
- * -------
28
- *  2014-09-09  first release of t_append_branches
29 26
  *
30 27
  */
31 28
 
... ...
@@ -23,10 +23,6 @@
23 23
  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
24 24
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 25
  *
26
- * History:
27
- * -------
28
- *  2014-09-09  first release of t_append_branches
29
- *
30 26
  */
31 27
 
32 28
 #ifndef _T_APPEND_BRANCHES_H
... ...
@@ -1,22 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4
- *
5 2
  * Copyright (C) 2001-2003 FhG Fokus
6 3
  *
7
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
8 5
  *
9
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
10 7
  * it under the terms of the GNU General Public License as published by
11 8
  * the Free Software Foundation; either version 2 of the License, or
12 9
  * (at your option) any later version
13 10
  *
14
- * For a license to use the ser software under conditions
15
- * other than those described here, or to purchase support for this
16
- * software, please contact iptel.org by e-mail at the following addresses:
17
- *    info@iptel.org
18
- *
19
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
20 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 14
  * GNU General Public License for more details.
... ...
@@ -25,28 +17,6 @@
25 25
  * along with this program; if not, write to the Free Software 
26 26
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
27 27
  *
28
- * History:
29
- * ----------
30
- * 2003-04-14  checking if a reply sent before cancel is initiated
31
- *             moved here (jiri)
32
- * 2004-02-11  FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri)
33
- * 2004-02-13  timer_link.payload removed (bogdan)
34
- * 2006-10-10  cancel_uacs  & cancel_branch take more options now (andrei)
35
- * 2007-03-15  TMCB_ONSEND hooks added (andrei)
36
- * 2007-05-28: cancel_branch() constructs the CANCEL from the
37
- *             outgoing INVITE instead of the incomming one.
38
- *             (it can be disabled with reparse_invite=0) (Miklos)
39
- * 2007-06-04  cancel_branch() can operate in lockless mode (with a lockless
40
- *              should_cancel()) (andrei)
41
- * 2008-03-07  cancel_branch() takes a new flag: F_CANCEL_B_FORCE_RETR (andrei)
42
- * 2008-03-08  e2e_cancel handles non replied branches in 3 different ways,
43
- *              selectable by the tm cancel_b_method parameter: fake reply,
44
- *              retransmit request and send cancel on branch (andrei)
45
- * 2009-07-14  renamed which_cancel() to prepare_to_cancel() for better
46
- *              reflecting its purpose
47
- *             prepare_to_cancel() takes now an additional skip_branches
48
- *              bitmap parameter (andrei)
49
- * 2010-02-26  cancel reason (rfc3326) basic support (andrei)
50 28
  */
51 29
 
52 30
 #include <stdio.h> /* for FILE* in fifo_uac_cancel */
... ...
@@ -1,22 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4
- *
5 2
  * Copyright (C) 2001-2003 FhG Fokus
6 3
  *
7
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
8 5
  *
9
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
10 7
  * it under the terms of the GNU General Public License as published by
11 8
  * the Free Software Foundation; either version 2 of the License, or
12 9
  * (at your option) any later version
13 10
  *
14
- * For a license to use the ser software under conditions
15
- * other than those described here, or to purchase support for this
16
- * software, please contact iptel.org by e-mail at the following addresses:
17
- *    info@iptel.org
18
- *
19
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
20 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 14
  * GNU General Public License for more details.
... ...
@@ -25,17 +17,6 @@
25 25
  * along with this program; if not, write to the Free Software 
26 26
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
27 27
  *
28
- * History:
29
- * ---------
30
- *  2004-02-11  FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri)
31
- *  2006-10-10  should_cancel_branch() returns true even for branches with
32
- *               no response or with response <100 (andrei)
33
- *  2007-06-04  should_cancel_branch() takes another parameter and it is safe
34
- *               to be called w/o REPLY_LOCK held (andrei)
35
- *  2009-07-14  should_cancel_branch() renamed to prepare_cancel_branch() to
36
- *               better reflect its purpose
37
- *              which_cancel() renamed to prepare_to_cancel() (andrei)
38
- * 2010-02-26  cancel reason (rfc3326) basic support (andrei)
39 28
  */
40 29
 
41 30
 
... ...
@@ -1,23 +1,16 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * transaction maintenance functions
5 3
  *
6 4
  * Copyright (C) 2001-2003 FhG Fokus
7 5
  *
8
- * This file is part of ser, a free SIP server.
6
+ * This file is part of Kamailio, a free SIP server.
9 7
  *
10
- * ser is free software; you can redistribute it and/or modify
8
+ * Kamailio is free software; you can redistribute it and/or modify
11 9
  * it under the terms of the GNU General Public License as published by
12 10
  * the Free Software Foundation; either version 2 of the License, or
13 11
  * (at your option) any later version
14 12
  *
15
- * For a license to use the ser software under conditions
16
- * other than those described here, or to purchase support for this
17
- * software, please contact iptel.org by e-mail at the following addresses:
18
- *    info@iptel.org
19
- *
20
- * ser is distributed in the hope that it will be useful,
13
+ * Kamailio is distributed in the hope that it will be useful,
21 14
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 15
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 16
  * GNU General Public License for more details.
... ...
@@ -26,10 +19,6 @@
26 26
  * along with this program; if not, write to the Free Software 
27 27
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
28 28
  *
29
- * History:
30
- * -------
31
- *  2004-02-23  created by splitting it from t_funcs (bogdan)
32
- *  2004-11-15  t_write_xxx can print whatever avp/hdr
33 29
  */
34 30
 
35 31
 
... ...
@@ -1,21 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -24,10 +17,6 @@
24 24
  * along with this program; if not, write to the Free Software 
25 25
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
26 26
  *
27
- * History:
28
- * --------
29
- *  2003-03-31  200 for INVITE/UAS resent even for UDP (jiri) 
30
- *  2004-11-15  t_write_xxx can print whatever avp/hdr
31 27
  */
32 28
 
33 29
 
... ...
@@ -1,23 +1,16 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * transaction maintenance functions
5 3
  *
6 4
  * Copyright (C) 2001-2003 FhG Fokus
7 5
  *
8
- * This file is part of ser, a free SIP server.
6
+ * This file is part of Kamailio, a free SIP server.
9 7
  *
10
- * ser is free software; you can redistribute it and/or modify
8
+ * Kamailio is free software; you can redistribute it and/or modify
11 9
  * it under the terms of the GNU General Public License as published by
12 10
  * the Free Software Foundation; either version 2 of the License, or
13 11
  * (at your option) any later version
14 12
  *
15
- * For a license to use the ser software under conditions
16
- * other than those described here, or to purchase support for this
17
- * software, please contact iptel.org by e-mail at the following addresses:
18
- *    info@iptel.org
19
- *
20
- * ser is distributed in the hope that it will be useful,
13
+ * Kamailio is distributed in the hope that it will be useful,
21 14
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 15
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 16
  * GNU General Public License for more details.
... ...
@@ -26,32 +19,6 @@
26 26
  * along with this program; if not, write to the Free Software 
27 27
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
28 28
  */
29
-/*
30
- * History:
31
- * -------
32
- *  2003-03-31  200 for INVITE/UAS resent even for UDP (jiri)
33
- *               info only if compiling w/ -DEXTRA_DEBUG (andrei)
34
- *  2003-03-19  replaced all mallocs/frees w/ pkg_malloc/pkg_free (andrei)
35
- *  2003-03-13  send_pr_buffer is called w/ file/function/line debugging
36
- *  2003-03-01  start_retr changed to retransmit only for UDP
37
- *  2003-02-13  modified send_pr_buffer to use msg_send & rb->dst (andrei)
38
- *  2003-04-14  use protocol from uri (jiri)
39
- *  2003-04-25  do it (^) really everywhere (jiri)
40
- *  2003-04-26  do it (^) really really really everywhere (jiri)
41
- *  2003-07-07  added get_proto calls when proxy!=0 (andrei)
42
- *  2004-02-13  t->is_invite and t->local replaced with flags (bogdan)
43
- *  2005-02-16  fr_*_timer acceps full AVP specifications; empty AVP
44
- *              desable variable timer feature (bogdan)
45
- *  2005-12-11  t_relay doesn't return 0 (stop script) on send error 
46
- *              anymore (andrei)
47
- *  2006-08-11  updated forward_request usage (andrei)
48
- *              t_relay_to releases the transaction if t_forward_non_ack
49
- *              fails and t_kill fails or this is a failed replication (andrei)
50
- *  2007-05-02  t_relay_to() uses now t_forward_cancel for cancels (andrei)
51
- *  2007-06-05  delay t_relay() replies till script end so that they can be
52
- *               overwritten by the script user; generate 100 automatically
53
- *               only if T_NO_100 is not set (andrei)
54
- */
55 29
 
56 30
 #include <limits.h>
57 31
 #include <string.h>
... ...
@@ -1,21 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -24,17 +17,6 @@
24 24
  * along with this program; if not, write to the Free Software 
25 25
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
26 26
  */
27
- /* History:
28
-  * --------
29
-  *  2003-02-18  updated various function prototypes (andrei)
30
-  *  2003-03-10  removed ifdef _OBSO & made redefined all the *UNREF* macros
31
-  *               in a non-gcc specific way (andrei)
32
-  *  2003-03-13  now send_pr_buffer will be called w/ function/line info
33
-  *               only when compiling w/ -DEXTRA_DEBUG (andrei)
34
-  *  2003-03-31  200 for INVITE/UAS resent even for UDP (jiri) 
35
-  *  2005-11-09  added stop_rb_timers, updated to the new timer interface 
36
-  *               (andrei)
37
-  */
38 27
 
39 28
 
40 29
 
... ...
@@ -1,22 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4
- *
5 2
  * Copyright (C) 2001-2003 FhG Fokus
6 3
  *
7
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
8 5
  *
9
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
10 7
  * it under the terms of the GNU General Public License as published by
11 8
  * the Free Software Foundation; either version 2 of the License, or
12 9
  * (at your option) any later version
13 10
  *
14
- * For a license to use the ser software under conditions
15
- * other than those described here, or to purchase support for this
16
- * software, please contact iptel.org by e-mail at the following addresses:
17
- *    info@iptel.org
18
- *
19
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
20 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 14
  * GNU General Public License for more details.
... ...
@@ -25,66 +17,6 @@
25 25
  * along with this program; if not, write to the Free Software 
26 26
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
27 27
  */
28
-/*
29
- * History:
30
- * -------
31
- *  2003-02-13  proto support added (andrei)
32
- *  2003-02-24  s/T_NULL/T_NULL_CELL/ to avoid redefinition conflict w/
33
- *              nameser_compat.h (andrei)
34
- *  2003-03-01  kr set through a function now (jiri)
35
- *  2003-03-06  callbacks renamed; "blind UAC" introduced, which makes
36
- *              transaction behave as if it was forwarded even if it was
37
- *              not -- good for local UAS, like VM (jiri)
38
- *  2003-03-19  replaced all the mallocs/frees w/ pkg_malloc/pkg_free (andrei)
39
- *  2003-03-30  we now watch downstream delivery and if it fails, send an
40
- *              error message upstream (jiri)
41
- *  2003-04-14  use protocol from uri (jiri)
42
- *  2003-12-04  global TM callbacks switched to per transaction callbacks
43
- *              (bogdan)
44
- *  2004-02-13: t->is_invite and t->local replaced with flags (bogdan)
45
- *  2005-08-04  msg->parsed_uri and parsed_uri_ok are no saved & restored
46
- *               before & after handling the branches (andrei)
47
- *  2005-12-11  onsend_route support added for forwarding (andrei)
48
- *  2006-01-27  t_forward_no_ack will return error if a forward on an 
49
- *              already canceled transaction is attempted (andrei)
50
- *  2006-02-07  named routes support (andrei)
51
- *  2006-04-18  add_uac simplified + switched to struct dest_info (andrei)
52
- *  2006-04-20  pint_uac_request uses now struct dest_info (andrei)
53
- *  2006-08-11  dns failover support (andrei)
54
- *              t_forward_non_ack won't start retransmission on send errors
55
- *               anymore (WARNING: callers should release/kill the transaction
56
- *               if error is returned) (andrei)
57
- *  2006-09-15  e2e_cancel uses t_reply_unsafe when called from the 
58
- *               failure_route and replying to a cancel (andrei)
59
- *  2006-10-10  e2e_cancel update for the new/modified 
60
- *               which_cancel()/should_cancel() (andrei)
61
- *  2006-10-11  don't fork a new branch if the transaction or branch was
62
- *               canceled, or a 6xx was received
63
- *              stop retr. timers fix on cancel for non-invites     (andrei)
64
- *  2006-11-20  new_uri is no longer saved/restore across add_uac calls, since
65
- *              print_uac_request is now uri safe (andrei)
66
- *  2007-03-15  TMCB_ONSEND hooks added (andrei)
67
- *  2007-05-02  added t_forward_cancel(unmatched_cancel) (andrei)
68
- *  2007-05-24  added TMCB_E2ECANCEL_IN hook support (andrei)
69
- *  2007-05-28: e2e_cancel_branch() constructs the CANCEL from the
70
- *              outgoing INVITE instead of applying the lumps to the
71
- *              incomming one. (it can be disabled with reparse_invite=0) (Miklos)
72
- *              t_relay_cancel() introduced -- can be used to relay CANCELs
73
- *              at the beginning of the script. (Miklos)
74
- * 2007-06-04  running transaction are canceled hop by hop (andrei)
75
- * 2007-08-37  In case of DNS failover the new SIP message is constructed
76
- *              from the message buffer of the failed branch instead of
77
- *              applying the lumps again, because the per-branch lumps are no
78
- *              t saved, thus, are not available. Set reparse_on_dns_failover
79
- *              to 0 to revert the change. (Miklos)
80
- * 2008-06-04  T_CANCELED is now set each time a CANCEL is received (andrei)
81
- * 2009-06-01  Pre- and post-script callbacks of branch route are 
82
- *             executed (Miklos)
83
- * 2009-10-26  support for changing dst_uri in branch routes,
84
- *             s/print_uac_request/prepare_new_uac/ (andrei)
85
- * 2009-10-28  support for changing r-uris and path in branch routes; more of
86
- *             add_uac() functionality moved into prepare_new_uac()  (andrei)
87
- */
88 28
 
89 29
 #include "defs.h"
90 30
 
... ...
@@ -1,22 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4
- *
5 2
  * Copyright (C) 2001-2003 FhG Fokus
6 3
  *
7
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
8 5
  *
9
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
10 7
  * it under the terms of the GNU General Public License as published by
11 8
  * the Free Software Foundation; either version 2 of the License, or
12 9
  * (at your option) any later version
13 10
  *
14
- * For a license to use the ser software under conditions
15
- * other than those described here, or to purchase support for this
16
- * software, please contact iptel.org by e-mail at the following addresses:
17
- *    info@iptel.org
18
- *
19
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
20 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 14
  * GNU General Public License for more details.
... ...
@@ -25,13 +17,6 @@
25 25
  * along with this program; if not, write to the Free Software 
26 26
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
27 27
  */
28
-/*
29
- * History:
30
- * --------
31
- *  2003-02-18  added proto to various function prototypes (andrei)
32
- *  2007-05-02  added unmatched_cancel & t_forward_cancel (andrei)
33
- */
34
-
35 28
 
36 29
 #ifndef _T_FWD_H
37 30
 #define _T_FWD_H
... ...
@@ -1,21 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -24,21 +17,6 @@
24 24
  * along with this program; if not, write to the Free Software 
25 25
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
26 26
  */
27
-/*
28
- * History:
29
- * --------
30
- *  2003-03-19  replaced all the mallocs/frees w/ pkg_malloc/pkg_free (andrei)
31
- *  2003-12-04  global callbacks moved into transaction callbacks;
32
- *              multiple events per callback added; single list per
33
- *              transaction for all its callbacks (bogdan)
34
- *  2004-08-23  user avp(attribute value pair) added -> making avp list
35
- *              available in callbacks (bogdan)
36
- * 2007-03-08  membar_write() used in insert_tmcb(...) (andrei)
37
- * 2007-03-14  added *_SENT callbacks (andrei)
38
- * 2007-03-23  added local_req_in callbacks support (andrei)
39
- * 2007-05-17  insert_tmcb is now safe: it loops arround a mb_atomic_cmpxchg
40
- *              for a safe lockless list insert (andrei)
41
- */
42 27
 
43 28
 #include "defs.h"
44 29
 
... ...
@@ -1,21 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -24,20 +17,6 @@
24 24
  * along with this program; if not, write to the Free Software
25 25
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
26 26
  *
27
- * History:
28
- * --------
29
- * 2003-03-16 : backwards-compatibility callback names introduced (jiri)
30
- * 2003-03-06 : old callbacks renamed, new one introduced (jiri)
31
- * 2003-12-04 : global callbacks moved into transaction callbacks;
32
- *              multiple events per callback added; single list per
33
- *              transaction for all its callbacks (bogdan)
34
- * 2007-03-14   added *_SENT callbacks (andrei)
35
- * 2007-03-17   added TMCB_NEG_ACK_IN, TMCB_REQ_RETR_IN & 
36
- *               TMCB_LOCAL_RESPONSE_IN (andrei)
37
- * 2007-03-23   added TMCB_LOCAL_REQUEST_IN (andrei)
38
- * 2007-05-16   added TMCB_DESTROY (andrei)
39
- * 2007-05-24   fixed has_tran_tmcbs() & added TMCB_E2ECANCEL_IN (andrei)
40
- * 2007-11-12   added TMCB_E2EACK_RETR_IN (andrei)
41 27
  */
42 28
 
43 29
 
... ...
@@ -1,6 +1,4 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * This C-file takes care of matching requests and replies with
5 3
  * existing transactions. Note that we do not do SIP-compliant
6 4
  * request matching as asked by SIP spec. We do bitwise matching of 
... ...
@@ -21,19 +19,14 @@
21 21
  *
22 22
  * Copyright (C) 2001-2003 FhG Fokus
23 23
  *
24
- * This file is part of ser, a free SIP server.
24
+ * This file is part of Kamailio, a free SIP server.
25 25
  *
26
- * ser is free software; you can redistribute it and/or modify
26
+ * Kamailio is free software; you can redistribute it and/or modify
27 27
  * it under the terms of the GNU General Public License as published by
28 28
  * the Free Software Foundation; either version 2 of the License, or
29 29
  * (at your option) any later version
30 30
  *
31
- * For a license to use the ser software under conditions
32
- * other than those described here, or to purchase support for this
33
- * software, please contact iptel.org by e-mail at the following addresses:
34
- *    info@iptel.org
35
- *
36
- * ser is distributed in the hope that it will be useful,
31
+ * Kamailio is distributed in the hope that it will be useful,
37 32
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
38 33
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
39 34
  * GNU General Public License for more details.
... ...
@@ -42,60 +35,6 @@
42 42
  * along with this program; if not, write to the Free Software 
43 43
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
44 44
  *
45
- * History:
46
- * ----------
47
- * 2003-01-23  options for disabling r-uri matching introduced (jiri)
48
- *              nameser_compat.h (andrei)
49
- * 2003-01-27  next baby-step to removing ZT - PRESERVE_ZT (jiri)
50
- * 2003-01-28  scratchpad removed (jiri)
51
- * 2003-02-13  init_rb() is proto indep. & it uses struct dest_info (andrei)
52
- * 2003-02-24  s/T_NULL/T_NULL_CELL/ to avoid redefinition conflict w/
53
- * 2003-02-27  3261 ACK/200 consumption bug removed (jiri)
54
- * 2003-02-28 scratchpad compatibility abandoned (jiri)
55
- * 2003-03-01  kr set through a function now (jiri)
56
- * 2003-03-06  dialog matching introduced for ACKs -- that's important for 
57
- *             INVITE UAS (like INVITE) and 200/ACK proxy matching (jiri)
58
- * 2003-03-29  optimization: e2e ACK matching only if callback installed
59
- *             (jiri)
60
- * 2003-03-30  set_kr for requests only (jiri)
61
- * 2003-04-04  bug_fix: RESPONSE_IN callback not called for local
62
- *             UAC transactions (jiri)
63
- * 2003-04-07  new transactions inherit on_failure and on_relpy from script
64
- *             variables on instantiation (jiri)
65
- * 2003-04-30  t_newtran clean up (jiri)
66
- * 2003-08-21  request lookups fixed to skip UAC transactions, 
67
- *             thanks Ed (jiri)
68
- * 2003-12-04  global TM callbacks switched to per transaction callbacks
69
- *             (bogdan)
70
- * 2004-02-11  FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri)
71
- * 2004-02-13: t->is_invite and t->local replaced with flags (bogdan)
72
- * 2004-10-10: use of mhomed disabled for replies (jiri)
73
- * 2005-02-01: use the incoming request interface for sending the replies
74
- *             - changes in init_rb() (bogdan)
75
- * 2005-12-09  added t_set_fr()  (andrei)
76
- * 2006-01-27  transaction lookup function will set up a cancel flag
77
- *             if the searched transaction was pre-canceled (andrei)
78
- * 2006-10-16  401 & 407 replies are completely parsed if tm_aggregate_auth is
79
- *              set (andrei)
80
- * 2006-11-10  a valid msg->hash_index is now marked by FL_HASH_INDEX in 
81
- *              msg_flags
82
- *             t_lookupOriginalT computes the hash_index by itself  if 
83
- *               needed (andrei)
84
- * 2007-03-17  added callbacks for retransmitted request, ack to negative 
85
- *              replies and replies to local transactions (andrei)
86
- * 2007-06-01  support for different retransmissions intervals per transaction;
87
- *             added maximum inv. and non-inv. transaction life time (andrei)
88
- * 2007-06-05  added delayed error reply support in t_unref;
89
-*              added support for turning off 100 repl. sending on inv. (andrei)
90
- * 2007-06-01  support for different retransmissions intervals per transaction;
91
- *             added maximum inv. and non-inv. transaction life time (andrei)
92
- * 2007-06-06  switched tm bucket list to a simpler and faster clist;
93
- * 2008-02-28  try matching e2e acks in t_lookup() only for transactions
94
- *               which have E2EACK callbacks registered (andrei)
95
- * 2008-03-31  message flags are updated in shared memory even if they are set
96
- *             after t_newtran() (Miklos)
97
- * 2009-06-24  added T_branch and changed set_t() to take also a branch
98
- *              parameter (andrei)
99 45
  */
100 46
 
101 47
 #include "defs.h"
... ...
@@ -1,21 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * Copyright (C) 2001-2003 FhG Fokus
5 3
  *
6
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
7 5
  *
8
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
9 7
  * it under the terms of the GNU General Public License as published by
10 8
  * the Free Software Foundation; either version 2 of the License, or
11 9
  * (at your option) any later version
12 10
  *
13
- * For a license to use the ser software under conditions
14
- * other than those described here, or to purchase support for this
15
- * software, please contact iptel.org by e-mail at the following addresses:
16
- *    info@iptel.org
17
- *
18
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
19 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 14
  * GNU General Public License for more details.
... ...
@@ -24,15 +17,6 @@
24 24
  * along with this program; if not, write to the Free Software 
25 25
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
26 26
  */
27
-/*
28
- * History:
29
- * --------
30
- *  2003-02-24  s/T_NULL/T_NULL_CELL/ to avoid redefinition conflict w/
31
- *               nameser_compat.h (andrei)
32
- *  2004-02-11  FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri)
33
- *  2005-12-09  added t_set_fr()  (andrei)
34
- * 2009-06-24  changed set_t() to take also a branch parameter (andrei)
35
- */
36 27
 
37 28
 
38 29
 
... ...
@@ -1,23 +1,16 @@
1 1
 /*
2
- * $Id$
3
- *
4 2
  * message printing
5 3
  *
6 4
  * Copyright (C) 2001-2003 FhG Fokus
7 5
  *
8
- * This file is part of ser, a free SIP server.
6
+ * This file is part of Kamailio, a free SIP server.
9 7
  *
10
- * ser is free software; you can redistribute it and/or modify
8
+ * Kamailio is free software; you can redistribute it and/or modify
11 9
  * it under the terms of the GNU General Public License as published by
12 10
  * the Free Software Foundation; either version 2 of the License, or
13 11
  * (at your option) any later version
14 12
  *
15
- * For a license to use the ser software under conditions
16
- * other than those described here, or to purchase support for this
17
- * software, please contact iptel.org by e-mail at the following addresses:
18
- *    info@iptel.org
19
- *
20
- * ser is distributed in the hope that it will be useful,
13
+ * Kamailio is distributed in the hope that it will be useful,
21 14
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 15
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 16
  * GNU General Public License for more details.
... ...
@@ -26,27 +19,6 @@
26 26
  * along with this program; if not, write to the Free Software 
27 27
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
28 28
  *
29
- *
30
- * History:
31
- * ----------
32
- * 2003-01-27  next baby-step to removing ZT - PRESERVE_ZT (jiri)
33
- * 2003-02-13  build_uac_request uses proto (andrei)
34
- * 2003-02-28  scratchpad compatibility abandoned (jiri)
35
- * 2003-04-14  build_local no longer checks reply status as it
36
- *             is now called before reply status is updated to
37
- *             avoid late ACK sending (jiri)
38
- * 2003-10-02  added via_builder set host/port support (andrei)
39
- * 2004-02-11  FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri)
40
- * 2004-02-13: t->is_invite and t->local replaced with flags (bogdan)
41
- * 2006-04-21  build_uac_req, assemble_via use struct dest_info now;
42
- *              uri2sock replaced with uri2dst (andrei)
43
- * 2006-08-11  build_dlg_ack: use the first dns ip for which a send_sock
44
- *              is found (andrei)
45
- * 2007-03-15  build_dls_ack: removed next_hop and replaced by dst to avoid
46
- *               resolving nexthop twice (andrei)
47
- * 2007-05-28: build_local_reparse() is introdued: it uses the outgoing
48
- *             INVITE as a source to construct a CANCEL or ACK (Miklos)
49
- * 2010-02-26  cancel reason (rfc3326) basic support (andrei)
50 29
  */
51 30
 
52 31
 #include "defs.h"
... ...
@@ -1,22 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4
- *
5 2
  * Copyright (C) 2001-2003 FhG Fokus
6 3
  *
7
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
8 5
  *
9
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
10 7
  * it under the terms of the GNU General Public License as published by
11 8
  * the Free Software Foundation; either version 2 of the License, or
12 9
  * (at your option) any later version
13 10
  *
14
- * For a license to use the ser software under conditions
15
- * other than those described here, or to purchase support for this
16
- * software, please contact iptel.org by e-mail at the following addresses:
17
- *    info@iptel.org
18
- *
19
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
20 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 14
  * GNU General Public License for more details.
... ...
@@ -25,9 +17,6 @@
25 25
  * along with this program; if not, write to the Free Software 
26 26
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
27 27
  *
28
- * History:
29
- * --------
30
- *  2004-02-11  FIFO/CANCEL + alignments (hash=f(callid,cseq)) (uli+jiri)
31 28
  */
32 29
 
33 30
 
... ...
@@ -1,22 +1,14 @@
1 1
 /*
2
- * $Id$
3
- *
4
- *
5 2
  * Copyright (C) 2001-2003 FhG Fokus
6 3
  *
7
- * This file is part of ser, a free SIP server.
4
+ * This file is part of Kamailio, a free SIP server.
8 5
  *
9
- * ser is free software; you can redistribute it and/or modify
6
+ * Kamailio is free software; you can redistribute it and/or modify
10 7
  * it under the terms of the GNU General Public License as published by
11 8
  * the Free Software Foundation; either version 2 of the License, or
12 9
  * (at your option) any later version
13 10
  *
14
- * For a license to use the ser software under conditions
15
- * other than those described here, or to purchase support for this
16
- * software, please contact iptel.org by e-mail at the following addresses:
17
- *    info@iptel.org
18
- *
19
- * ser is distributed in the hope that it will be useful,
11
+ * Kamailio is distributed in the hope that it will be useful,
20 12
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 13
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 14
  * GNU General Public License for more details.
... ...
@@ -25,82 +17,9 @@
25 25
  * along with this program; if not, write to the Free Software
26 26
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
27 27
  *
28
- * History:
29
- * --------
30
- *  2003-01-19  faked lump list created in on_reply handlers
31
- *  2003-01-27  next baby-step to removing ZT - PRESERVE_ZT (jiri)
32
- *  2003-02-13  updated to use rb->dst (andrei)
33
- *  2003-02-18  replaced TOTAG_LEN w/ TOTAG_VALUE_LEN (TOTAG_LEN was defined
34
- *               twice with different values!)  (andrei)
35
- *  2003-02-28  scratchpad compatibility abandoned (jiri)
36
- *  2003-03-01  kr set through a function now (jiri)
37
- *  2003-03-06  saving of to-tags for ACK/200 matching introduced,
38
- *              voicemail changes accepted, updated to new callback
39
- *              names (jiri)
40
- *  2003-03-10  fixed new to tag bug/typo (if w/o {})  (andrei)
41
- *  2003-03-16  removed _TOTAG (jiri)
42
- *  2003-03-31  200 for INVITE/UAS resent even for UDP (jiri)
43
- *  2003-03-31  removed msg->repl_add_rm (andrei)
44
- *  2003-04-05  s/reply_route/failure_route, onreply_route introduced (jiri)
45
- *  2003-04-14  local acks generated before reply processing to avoid
46
- *              delays in length reply processing (like opening TCP
47
- *              connection to an unavailable destination) (jiri)
48
- *  2003-09-11  updates to new build_res_buf_from_sip_req() interface (bogdan)
49
- *  2003-09-11  t_reply_with_body() reshaped to use reply_lumps +
50
- *              build_res_buf_from_sip_req() instead of
51
- *              build_res_buf_with_body_from_sip_req() (bogdan)
52
- *  2003-11-05  flag context updated from failure/reply handlers back
53
- *              to transaction context (jiri)
54
- *  2003-11-11: build_lump_rpl() removed, add_lump_rpl() has flags (bogdan)
55
- *  2003-12-04  global TM callbacks switched to per transaction callbacks
56
- *              (bogdan)
57
- *  2004-02-06: support for user pref. added - destroy_avps (bogdan)
58
- *  2003-11-05  flag context updated from failure/reply handlers back
59
- *              to transaction context (jiri)
60
- *  2003-11-11: build_lump_rpl() removed, add_lump_rpl() has flags (bogdan)
61
- *  2004-02-13: t->is_invite and t->local replaced with flags (bogdan)
62
- *  2004-02-18  fifo_t_reply imported from vm module (bogdan)
63