[OpenSIPS-Users] registration status using mid_registrar
Alexey Kazantsev
kurgan-rus at inbox.ru
Mon Mar 21 18:40:44 UTC 2022
Hi,
what if to try to use some custom t_on_reply route ?
Something like this:
if (is__method("REGISTER")) {
xlog("L_INFO", "forwarding REGISTER to main registrar...\n");
$ru = "sip: 10.0.0.3:5070 ";
t_on_reply("main_reg_replies");
if (!t_relay()) {
send_reply(500, "Server Internal Error 1");
}
…
}
…
onreply_route[main_reg_replies] {
xlog("reply status: $rs\n");
}
-----------------------------------------------
BR, Alexey
https://alexeyka.zantsev.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220321/9c104026/attachment.html>
More information about the Users
mailing list