[OpenSIPS-Users] 302 after ebr not relayed
Fabian Gast
fgast+opensips at only640k.net
Tue Mar 31 06:57:10 EST 2020
Hi @all,
we are having trouble with 302 after a 'ebr - push' like in [1]:
The fireing the INVITE after the REGISTER works fine, but if the client responds back with
a "302 Moved Temporarily" this is hold back by the opensips until fr_inv_timeout is expired.
Any clues / hints on this?
The (simplified) part of the script:
route[do_push] {
$T_fr_inv_timeout = 60;
t_newtran();
setflag(PUSH);
t_on_branch("branch_tosbc");
t_on_failure("zfail");
t_wait_for_new_branches();
$avp(filter) = "aor="+$(rU{s.tolower});
notify_on_event("E_UL_CONTACT_INSERT","$avp(filter)", "fork_call", "62");
xlog("L_INFO", "PUSH_REQUEST : INVITE : $tU : $ci\n");
exit;
}
route[fork_call] {
xlog("user $avp(aor) registered a new contact $avp(uri), injecting\n");
t_inject_branches("event");
}
Thanks,
Fabian
[1] https://opensips.org/docs/modules/2.4.x/event_routing.html#idp5579792
More information about the Users
mailing list