I'm using the SayNumber() app to read out a users balance for an IVR. Is there a way I can do that while waiting for DTMF input? Obviously, read() and Background() don't correctly say a number in number format. Thanks, Doug. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080610/1f4258ce/attachment.htm
On Tue, 2008-06-10 at 10:03 -0700, Douglas Garstang wrote:> I'm using the SayNumber() app to read out a users balance for an IVR. > Is there a way I can do that while waiting for DTMF input? > > Obviously, read() and Background() don't correctly say a number in > number format.I don't know of an easy way of doing this, short of writing a routing in an AGI script to read numbers in the proper format. I'd personally love to see SayDigitsBackground, SayNumberBackground, SayAlphaBackground, etc. or even better, the ability to put numbers in the filename parameters to the Read application, such as: Read(some-variable,your-account-balance&is&%123%&dollars) (Obviously I just chose the percent sign as an arbitrary delimiter there, but you get the idea.) -- Jared Smith Training Manager Digium, Inc.
Douglas Garstang wrote:> I'm using the SayNumber() app to read out a users balance for an IVR. > Is there a way I can do that while waiting for DTMF input? > > Obviously, read() and Background() don't correctly say a number in number format.I do not know of a way to do that. It would be an extremely useful new feature to have, but as fair as I know, is not currently available. -- Russell Bryant Senior Software Engineer Open Source Team Lead Digium, Inc.
Poo. Thanks Jared. ----- Original Message ---- From: Jared Smith <jsmith at digium.com> To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Sent: Tuesday, June 10, 2008 10:24:46 AM Subject: Re: [asterisk-users] SayNumber while reading DTMF? On Tue, 2008-06-10 at 10:03 -0700, Douglas Garstang wrote:> I'm using the SayNumber() app to read out a users balance for an IVR. > Is there a way I can do that while waiting for DTMF input? > > Obviously, read() and Background() don't correctly say a number in > number format.I don't know of an easy way of doing this, short of writing a routing in an AGI script to read numbers in the proper format. I'd personally love to see SayDigitsBackground, SayNumberBackground, SayAlphaBackground, etc. or even better, the ability to put numbers in the filename parameters to the Read application, such as: Read(some-variable,your-account-balance&is&%123%&dollars) (Obviously I just chose the percent sign as an arbitrary delimiter there, but you get the idea.) -- Jared Smith Training Manager Digium, Inc. _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080610/d264ddf7/attachment.htm