[sr-dev] rtpengine module notice

Juha Heinanen jh at tutpro.com
Tue Feb 9 02:09:38 CET 2016


With latest rtpengine module, rtpengine_offer generates to syslog:

Feb  9 03:05:03 lohi /usr/bin/sip-proxy[11835]: NOTICE: rtpengine [rtpengine.c:2792]: select_rtpp_node_old(): rtpengine hash table lookup failed to find node for calllen=16 callid=48e2ba8176be0f4a viabranch=z9hG4bK9c06a007a1197f4b0

Why such a message?  Looking at the code, it seems to be OK that the
node is not found on a first call of rtpengine_offer:

-- Juha

	// lookup node
	node = select_rtpp_node_old(callid, viabranch, do_test);

	// check node
	if (!node) {
		// run the selection algorithm
		node = select_rtpp_node_new(callid, viabranch, do_test);

		// check node
		if (!node) {
			LM_ERR("rtpengine failed to select new for calllen=%d callid=%.*s\n",
				callid.len, callid.len, callid.s);
			return NULL;
		}
	}



More information about the sr-dev mailing list