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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
That's what the timeout is for. Timeout means no digits, make that as low as you want. --Dave _____ From: Nathan Neulinger [mailto:nneul@mst.edu] To: FreeSWITCH Users Help [mailto:freeswitch-users@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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
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@mst.edu] *To:* FreeSWITCH Users Help [mailto:freeswitch-users@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@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com <http://www.cudatel.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@lists.freeswitch.org <mailto: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 <http://www.freeswitch.org/>
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
Not really, the top level app wrapper is the only place that limitation is set, not in the actual function in the core. If you edit mod_dptools.c on 2542ish to not have that limitation does it work? If so open a jira and we can fix it. On Thu, Sep 19, 2013 at 5:13 PM, Nathan Neulinger <nneul@mst.edu> wrote:
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@mst.edu] *To:* FreeSWITCH Users Help [mailto:
freeswitch-users@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@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <
http://www.freeswitchsolutions.com/>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com <http://www.cudatel.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@lists.freeswitch.org <mailto:
FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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/ Twitter: http://twitter.com/FreeSWITCH_wire 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 googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Will test it tomorrow. Thanks. Was mainly asking to make sure there wasn't any "oh yeah, if you do that, it will break X for this weird reason". -- Nathan On 09/19/2013 05:34 PM, Anthony Minessale wrote:
Not really, the top level app wrapper is the only place that limitation is set, not in the actual function in the core. If you edit mod_dptools.c on 2542ish to not have that limitation does it work? If so open a jira and we can fix it.
On Thu, Sep 19, 2013 at 5:13 PM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
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@mst.edu <mailto:nneul@mst.edu>] > *To:* FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>> > Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> > http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com <http://www.cudatel.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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto: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 <http://www.freeswitch.org/> >
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
Change worked without issue for doing a zero-length option. It's possible there are side effects elsewhere if you choose to use a setting of zero, but that wouldn't affect anyone unless they chose that particular case. FS-5812 submitted. On 09/19/2013 06:12 PM, Nathan Neulinger wrote:
Will test it tomorrow. Thanks.
Was mainly asking to make sure there wasn't any "oh yeah, if you do that, it will break X for this weird reason".
-- Nathan
On 09/19/2013 05:34 PM, Anthony Minessale wrote:
Not really, the top level app wrapper is the only place that limitation is set, not in the actual function in the core. If you edit mod_dptools.c on 2542ish to not have that limitation does it work? If so open a jira and we can fix it.
On Thu, Sep 19, 2013 at 5:13 PM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
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@mst.edu <mailto:nneul@mst.edu>] > *To:* FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>> > Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> > http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com <http://www.cudatel.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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto: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 <http://www.freeswitch.org/> >
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
I ended up writing my own lua function for that...
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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2242 / Virus Database: 3222/6178 - Release Date: 09/18/13
participants (4)
-
Alex Lake
-
Anthony Minessale
-
Dave R. Kompel
-
Nathan Neulinger