[OpenSIPS-Users] registration status using mid_registrar
Andrei G.
andreigrav at gmail.com
Mon Mar 21 18:23:31 UTC 2022
Hi,
I'm trying to implement Opensips with mid_registrar module in front of
Asterisk
from manual:
if (is_method("REGISTER")) {
mid_registrar_save("location");
switch ($retcode) {
case 1:
xlog("L_INFO", "forwarding REGISTER to main registrar...\n");
$ru = "sip:10.0.0.3:5070";
if (!t_relay()) {
send_reply(500, "Server Internal Error 1");
}
break;
case 2:
xlog("L_INFO", "REGISTER has been absorbed!\n");
break;
default:
xlog("L_ERR", "mid-registrar error!\n");
send_reply(500, "Server Internal Error 2");
}
exit;
}
Is there any way to check the status for REGISTER messages from main
registrar?
thank you
Andrei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220321/e3f29198/attachment.html>
More information about the Users
mailing list