[OpenSIPS-Users] mid_registrar

nutxase nutxase at proton.me
Wed Dec 7 18:09:22 UTC 2022


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

Sent with [Proton Mail](https://proton.me/) 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://proton.me/) secure email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20221207/5fedcc89/attachment.html>


More information about the Users mailing list