[SR-Users] What happens to calls when Kamailio restarts?
Sebastian Damm
damm at sipgate.de
Thu Jul 13 16:39:39 CEST 2017
Hi,
On Wed, Jul 12, 2017 at 11:53 AM, Alex Balashov
<abalashov at evaristesys.com> wrote:
> All SIP messages passing through the proxy can be forwarded statelessly
> and based on properties of the SIP message alone.
There's one thing that could happen: Calls that get cancelled after a
restart, could possibly keep on ringing on the far end. At least if
you check for an active transaction in your kamailio config.
if (!t_check_trans()) {
sl_send_reply("481", "Call/Transaction does not exist");
xlog("L_ERR", "CANCEL: found no matching transaction F=$fu T=$tu
R=$ru\n");
return;
}
And if you do some sort of random dispatching, CANCELs could end up on
a different gateway.
But other than that, a restart shouldn't cause much trouble.
Especially in-call requests get routed by Route headers only.
Regards,
Sebastian
More information about the sr-users
mailing list