SIP Router Project


FS#68 - downgrade tcp_send ERRORs

Attached to Project: sip-router
Opened by Juha Heinanen (jh) - Wednesday, 21 April 2010, 08:26 GMT
Last edited by Daniel-Constantin Mierla (miconda) - Tuesday, 23 December 2014, 09:27 GMT
Task Type Improvement
Category Module → tm
Status Closed
Assigned To Andrei Pelinescu-Onciul (andrei)
Operating System All
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


When sr fails to send a request to a TCP destination, it prints these kind of error messages to syslog:

Apr 20 13:23:10 localhost /usr/sbin/sip-proxy[22508]: INFO: Routing first INVITE to <sip:foo at;transport=tcp> and «null» Apr 20 13:23:10 localhost /usr/sbin/sip-proxy[22508]: ERROR: tm [../../forward.h:169]: msg_send: ERROR: tcp_send failed
Apr 20 13:23:10 localhost /usr/sbin/sip-proxy[22508]: ERROR: tm [t_fwd.c:1249]: ERROR: t_send_branch: sending request on branch 0 failed

Since there is no real error (destination just happens to be unreachable), it would be desirable to print these messages as NOTICEs or WARNINGs rather than ERRORs.

This task depends upon

Closed by  Daniel-Constantin Mierla (miconda)
Tuesday, 23 December 2014, 09:27 GMT
Reason for closing:  Implemented
Comment by Henning Westerholt (henningw) - Monday, 05 September 2011, 16:35 GMT

Still the case in current master.