As soon as you type Problem, that's when you should realize you should be on jira and not on the users list.<div><br></div><div>Use Jira and attach full debug logs as documented on the wiki with "sofia global siptrace on" and "console loglevel debug"</div>
<div><br><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 11:34 AM, "Alex Müller" <span dir="ltr"><<a href="mailto:slickwilly2000@gmx.de" target="_blank">slickwilly2000@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey guys!<br>
<br>
I have a real problem with FreeSWITCH (latest GIT) and the codec negotiation. I tried all, even did packet-capturing with wireshark. Something goes wrong with negotiation. First of all an overview:<br>
<br>
Siemens OpenStage (Phone) <-- internal-profile --> FreeSWITCH (Gateway) <-- external-profile --> FRITZ!Box 7270 (Gateway)<br>
<br>
Siemens OpenStage codec-order:<br>
G722,PCMA,PCMU,G729<br>
<br>
FreeSWITCH internal-sofia-profile:<br>
<param name="inbound-codec-prefs" value="G722,PCMA,PCMU"/><br>
<param name="outbound-codec-prefs" value="G722,PCMA,PCMU"/><br>
<param name="inbound-late-negotiation" value="true"/><br>
<br>
FreeSWITCH external-sofia-profile:<br>
<param name="inbound-codec-prefs" value="G722,PCMA,PCMU"/><br>
<param name="outbound-codec-prefs" value="G722,PCMA,PCMU"/><br>
<param name="inbound-late-negotiation" value="true"/><br>
<br>
<br>
1) When I originate a call to a cellphone from the Siemens OpenStage, the phone offers G722, PCMA, PCMU and G729 in the INVITE to FreeSWITCH. All ok!<br>
2) FreeSWITCH forwards this INVITE to the FRITZ!Box 7270. All ok!<br>
3) FRITZ!Box 7270 answers the INVITE with a "100 Trying" to FreeSWITCH. All ok!<br>
4) FRITZ!Box 7270 sends a "183 Session progress" with SDP to FreeSWITCH and offers G722, PCMA and PCMU. All ok!<br>
5) FreeSWITCH sends this "183 Session progress" with SDP to Siemens OpenStage and offers only G722. All ok! At this stage, the codec is negotiated and I can hear the ringing (early media) without any problems.<br>
6) When picking up the call on the cellphone, FreeSWITCH receives a "200 OK" with SDP from FRITZ!Box 7270. In the SDP there is codec-change and the FRITZ!Box 7270 now offers only PCMA and PCMU.<br>
7) FreeSWITCH sends an "ACK" to FRITZ!Box 7270.<br>
8) FreeSWITCH sends the "200 OK" to the Siemens OpenStage but still offers only "G722" and not the "new" "PCMA, PCMU".<br>
9) FRITZ!Box 7270 sends an "ACK" to FreeSWITCH.<br>
9) FRITZ!Box 7270 sends its media still in G722.<br>
<br>
The result is:<br>
<br>
The Siemens OpenStage does not receive any packets and there is a complete silence on the phone.<br>
On the cellphone, I receive a complete distorted voice. It sounds like a "kidnapper".<br>
<br>
Wireshark shows the following with the rtp-media:<br>
<br>
FreeSWITCH --G722--> FRITZ!Box 7270<br>
FreeSWITCH <--PCMA-- FRITZ!Box 7270<br>
<br>
Siemens OpenStage -----G722--> FreeSWITCH<br>
Siemens OpenStage <--no packets-- FreeSWITCH<br>
<br>
<br>
Can anybody help? Why does FreeSWITCH don't propogate the second SDP (with the "200 OK Message") to the Siemens OpenStage?<br>
<br>
<br>
Alex<br>
<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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>