Thanks for the input, proxy-2 which is 3rd party sending early media without SDP info in pregress message(180 or 183).<br><br><br><br><div class="gmail_quote">On Tue, Oct 5, 2010 at 7:47 PM, Andreas Heise <span dir="ltr">&lt;<a href="mailto:aheise.lists@googlemail.com">aheise.lists@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<div><br></div><div>you could change the SDP with UPDATE method, but 183 must be send reliable in this case.</div>
<div><br></div><div>regards,</div><div>Andreas</div><div><br><br><div class="gmail_quote">2010/10/5 Iņaki Baz Castillo <span dir="ltr">&lt;<a href="mailto:ibc@aliax.net" target="_blank">ibc@aliax.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">2010/10/4 Asim Riaz &lt;<a href="mailto:ariaz78@gmail.com" target="_blank">ariaz78@gmail.com</a>&gt;:<br>

<div><div></div><div>&gt; Hi List,<br>
&gt; Phone-1 -------&gt;Proxy1 (kamailio)--------------&gt;Proxy-2(3rd party)<br>
&gt; -------------&gt; phone 2<br>
&gt;<br>
&gt; Calls from phone-1 to phone-2, proxy-2 is sending early media without sdp in<br>
&gt; provisional reply, this early media is sourced from different port than<br>
&gt; response (200), what port proxy-1 will use to transmit actual voice, the<br>
&gt; source port in early media or source port in  response(200) which is<br>
&gt; different than early media.<br>
<br>
</div></div>As Daniel said Kamailio doesn&#39;t handle media (it&#39;s a SIP proxy). You<br>
should mean &quot;Phone-1&quot; instead of &quot;proxy-1&quot;.<br>
<br>
According to the RFC about SDP (and also RFC 3261): during the same<br>
early dialog (same To-tag) the SDP MUST NOT change. This is, if a UAS<br>
generates a 183 (To-tag=1234) with SDP, it MUST use the same SDP in<br>
other 183&#39;s responses and in final 200 OK response.<br>
The client can receives multiple SDP (when there is a proxy doing<br>
parallel forking, but each early dialog (same To-tag) MUST mantain a<br>
fixed SDP.<br>
<br>
So, if the client receives a different SDP in the 200 than the SDP it<br>
received in the 183 (I mean in the *same* early-dialog / same To-tag)<br>
then the client MUST ignore others SDP but the first one received. I<br>
insist: I&#39;m speaking about the SDP in the SAME early-dialog.<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Iņaki Baz Castillo<br>
&lt;<a href="mailto:ibc@aliax.net" target="_blank">ibc@aliax.net</a>&gt;<br>
</font></div></div><div><div></div><div><br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br></div>
</blockquote></div><br>