<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Mainly I’m not writing a new module, I’m modifying mod_spy to allow spying current active called without providing uuid, mainly I did the below:<div class="">1-Creat new hash map to contain all bridged calls(userid@domain as key, and UUID as value).</div><div class="">2-when I receive any spy request I query the hash map, using userid@domain, if I find a uuid and add it as if I get it in command “userspy userid@domain uuid “</div><div class="">3-then I continue.</div><div class=""><br class=""></div><div class="">The point that I try to allocate the memory on session level and once the call get hangup I remove it from the hash map, however this doesn’t work as I expect only one hangup request comes and accordingly one entry from hasp being removed.</div><div class=""><br class=""></div><div class="">I attached here the code for your review<br class=""><div class=""></div></div></body></html>