Hello list I've just noticed a problem in our Freeswitch (version 1.0.head (git-3fd7b8f 2011-02-13 18-04-17 -0500)) when it stays in the middle of a g729 negotiated call. I haven't found information to this particular problem previous posts to the list. The dialplan is trivial, the only relevant line is a bridge to the destination ip address: <action application="bridge" data="sofia/internal/${cld_number}@${destip}"/> The call goes through but the quality is very bad becuse half of the packets are not relayed from the FS to the originating ip. From the logs: ----A-LEG---- 2011-02-13 23:17:50.375026 [DEBUG] sofia.c:4670 Remote SDP: c=IN IP4 x.x.x.x m=audio 14098 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=ptime:20 a=silenceSupp:off - - - - 2011-02-13 23:17:50.375026 [DEBUG] sofia_glue.c:4474 Audio Codec Compare [G729:18:8000:20:8000]/[G729:18:8000:20:8000] 2011-02-13 23:17:50.375026 [DEBUG] sofia_glue.c:2757 Set Codec sofia/internal/34917019888@79.170.68.158:5060 G729/8000 20 ms 160 samples 8000 bits ------B-LEG------ 2011-02-13 23:17:50.762967 [DEBUG] sofia.c:4670 Remote SDP: c=IN IP4 y.y.y.y m=audio 20098 RTP/AVP 18 101 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 2011-02-13 23:17:50.762967 [DEBUG] sofia_glue.c:4474 Audio Codec Compare [G729:18:8000:20:8000]/[G729:18:8000:20:8000] 2011-02-13 23:17:50.762967 [DEBUG] sofia_glue.c:2757 Set Codec sofia/internal/59381855597@200.25.204.69 G729/8000 20 ms 160 samples 8000 bits And this is what tshark says (x.x.x.x origin media ip: y.y.y.y dest media ip: z.z.z.z FS ip): 2.289121 y.y.y.y -> z.z.z.z RTP PT=ITU-T G.729, SSRC=0x75061F76, Seq=8158, Time=2931222712, Mark 2.309166 y.y.y.y -> z.z.z.z RTP PT=ITU-T G.729, SSRC=0x75061F76, Seq=8159, Time=2931222872, Mark 2.328814 z.z.z.z -> x.x.x.x RTP PT=ITU-T G.729, SSRC=0x621B8D66, Seq=47609, Time=15680 2.329147 y.y.y.y -> z.z.z.z RTP PT=ITU-T G.729, SSRC=0x75061F76, Seq=8160, Time=2931223032, Mark 2.349253 y.y.y.y -> z.z.z.z RTP PT=ITU-T G.729, SSRC=0x75061F76, Seq=8161, Time=2931223192, Mark 2.369036 z.z.z.z -> x.x.x.x RTP PT=ITU-T G.729, SSRC=0x621B8D66, Seq=47610, Time=16160 2.369274 y.y.y.y -> z.z.z.z RTP PT=ITU-T G.729, SSRC=0x75061F76, Seq=8162, Time=2931223352, Mark 2.389271 y.y.y.y -> z.z.z.z RTP PT=ITU-T G.729, SSRC=0x75061F76, Seq=8163, Time=2931223512, Mark I've tried to explicitly set ptime at 20ms at switch.conf -although it's not necessary afaik-. Has any one experienced this same issue? Thanks in advance.. Regards
What exactly is the problem? I see no issue here can you elaborate on what you're seeing? /b On Feb 14, 2011, at 4:48 AM, Javier Gallart wrote:
I've tried to explicitly set ptime at 20ms at switch.conf -although it's not necessary afaik-. Has any one experienced this same issue?
Thanks in advance..
Regards
I bet its 20ms vs 30 set passthru_ptime_mismatch to true either in vars.xml or in your dialplan both legs through export on the a leg or set in the a leg and in the {} on b. On Mon, Feb 14, 2011 at 10:28 AM, Brian West <brian@freeswitch.org> wrote:
What exactly is the problem? I see no issue here can you elaborate on what you're seeing?
/b
On Feb 14, 2011, at 4:48 AM, Javier Gallart wrote:
I've tried to explicitly set ptime at 20ms at switch.conf -although it's not necessary afaik-. Has any one experienced this same issue?
Thanks in advance..
Regards
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (3)
-
Anthony Minessale
-
Brian West
-
Javier Gallart