[asterisk-users] Feature Request: "SayNumberFiles"

Olivier oza-4h07 at myamail.com
Thu Dec 3 04:16:05 CST 2009


2009/12/3 Warren Selby <wcselby at selbytech.com>

> Why not do something with Background()?  i.e
>
> Playback(you-have)
> SayNumber(${numMessages})
> Playback(messages)
> Background(press-1-or-2)
>
> Then just be sure to record the audio files in the appropriate
> directory...
>

The benefit of using a single Read (instead of  using several Playback,
Background and SayNumber) is that  IVR users don't have to wait for the last
prompt to input their reply.
I can be frustrating for users to be sometimes unable to reply without
waiting, just because the audio message can't be pre-recorded (because it
includes some variable data).


>
>
>
> Thanks,
> --Warren Selby
>
> On Dec 3, 2009, at 12:39 AM, Olivier <oza-4h07 at myamail.com> wrote:
>
> > Hi,
> >
> > Currently, it seems impossible to use the output of SayNumber
> > application as an input to Read application.
> > So, if you want to develop an IVR with something like "You've got 23
> > messages. Type 1 to listen to the first one. Type 2 to leave", you
> > must parse this message into 3 pieces and want for the last one play
> > to start listening of user input :
> >   Playback ( "You've got")
> >   SayNumber (23)
> >   Read ("messages. Type 1 to listen to the first one. Type 2 to
> > leave", ...)
> >
> > Being to get the list of sound files that SayNumber would play would
> > be very convenient to build concatenate several one into one
> > temporary file. When played with Read app, user wouldn't have to
> > wait for the last part to type its answer :
> >
> >   myfilelist = SayNumberFiles(23)
> >   tempfile=concat( "You've got", myfilelist, "messages. Type 1 to
> > listen to the first one. Type 2 to leave")
> >   Read (tempfile, ...)
> >
> > Did I miss a workaround ?
> > What would you say about this feature request ?
> >
> > Regards
> > _______________________________________________
> > -- 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
>
> _______________________________________________
> -- 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/20091203/adf183ee/attachment.htm 


More information about the asterisk-users mailing list