[Freeswitch-users] Gaps In RTP (wideband) Packets From mod_voicemail

Jerry Richards jerry.richards at teotech.com
Fri May 11 20:15:26 MSD 2012


I updated to latest and still see some big gaps in the RTP stream (8 of them well over 100 mS), rather than the ptime rate of 20mS.  I think the issue is that the audio engine should run independently and continue to transmit RTP packets at a consistent rate, regardless whether it's silence/comfort-noise or a playing a voicemail phrase.  I think the reason it is noticeable in wideband (and not G.711) is because this the wideband codec needs to train (i.e. collect multiple RTP samples) for a time before it plays the audio.

Thanks,
Jerry

-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony Minessale
Sent: Thursday, May 10, 2012 9:56 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Gaps In RTP (wideband) Packets From mod_voicemail

I found a restriction in the core limiting that functionality to sleeps > 100ms, the vm sleeps 100ms between files by default.
update to latest and try again.


On Thu, May 10, 2012 at 11:26 AM, Jerry Richards <jerry.richards at teotech.com> wrote:
> I'm setting send_silence_when_idle globally to a numerical value that fixes a loud white noise issue during sleeps.  I originally had it set to true but still had the wideband clipping issue.
>
> Jerry
>
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org 
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of 
> Anthony Minessale
> Sent: Thursday, May 10, 2012 8:40 AM
> To: FreeSWITCH Users Help
> Subject: Re: [Freeswitch-users] Gaps In RTP (wideband) Packets From 
> mod_voicemail
>
> set send_silence_when_idle=true globally or per-leg
>
> On Thu, May 10, 2012 at 10:35 AM, Jerry Richards <jerry.richards at teotech.com> wrote:
>> By the way, in contrast, I created an XML block that plays the same 
>> messages as mod_voicemail (see block below).  When this XML block is 
>> executed, there is no clipping of words when using wideband codec 
>> BV32.  This is why I'm thinking it's related to delays caused by mod_voicemail processing.
>>
>>
>>
>>     <extension name="test_message">
>>
>>       <condition field="destination_number" expression="^\*105$">
>>
>>         <action application="answer"/>
>>
>>        <action application="sleep" data="1000"/>
>>
>>               <action application="playback"
>> data="/opt/teoswitch/sounds/en/us/callie/voicemail/vm-hello.wav"/>
>>
>>         <action application="playback"
>> data="/opt/teoswitch/sounds/en/us/callie/voicemail/vm-you_have.wav"/>
>>
>>               <action application="say" data="en number pronounced 
>> 1"/>
>>
>>         <action application="playback"
>> data="/opt/teoswitch/sounds/en/us/callie/voicemail/vm-new.wav"/>
>>
>>         <action application="playback"
>> data="/opt/teoswitch/sounds/en/us/callie/voicemail/vm-messages.wav"/>
>>
>>         <action application="playback"
>> data="/opt/teoswitch/sounds/en/us/callie/voicemail/vm-you_have.wav"/>
>>
>>               <action application="say" data="en number pronounced 
>> 2"/>
>>
>>         <action application="playback"
>> data="/opt/teoswitch/sounds/en/us/callie/voicemail/vm-saved.wav"/>
>>
>>         <action application="playback"
>> data="/opt/teoswitch/sounds/en/us/callie/voicemail/vm-messages.wav"/>
>>
>>         <action application="playback"
>> data="/opt/teoswitch/sounds/en/us/callie/voicemail/vm-listen_new.wav"
>> /
>> >
>>
>>         <action application="playback"
>> data="/opt/teoswitch/sounds/en/us/callie/voicemail/vm-press.wav"/>
>>
>>               <action application="say" data="en number pronounced 
>> 1"/>
>>
>>         <action application="sleep" data="100"/>
>>
>>       </condition>
>>
>>     </extension>
>>
>>
>>
>> Thanks,
>>
>> Jerry
>>
>>
>>
>> From: freeswitch-users-bounces at lists.freeswitch.org
>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of 
>> Jerry Richards
>> Sent: Thursday, May 10, 2012 8:23 AM
>> To: FreeSWITCH Users Help
>> Subject: [Freeswitch-users] Gaps In RTP (wideband) Packets From 
>> mod_voicemail
>>
>>
>>
>> Hello,
>>
>>
>>
>> I'm seeing a audio problem when listening to the operator when 
>> calling into voicemail to listen to messages and a wideband codec is used.
>> Looking at a wireshark trace, I see gaps between transmitted RTP 
>> packets that exceed the jitter buffer depth in the endpoint 
>> softphone, causing underflow.   This causes clipping of the front-end 
>> of words such as "Pressed" sounds like 'ess' and "Last name" sounds 
>> like 'ast name'.  While this is generally not noticeable with the 
>> G.711 codec, it causes these clipped audio phrases with wideband 
>> codecs, such as BV32.  It might be due to the processing delay in mod_voicemail between phrases?
>>
>>
>>
>> Has anyone seen this?  Is there a tag to help improve this?
>>
>>
>>
>> Thanks,
>>
>> Jerry
>>
>>
>>
>>
>> _____________________________________________________________________
>> _ ___ Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>  
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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-us
>> e
>> rs
>> 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 at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> ______________________________________________________________________
> ___ Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>  
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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-use
> rs
> http://www.freeswitch.org
>
>
>
> ______________________________________________________________________
> ___ Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>  
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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-use
> rs
> 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 at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

 

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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





Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list