[OpenSIPS-Users] mid_registrar

nutxase nutxase at proton.me
Wed Dec 7 17:42:27 UTC 2022


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/2ca72e57/attachment.html>


More information about the Users mailing list