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/
 
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to