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

Anthony Minessale anthony.minessale at gmail.com
Tue Jul 8 10:27:40 PDT 2008


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


On Tue, Jul 8, 2008 at 10:59 AM, Andy Spitzer <woof at 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 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/20080708/b8ce6df7/attachment-0002.html 


More information about the FreeSWITCH-users mailing list