[sr-dev] About TCP connection failure (reject and timeout)

Iñaki Baz Castillo ibc at aliax.net
Wed Jun 15 12:54:54 CEST 2011


Hi, I've opened an issue in the tracker since it seems that sip-router
(today's master branch) does not properly react upon TCP rejection or
TCP timeout (in outgoing transactions):

  http://sip-router.org/tracker/index.php?do=details&task_id=136

Could somebody attemp these two calls?


1) sip:lalala at 91.121.79.216:7777;transport=tcp

The server will reject (iptables REJECT action) so sip-router should
inmediately generate a 503 for the transaction (but instead it
generates a local 408 after fr_timer, usually 32 seconds).


2) sip:lalala at 1.2.3.4:5060;transport=tcp

The server will not respond as 1.2.3.4 is not reachable, so sip-router
should wait for "tcp_connect_timeout" value (10 seconds by default)
and then generate a local 408 (but instead it generates a local 408
after fr_timer, usually 32 seconds).


Thanks a lot.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list