sip-router

SIP Router Project

Tasklist

FS#68 - downgrade tcp_send ERRORs

Attached to Project: sip-router
Opened by Juha Heinanen (jh) - Wednesday, 21 April 2010, 08:26 GMT
Task Type Improvement
Category Module → tm
Status Assigned
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 0%
Votes 0
Private No

Details

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 192.98.102.10:4040;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

Comment by Henning Westerholt (henningw) - Monday, 05 September 2011, 16:35 GMT

Still the case in current master.

Loading...