[OpenSIPS-Users] mid_registrar

Andy Dierlam adierlam at ptgi-ics.com
Wed Dec 7 18:20:43 UTC 2022


maybe run in debug foreground, so can see what its doing?
opensips -D

________________________________
From: Users <users-bounces at lists.opensips.org> on behalf of nutxase via Users <users at lists.opensips.org>
Sent: Wednesday, December 7, 2022 1:09 PM
To: nutxase <nutxase at proton.me>; OpenSIPS users mailling list <users at lists.opensips.org>
Subject: Re: [OpenSIPS-Users] mid_registrar


EXTERNAL: 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.


i did try and doesnt seem to go to the second one :(


Sent with Proton Mail<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> secure email.

------- Original Message -------
On Wednesday, December 7th, 2022 at 5:42 PM, nutxase via Users <users at lists.opensips.org> wrote:

Hi Guys

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?

i have tried

if (!mid_registrar_lookup("location")) {
     sleep (5);
    if (!mid_registrar_lookup("location")) {
           t_reply(404, "Not Found");
      }
}

Sent with Proton Mail<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> secure email.


CONFIDENTIALITY NOTICE
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.   Please do not disseminate this email or any of its attachments without the permission of the sender.  If this email has been received in error, please 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 is not to be construed as a waiver of any rights of confidentiality or applicable privilege.


NO BINDING AGREEMENT
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20221207/fdaae2dd/attachment.html>


More information about the Users mailing list