[Freeswitch-users] Jitter during on-hold
Brian West
brian at freeswitch.org
Thu Nov 3 22:05:03 MSK 2016
So it sounds like you're writing your own module, How are you doing this
hold operation?
/b
On Thu, Nov 3, 2016 at 10:53 AM, Miroslav Levanic <
Miroslav.Levanic at enghouse.com> wrote:
> Hello,
>
>
>
> I’m trying to play from file when other party is set on–hold.
>
> reINVITE sent by FreeSwitch contains sendonly attribute which opens
> possibility that FreeSwitch can play something to other end although other
> party is on-hold.
>
> I’ve used modified switch_ivr_play_file() function which by default
> prevents sending rtp packets to other side when call is on-hold.
>
> I’ve encountered rtp stream issue causing distorted audio due to dropped
> packets on the caller end.
>
> Codec used is G.711 mulaw 8kHz and ptime is 20ms accepted on both side,
> FreeSwitch and softphone. Both endpoints are located in the local LAN.
>
> Wireshark rtp analysis shows that when call is not on-hold, packets comes
> in interval of 20ms as expected. But when the call is set on-hold, average
> delta time between packets is 21ms, causing dropping packet every second
> (1ms extra time multiplied by 50 packets per second) with jitter buffer set
> to 50ms in Wireshark.
>
> Setting "auto-jitterbuffer-msec" parameter in sofia did not help.
>
> Is there a serious reason why I cannot use switch_ivr_play_file() during
> on-hold and what could cause jitter only during on-hold period? When call
> is retrieved from hold, jitter disappears and audio is good again.
>
>
>
> Thanks,
>
> Miro
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
*Brian West*
brian at freeswitch.org
*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com (50% Discount using code FreeSwitch50)
http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50)
https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161103/9e0dcc56/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list