<p>OK you're right, I read the RfC and in fact a zero port means that the stream is rejected. However the whole "negotiation" is still broken. If FS rejects the incorrect G.722, OK, but what about all the other (perfectly valid) codecs in the request (PCMA, PCMU)?</p>
<p>Because FS only rejects G.722, the call is doomed to fail, even though it could work nicely if FS just selected one of the acceptable offers.</p>
<p>Roland</p>
<div class="gmail_quote">Am 20.01.2012 20:52 schrieb "Brian West" <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Port 0 is absolutely correct its part of SOA and its rejected the media so it sends port 0 to reject it. Now the payload changing is odd but port zero is def. correct if its rejected.<div>
<br></div><div>/b</div><div><br><div><div>On Jan 20, 2012, at 12:55 PM, Roland Hänel wrote:</div><br><blockquote type="cite"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium">Hello Brian,<br>
<br>As I wrote, I was already aware of that. However I think it would make<br>sense to improve the handling on the FS side because<br><br> - the response of FS is clearly faulty, if FS doesn't like the FB offer<br>it could reject the call, but sending 200 OK with port 0 is incorrect.<br>
Especially when the SDP data in debugging is not the same as the data we<br>see in the SIP packet<br><br> - though incorrect, the G722/16000 thing is not uncommon. According to<br>some reports I googled Grandstream and others also misbehave in that way.<br>
Because FS is friendly, I'd suggest to answer the request for G722/16000<br>with G722/8000 and everything will probably just work out fine. By the way,<br>the debugging output suggests that exactly this was the intent of the<br>
author - but there seems to be a bug that prevents this SDP from making it<br>into the 200 OK packet.<br><br>Roland</span></blockquote></div><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<div><div>-- </div><div>Brian West </div><div>FreeSWITCH Solutions, LLC</div><div>Phone: <a href="tel:%2B1%20%28918%29%20420-9266" value="+19184209266" target="_blank">+1 (918) 420-9266</a> </div><div>Fax: <a href="tel:%2B1%20%28918%29%20420-9267" value="+19184209267" target="_blank">+1 (918) 420-9267</a></div>
<div><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></div><div><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></div></div></span></span>
</div>
<br></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div>