Juha Heinanen writes:
and it turned out that failure route is not called if
t_relay() fails.
the mystery is, why some times after calling drop() in branch route
t_relay() fails and failure route is not called and some other times
t_relay() succeeds and failure route is called?
here is a few test calls that show the unpredictability. six calls, two
enter failure route after drop and four don't because of t_relay
failure. the first one after proxy restart seems always enter failure
route.
-- juha
Apr 15 09:07:14 localhost /usr/sbin/sip-proxy[16889]: INFO: Routing initial INVITE
<sip:0407058055@gw1.test.fi> to <sip:192.98.100.2:5060>
Apr 15 09:07:14 localhost /usr/sbin/sip-proxy[16889]: NOTICE: Dropping request in branch
route
Apr 15 09:07:17 localhost /usr/sbin/sip-proxy[16928]: ERROR: entering failure route
Apr 15 09:07:24 localhost /usr/sbin/sip-proxy[16886]: INFO: Routing initial INVITE
<sip:0407058055@gw1.test.fi> to <sip:192.98.100.2:5060>
Apr 15 09:07:24 localhost /usr/sbin/sip-proxy[16886]: NOTICE: Dropping request in branch
route
Apr 15 09:07:24 localhost /usr/sbin/sip-proxy[16886]: ERROR: t_relay failed
Apr 15 09:07:35 localhost /usr/sbin/sip-proxy[16889]: INFO: Routing initial INVITE
<sip:0407058055@gw1.test.fi> to <sip:192.98.100.2:5060>
Apr 15 09:07:35 localhost /usr/sbin/sip-proxy[16889]: NOTICE: Dropping request in branch
route
Apr 15 09:07:35 localhost /usr/sbin/sip-proxy[16889]: ERROR: t_relay failed
Apr 15 09:07:53 localhost /usr/sbin/sip-proxy[16888]: INFO: Routing initial INVITE
<sip:0407058055@gw1.test.fi> to <sip:192.98.100.2:5060>
Apr 15 09:07:53 localhost /usr/sbin/sip-proxy[16888]: NOTICE: Dropping request in branch
route
Apr 15 09:07:53 localhost /usr/sbin/sip-proxy[16888]: ERROR: t_relay failed
Apr 15 09:08:04 localhost /usr/sbin/sip-proxy[16887]: INFO: Routing initial INVITE
<sip:0407058055@gw1.test.fi> to <sip:192.98.100.2:5060>
Apr 15 09:08:04 localhost /usr/sbin/sip-proxy[16887]: NOTICE: Dropping request in branch
route
Apr 15 09:08:04 localhost /usr/sbin/sip-proxy[16887]: ERROR: t_relay failed
Apr 15 09:08:18 localhost /usr/sbin/sip-proxy[16886]: INFO: Routing initial INVITE
<sip:0407058055@gw1.test.fi> to <sip:192.98.100.2:5060>
Apr 15 09:08:18 localhost /usr/sbin/sip-proxy[16886]: NOTICE: Dropping request in branch
route
Apr 15 09:08:21 localhost /usr/sbin/sip-proxy[16928]: ERROR: entering failure route