Hi Juha,
drop in branch_route was missing, as Andreas Granig reported few days ago. I just committed the patch, can you test again?
Since it was not there, tm actually tried to forward even if you called drop in branch route.
Cheers, Daniel
On 4/15/10 8:11 AM, Juha Heinanen wrote:
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 INVITEsip:0407058055@gw1.test.fi tosip: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 INVITEsip:0407058055@gw1.test.fi tosip: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 INVITEsip:0407058055@gw1.test.fi tosip: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 INVITEsip:0407058055@gw1.test.fi tosip: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 INVITEsip:0407058055@gw1.test.fi tosip: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 INVITEsip:0407058055@gw1.test.fi tosip: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
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users