<div dir="ltr">Thanks for your response, Justin !<div><br></div><div>I don't change the media attributes. It is just that initial SIP INVITE from UAC to UAS goes from source TCP port say P1. Call gets established fine. After a period of time, P1 gets closed and a new TCP port P2 is opened at source (UAC). Subsequent SIP messages goes from this new TCP port P2. Please note that media attributes and Contact header info doesn't change from the initial INVITE. However. looks like UAS accounts this as target refresh. As the first SIP message that goes out of UAC to UAS after the port change @ UAC is SIP INFO, UAS thinks that SIP INFO is being used for target refresh. </div><div><br></div><div>My question is</div><div>1. Is this really accounted as target refresh here? I believe no, as there is no change in media attributes or Contact header info.</div><div>2. How this TCP port change is usually handled by any SIP UAs?</div><div><br></div><div>Thanks</div><div>Ramesh</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 20, 2019 at 3:05 PM Justin Davies <<a href="mailto:justin@futureblue.com">justin@futureblue.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi Ramesh,<div><br></div><div>If I understand you correctly, you are using an INFO method to change the media attributes?</div><div><br></div><div>Only re-INVITES and UPDATES can change the media. See rfc3311 for information on UPDATES. </div><div><br></div><div><br><br><div id="gmail-m_-6116881729760275320AppleMailSignature" dir="ltr"><span style="background-color:rgba(255,255,255,0)">--</span><div><span style="background-color:rgba(255,255,255,0)">Justin Davies</span></div><div><span style="background-color:rgba(255,255,255,0)"><a href="mailto:justin@futureblue.com" target="_blank">justin@futureblue.com</a></span></div><div><span style="background-color:rgba(255,255,255,0)">+447427629649</span></div></div><div dir="ltr"><br>On 20 Jun 2019, at 18:40, Ramesh Kandasamy <<a href="mailto:ramelcom@gmail.com" target="_blank">ramelcom@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">Reposting the query below.<div><br></div><div>Thanks</div><div>Ramesh</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 2, 2019 at 2:03 PM Ramesh Kandasamy <<a href="mailto:ramelcom@gmail.com" target="_blank">ramelcom@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I have a question on the below call flow and if it is related to target refresh.</div><div><br></div><div>SIP UA establishes a TCP connection with SIP Proxy to initiate the call.</div><div> INVITE from SIP UA was sent from TCP port, say p1.</div><div>Call got answered and ongoing.</div><div>At some point, SIP UA closes TCP port p1 by exchanging TCP FIN/FIN ack.</div><div>Later within the same dialog, SIP UA establishes another TCP connection with the same SIP Proxy for the same call to send SIP INFO.</div><div> INFO from SIP UA was sent from TCP port, say p2.</div><div>SIP Proxy sends back the INFO response to this new TCP port p2.</div><div>But subsequent SIP requests are not routed from SIP Proxy to this new TCP port p2 of SIP UA. Rather, it attempts to send on p1 which fails.</div><div><br></div><div>My question is, is this INFO above considered as target refresh? Please note that Contact and dialog-id (From, To, Call-Id, R-uri) between the initial INVITE (from p1) and INFO (from p2) remains the same. IP address doesn't change either.</div><div><br></div><div>My thought is that the above flow is allowed and this is not a target refresh. So, So, any subsequent SIP requests from SIP Proxy should ideally be sent to this new TCP port p2.</div><div><br></div><div>Please advise.</div><div><br></div><div>Thanks</div><div>Ramesh</div><div><br></div></div>
</blockquote></div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>This is the SIP Forum discussion mailing list</span><br><span>TO UNSUBSCRIBE, or edit your delivery options, please visit <a href="http://mail.sipforum.org/mailman/listinfo/discussion" target="_blank">http://mail.sipforum.org/mailman/listinfo/discussion</a></span><br><span>Post to the list at <a href="mailto:discussion@sipforum.org" target="_blank">discussion@sipforum.org</a></span><br></div></blockquote></div></div></blockquote></div>