<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">maybe run in debug foreground, so can see what its doing?</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">opensips -D </span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Users <users-bounces@lists.opensips.org> on behalf of nutxase via Users <users@lists.opensips.org><br>
<b>Sent:</b> Wednesday, December 7, 2022 1:09 PM<br>
<b>To:</b> nutxase <nutxase@proton.me>; OpenSIPS users mailling list <users@lists.opensips.org><br>
<b>Subject:</b> Re: [OpenSIPS-Users] mid_registrar</font>
<div> </div>
</div>
<div>
<p></p>
<div style="background-color:#FFFFCC; width:100%; border-style:solid; border-color:#9C6500; border-width:1pt; padding:2pt; font-size:10pt; line-height:12pt; font-family:'Calibri'; color:Red; text-align:left">
<span style="color:#9C6500">EXTERNAL:</span> Caution, this email originated from outside the organization. Do not click links or open attachments unless you can verify the sender and know the content is safe.</div>
<br>
<p></p>
<div>
<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="x_protonmail_signature_block" style="font-family:Arial; font-size:14px">
<div class="x_protonmail_signature_block-user x_protonmail_signature_block-empty">
</div>
<div class="x_protonmail_signature_block-proton">Sent with <a target="_blank" href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fproton.me%2F&data=05%7C01%7Cadierlam%40ptgi-ics.com%7C258dd626be7f4a4d9cdc08dad87e9038%7Cf4c81856eb684f3c8c148d91aa0e37df%7C0%7C0%7C638060335361633129%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gVNJTeyZYiDpRLpF8kryR1%2Fi4GC5FGI57PNoY%2BRzDi8%3D&reserved=0" originalsrc="https://proton.me/" shash="Q3oXGZ/BRqkAuBtsZimqiYc7gTIh45S5sjbutjSaHPHKQ0++NuCoM+1DUZKtGHpi6uKcfNsJujSmmUwBG6Ok0L8URV5E7pWtbfJLpM6g01lrV84dGnYyHtUb2UE79OHRNi9jiMY/sDjFmW0xC9qWPqcUxG173keckw7SiP9N7bk=" rel="noopener noreferrer">
Proton Mail</a> secure email. </div>
</div>
<div style="font-family:Arial; font-size:14px"><br>
</div>
<div class="x_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="x_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 class="x_protonmail_signature_block" style="font-family:Arial; font-size:14px">
<div class="x_protonmail_signature_block-user x_protonmail_signature_block-empty">
</div>
<div class="x_protonmail_signature_block-proton">Sent with <a rel="noreferrer nofollow noopener" href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fproton.me%2F&data=05%7C01%7Cadierlam%40ptgi-ics.com%7C258dd626be7f4a4d9cdc08dad87e9038%7Cf4c81856eb684f3c8c148d91aa0e37df%7C0%7C0%7C638060335361633129%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gVNJTeyZYiDpRLpF8kryR1%2Fi4GC5FGI57PNoY%2BRzDi8%3D&reserved=0" originalsrc="https://proton.me/" shash="Q3oXGZ/BRqkAuBtsZimqiYc7gTIh45S5sjbutjSaHPHKQ0++NuCoM+1DUZKtGHpi6uKcfNsJujSmmUwBG6Ok0L8URV5E7pWtbfJLpM6g01lrV84dGnYyHtUb2UE79OHRNi9jiMY/sDjFmW0xC9qWPqcUxG173keckw7SiP9N7bk=" target="_blank">
Proton Mail</a> secure email. </div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
<p style="font-size:11pt;font-family:Calibri,sans-serif;"><b><span style="color:black;font-size:10pt;font-family:Century Gothic,sans-serif;">CONFIDENTIALITY NOTICE</span></b>
<span><span style="color:black;font-size:10pt;font-family:Times New Roman,serif;"> </span></span>
<span style="color:black;font-size:10pt;font-family:Century Gothic,sans-serif;"><br aria-hidden="true">
</span><span style="font-size:10pt;font-family:Century Gothic,sans-serif;">This email is solely for the use of the intended recipient(s) and may contain information and attachments that are confidential, privileged or otherwise sensitive in nature.  
<span style="color:black;">Please do not disseminate this </span>email or any of its attachments
<span style="color:black;">without the permission of the sender.  If this </span>
email <span style="color:black;">has been received in error, please </span>do not read, copy, use, forward or disclose the email or any of its attachments to others.  Instead, immediately notify the sender by replying to this email and then delete it from your
 system.  Transmission of this email <span style="color:black;">is not to be construed as a waiver of any rights of confidentiality or applicable privilege.
</span></span></p>
<br>
<p style="font-size:11pt;font-family:Calibri,sans-serif;"><b><span style="color:black;font-size:10pt;font-family:Century Gothic,sans-serif;">NO BINDING AGREEMENT</span></b>
<span><span style="color:black;font-size:10pt;font-family:Century Gothic, sans-serif;"> </span></span>
<span style="color:black;font-size:10pt;font-family:Century Gothic,sans-serif;"><br aria-hidden="true">
</span><span style="font-size:10pt;font-family:Century Gothic, sans-serif;">This email does not constitute an agreement to conduct transactions by electronic means and does not create any legally binding contract or enforceable obligation in the absence of
 a fully signed written contract.</span> </p>
</body>
</html>