Browse code

*** empty log message ***

Bogdan-Andrei Iancu authored on 15/02/2002 12:14:36
Showing 3 changed files
... ...
@@ -76,7 +76,7 @@ struct sip_msg*  sip_msg_cloner( struct sip_msg *org_msg )
76 76
                    break;
77 77
       }
78 78
    }
79
-   /* length of the data lump structures */
79
+   /* length of the data lump structures
80 80
    if (org_msg->first_line.type==SIP_REQUEST)
81 81
       lump_chain = org_msg->add_rm;
82 82
    else
... ...
@@ -99,9 +99,9 @@ struct sip_msg*  sip_msg_cloner( struct sip_msg *org_msg )
99 99
       lump_chain = lump_chain->next;
100 100
    }
101 101
 
102
-   /*length of reply lump structures*/
102
+   /*length of reply lump structures/
103 103
    for(rpl_lump=org_msg->reply_lump;rpl_lump;rpl_lump=rpl_lump->next)
104
-       len+=rpl_lump->text.len;
104
+       len+=rpl_lump->text.len;*/
105 105
 
106 106
    p=(char *)sh_malloc(len);foo=p;
107 107
    if (!p)
... ...
@@ -261,7 +261,7 @@ struct sip_msg*  sip_msg_cloner( struct sip_msg *org_msg )
261 261
 
262 262
    }
263 263
 
264
-   /* clonning data lump*/
264
+   /* clonning data lump
265 265
    if (org_msg->first_line.type==SIP_REQUEST) {
266 266
       lump_chain = org_msg->add_rm;
267 267
       lump_anchor = &(new_msg->add_rm);
... ...
@@ -272,7 +272,7 @@ struct sip_msg*  sip_msg_cloner( struct sip_msg *org_msg )
272 272
    while (lump_chain)
273 273
    {
274 274
       lump_clone( (*lump_anchor) , lump_chain , p );
275
-      /*before list*/
275
+      /*before list/
276 276
       lump_tmp = lump_chain->before;
277 277
       lump_anchor2 = &((*lump_anchor)->before);
278 278
       while ( lump_tmp )
... ...
@@ -281,7 +281,7 @@ struct sip_msg*  sip_msg_cloner( struct sip_msg *org_msg )
281 281
          lump_anchor2 = &((*lump_anchor2)->before);
282 282
          lump_tmp = lump_tmp->before;
283 283
       }
284
-      /*after list*/
284
+      /*after list/
285 285
       lump_tmp = lump_chain->after;
286 286
       lump_anchor2 = &((*lump_anchor)->after);
287 287
       while ( lump_tmp )
... ...
@@ -294,7 +294,7 @@ struct sip_msg*  sip_msg_cloner( struct sip_msg *org_msg )
294 294
       lump_chain = lump_chain->next;
295 295
    }
296 296
 
297
-   /*cloning reply lump structures*/
297
+   /*cloning reply lump structures/
298 298
    rpl_lump_anchor = &(new_msg->reply_lump);
299 299
    for(rpl_lump=org_msg->reply_lump;rpl_lump;rpl_lump=rpl_lump->next)
300 300
    {
... ...
@@ -306,7 +306,7 @@ struct sip_msg*  sip_msg_cloner( struct sip_msg *org_msg )
306 306
        memcpy((*rpl_lump_anchor)->text.s,rpl_lump->text.s,rpl_lump->text.len);
307 307
        (*rpl_lump_anchor)->next=0;
308 308
        rpl_lump_anchor = &((*rpl_lump_anchor)->next);
309
-   }
309
+   }*/
310 310
     DBG("DEBUG:cloner --------<%d>---------<%d>-------------\n",len,p-foo);
311 311
    return new_msg;
312 312
 }
... ...
@@ -66,26 +66,23 @@ static inline void reset_retr_timers( struct s_table *h_table,
66 66
 	DBG("DEBUG:stop_RETR_and_FR_timers : start \n");
67 67
 	/* lock the first timer list of the FR group -- all other
68 68
 	   lists share the same lock*/
69
-	lock(  hash_table->timers[FR_TIMER_LIST].mutex );
70
-	/* reset_timer( h_table, &(p_cell->outbound_response.retr_timer)); */
69
+	lock(  hash_table->timers[RT_T1_TO_1].mutex );
71 70
 	remove_timer_unsafe( & p_cell->outbound_response.retr_timer );
72 71
 	for( ijk=0 ; ijk<(p_cell)->nr_of_outgoings ; ijk++ )  {
73 72
 			if ( rb = p_cell->outbound_request[ijk] ) {
74
-				/* reset_timer(h_table, &(rb->retr_timer)); */
75 73
 				remove_timer_unsafe( & rb->retr_timer );
76 74
 			}
77 75
 		}
78
-	unlock(  hash_table->timers[FR_TIMER_LIST].mutex );
79
-	lock(  hash_table->timers[RT_T1_TO_1].mutex );
80
-	/* reset_timer( h_table, &(p_cell->outbound_response.fr_timer)); */
76
+	unlock(  hash_table->timers[RT_T1_TO_1].mutex );
77
+
78
+	lock(  hash_table->timers[FR_TIMER_LIST].mutex );
81 79
 	remove_timer_unsafe( & p_cell->outbound_response.fr_timer );
82 80
 	for( ijk=0 ; ijk<(p_cell)->nr_of_outgoings ; ijk++ )  {
83 81
 			if ( rb = p_cell->outbound_request[ijk] ) {
84
-				/* reset_timer(h_table, &(rb->fr_timer)); */
85 82
 				remove_timer_unsafe( & rb->fr_timer );
86 83
 			}
87 84
 		}
88
-	unlock(  hash_table->timers[RT_T1_TO_1].mutex );
85
+	unlock(  hash_table->timers[FR_TIMER_LIST].mutex );
89 86
 	DBG("DEBUG:stop_RETR_and_FR_timers : stop\n");
90 87
 }
91 88
 
... ...
@@ -5,7 +5,7 @@
5 5
 #
6 6
 
7 7
 
8
-debug=3          # debug level (cmd line: -dddddddddd)
8
+debug=9          # debug level (cmd line: -dddddddddd)
9 9
 fork=yes          # (cmd. line: -D)
10 10
 fork=no
11 11
 log_stderror=yes # (cmd line: -E)
... ...
@@ -17,7 +17,7 @@ check_via=no     # (cmd. line: -v)
17 17
 dns=off           # (cmd. line: -r)
18 18
 rev_dns=off      # (cmd. line: -R)
19 19
 #port=5070
20
-listen=10.0.0.179
20
+#listen=10.0.0.179
21 21
 #listen=192.168.57.33
22 22
 loop_checks=0
23 23
 # for more info: sip_router -h
... ...
@@ -51,7 +51,7 @@ route{
51 51
              };
52 52
 
53 53
 
54
-
54
+             /*
55 55
              if (method=="INVITE")
56 56
              {
57 57
                 log("SER : runing CPL!! :)\n");
... ...
@@ -70,7 +70,7 @@ route{
70 70
                        drop();
71 71
                    };
72 72
                 };
73
-             }; 
73
+             }; */
74 74
 
75 75
            #  if ( !rewriteFromRoute() )
76 76
             # {