<div dir="ltr"><div><div>Hello gys</div><div>Could you please help me resolve issue with Kamailio.</div><div>In attached file call from freeswitch to endpoint via Kamailio proxy.</div><div>In packets 3 and 4 kamailio sends two INVITES with different branches in &quot;VIA&quot; header for IP 10.21.19.10 (&quot;SIP/2.0/UDP 217.12.247.212;branch=z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.<font color="#ff0000">0</font>&quot; and &quot;SIP/2.0/UDP 217.12.247.212;branch=z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.<font color="#ff0000">1</font>&quot;).</div><div><br></div><div>Then from endpoint Kamailio gets  100, 180 and 200 messages (packets 5, 6, 8, 9)  with appropriate branches in &quot;VIA&quot; header.</div><div><br></div><div>Then Kamailio in packet 11 send CANCEL for branch &quot;z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.<font color="#ff0000">1</font>&quot;</div><div>And in packet 13 send &quot;ACK&quot; with new branch &quot;SIP/2.0/UDP 217.12.247.212;branch=z9hG4bK5398.<font color="#ff0000">8ba6e3c3c63533fae1ceff3074f476fb</font>.0&quot;</div><div>In packet 14 endpoint confirms CANCEL of call with branch &quot;z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.<font color="#ff0000">1</font>&quot;.</div><div><br></div><div>And then in packet 16 strange message from Kamailio with branch &quot;SIP/2.0/UDP 217.12.247.212;branch=<font color="#0000ff">z9hG4bK6398.f0bbae920c6f81401d10d39f23335696</font>.0&quot;.</div><div><br></div><div>Could you suggest correct answer for following questions:</div><div><ol><li><span style="line-height:1.5">are is kamailio incorrectly changes branch values in VIA header;</span><br></li><li><span style="line-height:1.5">what is RFC numbers where is described proxy behavior for branch value in &quot;VIA&quot; header.</span><br></li></ol></div></div><div><br></div><div>Sergey Safarov</div><div><br></div><div>Interest page <a href="https://andrewjprokop.wordpress.com/2014/03/06/understanding-the-sip-via-header/">https://andrewjprokop.wordpress.com/2014/03/06/understanding-the-sip-via-header/</a></div><div><br></div></div>