<div dir="ltr"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">
I have SIP proxy (Kamailio) works in conjunction with <a href="http://www.rtpproxy.org/" rel="nofollow" style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;color:rgb(74,107,130);text-decoration:none">rtpproxy</a> to support client communication. When SIP proxy sends command to rtpproxy to create new session, rtpproxy will create 2 ports (let's called them port1 and port2). rtpproxy has 1 listen interface</p>
<p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">
Supposed A and B are 2 clients that use rtpproxy to relay RTP stream, and works fine.</p><blockquote style="margin:0px 0px 10px;padding:10px 10px 1px;border:0px;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238);quotes:none;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">
<p style="margin:0px 0px 1em;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;clear:both;word-wrap:break-word">A <---> port1 [<strong style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">rtpproxy</strong>] port2 <---> B</p>
</blockquote><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">
Now that A loses his current network, and enter network2 (imagine a network handover) to become A2. In this case, I see rtpproxy still works fine by relaying stream between A2 and B</p><blockquote style="margin:0px 0px 10px;padding:10px 10px 1px;border:0px;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238);quotes:none;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">
<p style="margin:0px 0px 1em;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;clear:both;word-wrap:break-word">A2 <---> port1 [<strong style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">rtpproxy</strong>] port2 <---> B</p>
</blockquote><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">
But when A2 lose his network2 and enters network3 to become A3, rtpproxy stills relay stream between A2 and B. It seems that A can change his network only once.</p><blockquote style="margin:0px 0px 10px;padding:10px 10px 1px;border:0px;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238);quotes:none;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">
<p style="margin:0px 0px 1em;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;clear:both;word-wrap:break-word">A2 <---> port1 [<strong style="margin:0px;padding:0px;border:0px;vertical-align:baseline;background-color:transparent">rtpproxy</strong>] port2 <---> B</p>
<p style="margin:0px 0px 1em;padding:0px;border:0px;vertical-align:baseline;background-color:transparent;clear:both;word-wrap:break-word">A3</p></blockquote><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;clear:both;word-wrap:break-word;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:18px">
Why did the first handover succeed? How can I change rtpproxy behavior to support many handovers ?</p><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(0,0,0)">Khoa Pham</span><div>HCMC University of Science<br style="color:rgb(0,0,0)">
<span style="color:rgb(0,0,0)"><a href="http://www.fantageek.com" target="_blank">www.fantageek.com</a></span><br></div></div>
</div>