Hello,

look at t_cancel_branches():

  - https://www.kamailio.org/docs/modules/stable/modules/tmx.html#tmx.f.t_cancel_branches

Cheers,
Daniel

On 10.07.18 10:25, Marino Mileti wrote:
 Hi guys,

i've a Kamailio with forking scenario using addbranch technique.
Now I've a problem; i know it's very very very rare but it could be possible so it's better for me to find a solution.

A -> B,C,D in forking parallel mode, so B C and D rings simultaneulsy.

What is happen if B anser the call, and at the same time C decline the call?
It seems that, using my cfg scripts, C sends DECLINE but this message never arrive to A because it receives a 200OK of B.

How I can prevent this? I would like that if DECLINE is the first message, all other answers will be ignored (first answer win).

Any help or comment?

Thanks
Marino


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@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