[Freeswitch-users] play_and_get_digits - why is minimum 1 digit?

Nathan Neulinger nneul at mst.edu
Fri Sep 20 02:13:58 MSD 2013


That seems like a hack though if I leave a 3 second delay to allow them to slowly punch in a phone number or PIN/etc.

    Call -> 1 2 3 4 # -> move to next
    Call -> wait wait wait wait wait wait <timeout> -> move to next
vs
    Call -> # -> move to next

-- Nathan

On 09/19/2013 12:47 PM, Dave R. Kompel wrote:
> That's what the timeout is for. Timeout means no digits, make that as low as you want.
> --Dave
>
>     ------------------------------------------------------------------------------------------------------------------------
>     *From:* Nathan Neulinger [mailto:nneul at mst.edu]
>     *To:* FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org]
>     *Sent:* Thu, 19 Sep 2013 09:39:15 -0700
>     *Subject:* [Freeswitch-users] play_and_get_digits - why is minimum 1 digit?
>
>     Is there any particular technical reason that the minimum number of digits for play_and_get_digits is 1 instead of 0?
>
>     There have been a few cases where I was wanting to have "enter a destination phone number followed by pound sign, or
>     enter just pound sign to cancel" type of prompt.
>
>     Lowering the minimum to zero would accomplish this, but is there some reason not to do that?
>
>     -- Nathan
>
>     ------------------------------------------------------------
>     Nathan Neulinger nneul at mst.edu <mailto:nneul at mst.edu>
>     Missouri S&T Information Technology (573) 612-1412
>     System Administrator - Architect
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>
>     
>      </>
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org <http://www.freeswitch.org/>
>     http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
>     http://www.cluecon.com <http://www.cluecon.com/>
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org <mailto: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 <http://www.freeswitch.org/>
>

-- 
------------------------------------------------------------
Nathan Neulinger                       nneul at mst.edu
Missouri S&T Information Technology    (573) 612-1412
System Administrator - Architect



Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list