[Freeswitch-users] Stupid question of the week: how to generate silence and still detect DTMF

Anthony Minessale anthony.minessale at gmail.com
Wed Jul 9 12:07:56 PDT 2008


since doing this with teletone is inefficient anyway, I added silence_stream
(also in mod_tone_stream)

silence_stream://<ms>[,<noise level>]

eg
silence_stream://10000

will generate 10 sec of absolute zeros

silence_stream://10000,2000

will generate comfort noise for 10 seconds.

the noise level actually gets louder the closer it gets to zero so 2000 is
softer than 1000 etc





On Wed, Jul 9, 2008 at 1:02 PM, Andy Spitzer <woof at pingtel.com> wrote:

> Woof!
>
> On Wed, 09 Jul 2008 12:49:51 -0400, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
> > you can try 1,1 instead of 0,0 which is still silent
>
> Actually, it isn't.  It is quite audible on several phones I've played with
> (most likely due to the uLaw companding adding a "step" to each voltage, and
> poor analog filters on the phones), and it also has an RMS power value that
> is certainly not low energy.
>
> I've tried lots of variations of power and frequency and have found nothing
> as truly silent as 0,8000 (or 0,16000 and 0,32000)  I'm just worried that if
> we ever see a codec that isn't a multiple of 8Khz, it wouldn't be silence
> anymore.
>
>
> --Woof!
>
> _______________________________________________
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080709/2a1da6d7/attachment-0002.html 


More information about the FreeSWITCH-users mailing list