[Freeswitch-users] long DTMF
François Delawarde
fdelawarde at wirelessmundi.com
Tue Aug 24 04:41:50 PDT 2010
On Tue, 2010-08-24 at 12:52 +0200, Tihomir Culjaga wrote:
> hello, i just got a question.
>
> Is it possible somehow to achieve a DTMF collect cancel feature.
> quite hard to explain :))
>
>
> lets suppose you have an extension that collects some digits ... e.g.
> 123456789 .. and in the middle you realized you entered a wrong digit
> and u want to correct it.
> Is there any way you can assign a digit e-g. * or # to interupt te
> current input and to start over again by lets say transfering back to
> the extension collecting digits?
It shouldn't be hard to do with a small lua script with an input
callback handling DTMFs.
You could even create a small DTMF editor with a digit for "backspace"
character for example, that would erase the last digit, or a digit that
would say the current sequence....
Check out:
http://wiki.freeswitch.org/wiki/Lua#session:setInputCallback
François.
More information about the FreeSWITCH-users
mailing list