mr fritz is lying somewhere <br><br>get a pcap of the traffic from fritz to FS and look at the size of the audio packets<br>if they are 160(172 with headers) bytes then it&#39;s 20ms if it&#39;s 240 (252) then it&#39;s 30ms<br>
<br>if it&#39;s saying 20 but it means 30 you should leave the last change in place and also add in<br><br>&lt;param name=&quot;rtp-autofix-timing&quot; value=&quot;true&quot; /&gt;<br>and <br>&lt;param name=&quot;inbound-codec-negotiation&quot; value=&quot;scrooge&quot;/&gt;<br>
<br>to overcome the bug on their end.<br><br><br><div class="gmail_quote">On Mon, Aug 24, 2009 at 2:05 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com">mike@jerris.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;">
That is the remote sdp, not the local sdp.  They are sending ptime 20,<br>
not us.  Are they actually sending 20 ms packets or are they sending 30?<br>
<br>
MIke<br>
<div><div></div><div class="h5"><br>
On Aug 23, 2009, at 4:20 PM, Peter P GMX wrote:<br>
<br>
&gt; Hello Anthony,<br>
&gt;<br>
&gt; I set PCMA@30i,PCMU@30i and I can see in the logs that PCMA is used.<br>
&gt; However ptime is set to 20 msec as shown in the Logs:<br>
&gt;<br>
&gt; 2009-08-23 22:11:29.530301 [DEBUG] sofia.c:3309 Remote SDP:<br>
&gt; v=0<br>
&gt; o=user 2075230 2075230 IN IP4 217.xx.xx.xxx<br>
&gt; s=call<br>
&gt; c=IN IP4 217.xx.xx.xxx<br>
&gt; t=0 0<br>
&gt; m=audio 7078 RTP/AVP 8 0 2 102 100 99 97 101<br>
&gt; a=rtpmap:2 G726-32/8000<br>
&gt; a=rtpmap:102 G726-32/8000<br>
&gt; a=rtpmap:100 G726-40/8000<br>
&gt; a=rtpmap:99 G726-24/8000<br>
&gt; a=rtpmap:97 iLBC/8000<br>
&gt; a=fmtp:97 mode=30<br>
&gt; a=rtpmap:101 telephone-event/8000<br>
&gt; a=fmtp:101 0-11<br>
&gt; a=rtcp:7079<br>
&gt;<br>
&gt; 2009-08-23 22:11:29.530301 [DEBUG] switch_core_state_machine.c:404<br>
&gt; (sofia/internal/02xxxxxxxxx@fs1.my.domain) State NEW<br>
&gt; 2009-08-23 22:11:29.530301 [DEBUG] sofia_glue.c:3132 Audio Codec<br>
&gt; Compare<br>
&gt; [PCMA:8:8000:0]/[G722:9:8000:20]<br>
&gt; 2009-08-23 22:11:29.530301 [DEBUG] sofia_glue.c:3132 Audio Codec<br>
&gt; Compare<br>
&gt; [PCMA:8:8000:0]/[PCMU:0:8000:20]<br>
&gt; 2009-08-23 22:11:29.530301 [DEBUG] sofia_glue.c:3132 Audio Codec<br>
&gt; Compare<br>
&gt; [PCMA:8:8000:0]/[PCMA:8:8000:20]<br>
&gt; 2009-08-23 22:11:29.530301 [DEBUG] sofia_glue.c:2090 Set Codec<br>
&gt; sofia/internal/02xxxxxxxxx@fs1.my.domain PCMA/8000 20 ms 160 samples<br>
&gt; 2009-08-23 22:11:29.530301 [DEBUG] sofia_glue.c:3092 Set 2833 dtmf<br>
&gt; payload to 101<br>
&gt;<br>
&gt; Sound from FS to Fritzbox is fine. Sound from Fritzbox to FS is<br>
&gt; horrible.<br>
&gt;<br>
&gt; Best regards<br>
&gt; Peter<br>
&gt;<br>
&gt; Anthony Minessale schrieb:<br>
&gt;&gt; try setting FS to 30ms too<br>
&gt;&gt;<br>
&gt;&gt; edit vars.xml and add @30i to everywhere you see  PCMU or PCMA so it<br>
&gt;&gt; looks like PCMU@30i<br>
&gt;&gt;<br>
&gt;&gt; from:<br>
&gt;&gt;<br>
&gt;&gt;  &lt;X-PRE-PROCESS cmd=&quot;set&quot;<br>
&gt;&gt; data<br>
&gt;&gt; =&quot;global_codec_prefs=G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM&quot;/&gt;<br>
&gt;&gt;  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;outbound_codec_prefs=PCMU,PCMA,GSM&quot;/&gt;<br>
&gt;&gt;<br>
&gt;&gt; to:<br>
&gt;&gt;<br>
&gt;&gt;  &lt;X-PRE-PROCESS cmd=&quot;set&quot;<br>
&gt;&gt; data<br>
&gt;&gt; =<br>
&gt;&gt; &quot;global_codec_prefs<br>
&gt;&gt; =G7221@32000h,G7221@16000h,G722,PCMU@30i,PCMA@30i,GSM&quot;/&gt;<br>
&gt;&gt;  &lt;X-PRE-PROCESS cmd=&quot;set&quot;<br>
&gt;&gt; data=&quot;outbound_codec_prefs=PCMU@30i,PCMA@30i,GSM&quot;/&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Aug 21, 2009 at 1:38 PM, Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><br>
&gt;&gt; &lt;mailto:<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;    You can ship me one whois <a href="http://bkw.org" target="_blank">bkw.org</a> &lt;<a href="http://bkw.org" target="_blank">http://bkw.org</a>&gt;, I can add it<br>
&gt;&gt;    to my lab.<br>
&gt;&gt;<br>
&gt;&gt;    /b<br>
&gt;&gt;<br>
&gt;&gt;    On Aug 21, 2009, at 10:38 AM, Peter P GMX wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; BTW: We can ship you a FritzBox if you need one for testing.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;    _______________________________________________<br>
&gt;&gt;    FreeSWITCH-users mailing list<br>
&gt;&gt;    <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt;    &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt;&gt;    <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt;    UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/" target="_blank">http://lists.freeswitch.org/mailman/options/</a><br>
&gt;&gt; freeswitch-users<br>
&gt;&gt;    <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Anthony Minessale II<br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
&gt;&gt; ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
&gt;&gt; Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
&gt;&gt;<br>
&gt;&gt; AIM: anthm<br>
&gt;&gt; <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
&gt;&gt; &lt;mailto:<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>&gt;<br>
&gt;&gt; GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
&gt;&gt; &lt;mailto:<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>&gt;<br>
&gt;&gt; IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> &lt;<a href="http://irc.freenode.net" target="_blank">http://irc.freenode.net</a>&gt; #freeswitch<br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH Developer Conference<br>
&gt;&gt; <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
&gt;&gt; &lt;mailto:<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>&gt;<br>
&gt;&gt; <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
&gt;&gt; &lt;<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">http://iax:guest@conference.freeswitch.org/888</a>&gt;<br>
&gt;&gt; <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
&gt;&gt; &lt;mailto:<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>&gt;<br>
&gt;&gt; pstn:213-799-1400<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
&gt;&gt; users<br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-</a><br>
&gt; users<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <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="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>