Hello,

the BYE must have a different To-tag than the other answered branch and the caller device should not close the connected call/branch.

Look at the To-tags in the two branches and see if they are different.

Cheers,
Daniel

On 29/06/15 14:17, Daniel Tryba wrote:
I was testing a scenario whith parallel forking (multiple registers) where 2 
endpoints answer near simultaniously. When phone that was just a bit slower 
hangs up, the BYE gets forwarded to the caller and thus the connection is 
terminated. This is as far as I know for stateful transactions (t_relay())

I always assumed in this scenario the state machine in kamailio would prevent 
this kind of behavior by itself. Is there a way to prevent these messages 
being forwarded?


_______________________________________________
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
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com