<div dir="ltr">Hello,<div><br></div><div style>When using the registrar module with GRUU-enabled clients, where multiple clients with different sip.instance identifiers register for the same AOR, an infinite loop is encountered in lookup.c while attempting to resolve a temporary GRUU.</div>
<div style><br></div><div style>In the 1.9.0 source, the problem is in modules/registrar/lookup.c between lines 165 and 174, in while(it). Since the &quot;it&quot; pointer is never advanced to the next item in the list, it&#39;s possible (likely) that we&#39;ll just get stuck in this while loop forever when there&#39;s more than one sip instance registered.</div>
<div style><br></div><div style>I&#39;ve created and verified a patch for this problem. It can be found here: <a href="http://netbrains-misc.s3.amazonaws.com/opensips/opensips-fix-register-lookup-gruu.patch">http://netbrains-misc.s3.amazonaws.com/opensips/opensips-fix-register-lookup-gruu.patch</a></div>
<div style><br></div><div style>Please let me know if there&#39;s something else I need to do to get the patch accepted upstream.</div><div style><br></div><div style>Thanks,</div><div style>Tolga Tarhan</div></div>