Hi,
In AmSessionContainer::startSessionUAC(), SEMS creates a monitoring
entry with the key "from_tag" of the outgoing request, and marks it
finished in AmSessionContainer::clean_sessions() with the key local_tag.
Presumably they are the same, so everything is fine, unless the
local_tag was empty in AmUAC::dialout():
if (!local_tag.length())
req.from_tag = AmSession::getNewId();
else
req.from_tag = local_tag;
I couldn't find code copying the from_tag to the local_tag, so if it's
possible that the local_tag is empty, then in that case the monitoring
entry will never be deleted. Someone with experience with dialout could
confirm if it's possible (then it's a memleak) or impossible (then the
check is necessary).
br
Szo
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev