Try latest trunk, I added support for what you want.


On Tue, Jul 8, 2008 at 10:59 AM, Andy Spitzer <woof@pingtel.com> 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 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 detect DTMF during the command (and any entered digit events are sent once the command completes 5000 mS later.)


If I use:

sendmsg
call-command: execute
execute-app-name: playback
execute-app-arg: tone_stream://%(5000, 0, 0)

In an attempt to generate a 5000 mS 0 Hz "tone", it doesn't take 5000 mS, the command just completes immediately.


I've been using this as a workaround:

sendmsg
call-command: execute
execute-app-name: playback
execute-app-arg: tone_stream://%(5000, 0, 8000)

Which works on 8000 Hz calls...but will probably be very annoying to the caller if I ever accept a wide-band call!

Any ideas?

--Woof!

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@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@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