[Freeswitch-users] g729 packets skipped in passthrough mode

Javier Gallart jgallartm at gmail.com
Mon Feb 14 13:48:45 MSK 2011


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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110214/33ef0bb7/attachment.html 


More information about the FreeSWITCH-users mailing list