<div dir="ltr">Hello,<div>I've been trying to delete specific contact for AOR using the remove function in the registrar module, but somehow it doesn't remove it from the location.</div><div>My db_mode is 0 as I only want to store it in opensips memory. I hav the "use_domain" param as 1. On register, the contact gets stored in the following format:</div><div>
<p class="p1"><span class="s1">sip:579e08000@203.153.53.130:49612;rinstance=477b5477848ba584;transport=tcp</span></p><p class="p1"><span class="s1">I tried multiple ways to remove this:</span></p><p class="p1"><span class="s1">1) remove("location", "sip:</span><a href="mailto:579e08000@abc.com">579e08000@abc.com</a>", "sip:579e08000@203.153.53.130:49612;rinstance=477b5477848ba584;transport=tcp")</p><p class="p1">2) <span class="s1">remove("location", "sip:</span><a href="mailto:579e08000@abc.com" style="z-index: 0;">579e08000@abc.com</a>", "<a href="http://sip:579e08000@203.153.53.130:49612">sip:579e08000@203.153.53.130:49612</a>")</p><p class="p1">Also, I'd like to mention that I have an edge proxy in the middle who proxies the REGISTER to this Registrar and I use the PATH module to route back reliably. I'm essentially trying to remove location entry for particular endpoints based on some conditions.</p><p class="p1">Any help is appreciated. Thanks,</p><p class="p1">- Jayesh</p></div></div>