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@pingtel.com> wrote:
Woof!

On Wed, 09 Jul 2008 12:49:51 -0400, Anthony Minessale <anthony.minessale@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.



--
Anthony Minessale II

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

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
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400