[SR-Users] t_set_retr and NOTIFY send after handle_publish

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 20 18:24:05 CET 2018


Hello,

the notify transactions are unrelated to publish publish transaction.

Maybe you can try with t_set_retr() inside
event_route[tm:local-request], although not sure if it works...

Cheers,
Daniel

On 20.11.18 17:45, Vasiliy Ganchev wrote:
> Hi, list!
>
> I have a tricky problem, need advise from the community.
>
> The problem I need to solve: 
> - have a SIP device, with a big number of BLFs configured, in some moment of
> time the device is slow to handle incoming SIP messages (a lot of NOTIFYs
> received), kamailio start retransmitting NOTIFYs, and the device get stuck.
>
> My idea is to change retransmits timeout for NOTIFYs that are sent out after
> handle_publish, so if get stuck, not to make "DoS" I have.
>
> What I tried:
> -  t_set_retr(5000, 10000); before handle_publish => does not work
> - my tm is compiled with DTM_DIFF_RT_TIMEOUT, and t_set_retr works for e.g.
> INVITEs
>
> I have read the mailing list and also studied sources of presence and tm
> modules. I see that at the moment there is no way to solve what I want from
> config.
>
> My next steps are going to make some hacks in C code... at least to
> understand the code better and find some new insights
>
> Any other ideas? 
>
> Comments/ideas are highly welcomed!
>
> cheers
>
>
>
> --
> Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com




More information about the sr-users mailing list