[Freeswitch-users] Collecting DTMF digits with mod_httapi

Rafal Gwizdala rafal.gwizdala at gmail.com
Sat Jun 22 23:27:47 MSD 2013


Hi, could you give me some example of what's necessary to collect DTMF
digits during audio file playback and how to return collected data to my
web application? I'm sorry but even after reading FS 1.2 book I don't know
how to do that.
Here's my application's httapi script:

<document type="text/freeswitch-httapi">
    <work>
<pause milliseconds="2000" />
        <playback file="http://wypas2/simver/audio/test2.wav" name="digits"
            digit-timeout="5" input-timeout="15" loops="3" terminators="#">
            <bind strip="#">~\\d{3}</bind >
        </playback>

    </work>
</document>

but i don't see the collected digits anywhere in request parameters coming
from FS.

Thanks
RG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130622/a0ea86ca/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list