Hello,

well, the specs say that all 200ok must be forwarded to the caller, because a middle point cannot decide for the user making the call. Even sending an ACK for the 200ok from a middle point is not enough because the callee of that branch will think it is in an active call.

The caller can take different actions, the usual is to ACK the 2nd 200ok and then immediately send BYE. But it can also decide to end previous branch and switch to this one (e.g., uses better codecs, or has video, etc...).

Cheers,
Daniel


On 14/12/2016 15:05, Marino Mileti wrote:

Hi guys,

 

I've a Kamailio instance listening on both eth0 and wlan0.

Kamailio forks call to two branches, so both clients rings together.

 

In case (very very very rare J) of simultaneous answers is there any way to kill/hangup/destroy/cancel the "slowest" leg? I've tried to arrange a semaphore with lock/unlock capabilities of cfgutils, I've used the drop command but client still sending the 200OK because it's waiting for an ACK L

 

Any help will be very appreciated J

 

Marino Maria Mileti

marino.mileti@alice.it

 

cid:006a01cb6b0e$67eecdae$_CDOSYS2.0Reduce your energy consumption and keep polar bears on ice! 

 




Avast logo

Questa e-mail è stata controllata per individuare virus con Avast antivirus.
www.avast.com




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com