Hi Bogdan,
Sorry for late response. Yes these 3 log showing up together. What about the 3th log? this is not an error too, isn't it?
Could you apply the attached patch to fix the loglevel for these logs, please?
Thanks, Tamas
Bogdan-Andrei Iancu írta:
Hi Cseke,
Are this 3 log showing up together?
The first is not actually an error - it says you are trying to forward a request which was already cancelled (this may happen due parallel processing of the INVITE and CANCEL request). Second is related to the first one - says that the request was not sent out.
Regards, Bogdan
Cseke Tamas wrote:
Hello,
We have a lots of error log like this, what fills syslog
ERROR:tm:t_forward_nonack: discarding fwd for a cancelled transaction ERROR:tm:w_t_relay: t_forward_nonack failed ERROR: t_check_status: cannot check status for a reply which has no T-state established
Could you tell me how could i avoid this? I think these are not errors. Shall i just change the debug level for this logs?
Thanks any help, Tamas
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Index: modules/tm/t_fwd.c =================================================================== --- modules/tm/t_fwd.c (revision 3521) +++ modules/tm/t_fwd.c (working copy) @@ -675,7 +675,7 @@
/* do not forward requests which were already cancelled*/ if (was_cancelled(t)) { - LOG(L_ERR,"ERROR:tm:t_forward_nonack: discarding fwd for " + LOG(L_DBG,"DEBUG:tm:t_forward_nonack: discarding fwd for " "a cancelled transaction\n"); ser_error = E_NO_DESTINATION; return -1; Index: modules/tm/tm.c =================================================================== --- modules/tm/tm.c (revision 3521) +++ modules/tm/tm.c (working copy) @@ -716,7 +716,7 @@ /* first get the transaction */ t = get_t(); if ( t==0 || t==T_UNDEFINED ) { - LOG(L_ERR, "ERROR: t_check_status: cannot check status for a reply " + LOG(L_DBG, "DEBUG: t_check_status: cannot check status for a reply " "which has no T-state established\n"); return -1; } @@ -1029,7 +1029,7 @@
ret = t_forward_nonack( t, p_msg, (struct proxy_l *)proxy); if (ret<=0 ) { - LOG(L_ERR, "ERROR:tm:w_t_relay: t_forward_nonack failed\n"); + LOG(L_DBG, "DEBUG:tm:w_t_relay: t_forward_nonack failed\n"); return t_relay_inerr2scripterr(); } return ret;