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

2008-07-09 Thread Andy Spitzer
Woof! On Wed, 09 Jul 2008 15:07:56 -0400, Anthony Minessale <[EMAIL PROTECTED]> wrote: > silence_stream://[,] > > eg > silence_stream://1 > > will generate 10 sec of absolute zeros Nice! Pefect for my needs. Thanks. --Woof! ___ Freeswitch-users

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

2008-07-09 Thread Anthony Minessale
since doing this with teletone is inefficient anyway, I added silence_stream (also in mod_tone_stream) silence_stream://[,] eg silence_stream://1 will generate 10 sec of absolute zeros silence_stream://1,2000 will generate comfort noise for 10 seconds. the noise level actually gets lo

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

2008-07-09 Thread Andy Spitzer
Woof! On Wed, 09 Jul 2008 12:49:51 -0400, Anthony Minessale <[EMAIL PROTECTED]> 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

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

2008-07-09 Thread Anthony Minessale
you can try 1,1 instead of 0,0 which is still silent On Wed, Jul 9, 2008 at 11:15 AM, Andy Spitzer <[EMAIL PROTECTED]> wrote: > Woof! > > On Wed, 09 Jul 2008 11:24:20 -0400, Michael Jerris <[EMAIL PROTECTED]> > wrote: > > > What do you get now when you try to do this? > > When I do "tone_stream:

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

2008-07-09 Thread Andy Spitzer
Woof! On Wed, 09 Jul 2008 11:24:20 -0400, Michael Jerris <[EMAIL PROTECTED]> wrote: > What do you get now when you try to do this? When I do "tone_stream://%(1, 0, 0)", expecting 10 seconds of silence, it instantly completes the command without error. It doesn't take 10 seconds ;-) --Woo

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

2008-07-09 Thread Michael Jerris
What do you get now when you try to do this? Mike On Jul 9, 2008, at 10:58 AM, Andy Spitzer wrote: > Woof! > > On Tue, 08 Jul 2008 19:13:24 -0400, Anthony Minessale <[EMAIL PROTECTED] > > wrote: > >> try now =D > > Ahh, now there is joy! > > Can I trouble you to also make "tone_stream://%(150, 0

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

2008-07-09 Thread Andy Spitzer
Woof! On Tue, 08 Jul 2008 19:13:24 -0400, Anthony Minessale <[EMAIL PROTECTED]> wrote: > try now =D Ahh, now there is joy! Can I trouble you to also make "tone_stream://%(150, 0, 0)" (or something similar) also work? I can forsee a need for injecting short pauses into a sequence of prompts,

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

2008-07-08 Thread Anthony Minessale
darn, forgot another 3 lines of code, try now =D On Tue, Jul 8, 2008 at 2:58 PM, Andy Spitzer <[EMAIL PROTECTED]> wrote: > Woof! > > On Tue, 08 Jul 2008 15:27:02 -0400, Anthony Minessale < > [EMAIL PROTECTED]> wrote: > > > update and try again. > > Alas, no joy. Break still won't wake it up. >

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

2008-07-08 Thread Andy Spitzer
Woof! On Tue, 08 Jul 2008 15:27:02 -0400, Anthony Minessale <[EMAIL PROTECTED]> wrote: > update and try again. Alas, no joy. Break still won't wake it up. svn version 8933 --Woof! ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.

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

2008-07-08 Thread Anthony Minessale
Right you are, sorry forgot that bit. update and try again. On Tue, Jul 8, 2008 at 2:12 PM, Andy Spitzer <[EMAIL PROTECTED]> wrote: > Woof! > > On Tue, 08 Jul 2008 13:27:40 -0400, Anthony Minessale < > [EMAIL PROTECTED]> wrote: > > > Try latest trunk, I added support for what you want. > > Thank

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

2008-07-08 Thread Andy Spitzer
Woof! On Tue, 08 Jul 2008 13:27:40 -0400, Anthony Minessale <[EMAIL PROTECTED]> wrote: > Try latest trunk, I added support for what you want. Thanks. I just tried it. DTMF event reporting now works...but I cannot "break" out of the sleep command once it is started. --Woof! _

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

2008-07-08 Thread Anthony Minessale
Try latest trunk, I added support for what you want. On Tue, Jul 8, 2008 at 10:59 AM, Andy Spitzer <[EMAIL PROTECTED]> wrote: > Woof! > > Using mod_socket (outbound mode) on svn version 8911, after the call is > answered, I'm having difficulty with generating silence periods during which > I wan

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

2008-07-08 Thread Andy Spitzer
Woof! Using mod_socket (outbound mode) on svn version 8911, after the call is answered, I'm having difficulty with generating silence periods during which I want to be able to detect DTMF events. If I use: sendmsg call-command: execute execute-app-name: sleep execute-app-arg: 5000 It won't de