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