<div style="font-family: Arial; font-size: 14px;">i did try and doesnt seem to go to the second one :(</div><div style="font-family: Arial; font-size: 14px;"><br></div><div style="font-family: Arial; font-size: 14px;"><br></div>
<div class="protonmail_signature_block" style="font-family: Arial; font-size: 14px;">
    <div class="protonmail_signature_block-user protonmail_signature_block-empty">
        
            </div>
    
            <div class="protonmail_signature_block-proton">
        Sent with <a target="_blank" href="https://proton.me/" rel="noopener noreferrer">Proton Mail</a> secure email.
    </div>
</div>
<div style="font-family: Arial; font-size: 14px;"><br></div><div class="protonmail_quote">
        ------- Original Message -------<br>
        On Wednesday, December 7th, 2022 at 5:42 PM, nutxase via Users <users@lists.opensips.org> wrote:<br><br>
        <blockquote class="protonmail_quote" type="cite">
            <div style="font-family: Arial; font-size: 14px;">Hi Guys</div><div style="font-family: Arial; font-size: 14px;"><br></div><div style="font-family: Arial; font-size: 14px;">How can i make it that if an invite comes in and the location is not found that it will then try look again for the location before sending 404?</div><div style="font-family: Arial; font-size: 14px;"><br></div><div style="font-family: Arial; font-size: 14px;">i have tried</div><div style="font-family: Arial; font-size: 14px;"><br></div><div style="font-family: Arial; font-size: 14px;"><span style="line-height:1.5">if (!mid_registrar_lookup("location")) {</span><div style="line-height:1.5"><span>     sleep (5);</span></div><div style="line-height:1.5"><span>    <span style="background-color:rgb(255, 255, 255);display:inline !important">if (!mid_registrar_lookup("location")) {</span></span></div><div style="line-height:1.5"><span>           t_reply(404, "Not Found");</span></div><div style="line-height:1.5"><span>      }</span></div>}</div><div style="font-family: Arial; font-size: 14px;"><br></div>
<div style="font-family: Arial; font-size: 14px;" class="protonmail_signature_block">
    <div class="protonmail_signature_block-user protonmail_signature_block-empty">

            </div>

            <div class="protonmail_signature_block-proton">
        Sent with <a rel="noreferrer nofollow noopener" href="https://proton.me/" target="_blank">Proton Mail</a> secure email.
    </div>
</div>

        </blockquote><br>
    </div>