[SR-Users] t_suspend usage in branch_route

Aymeric Moizard amoizard at gmail.com
Fri Feb 9 23:14:39 CET 2018

Hi Stephan!

Nice to year about you ;)

I have just tried:

I wasn't aware that the code located
after the t_relay failure would run after
the branch failure.

Great to know about this.

I will experiment t_suspend and t_continue
in this use-case!

Tks a lot for the tip!

2018-02-09 20:31 GMT+01:00 Stefan Sayer <stefan.sayer at googlemail.com>:

> Aymeric Moizard wrote on 09.02.2018 13:49:
> > I understand your warning about TCP: If I have only on TCP branch and
> > it fails
> > I guess I will have a fast " I'm terribly sorry, server error occurred
> > (7/SL)" answer
> > and no time for my "pushed" app to be already registered. However, I
> think
> usrloc's handle_lost_tcp is a good tip. we're using these in a push
> notification config for webrtc [0]:
> set_forward_no_connect();
> t_set_disable_internal_reply(1);
> and then if t_relay() fails ts_store and t_suspend the transaction
> which I believe works.
> Stefan
> [0]
> https://github.com/saycel/kamailio-config/blob/
> fc17b58369af5a487d131dd67ac3c6a8628d1b29/kamailio.cfg#L695

Antisip - http://www.antisip.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180209/4b56d4b5/attachment-0001.html>

More information about the sr-users mailing list