<br><br><div class="gmail_quote">2009/12/3 Warren Selby <span dir="ltr"><<a href="mailto:wcselby@selbytech.com">wcselby@selbytech.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Why not do something with Background()? i.e<br>
<br>
Playback(you-have)<br>
SayNumber(${numMessages})<br>
Playback(messages)<br>
Background(press-1-or-2)<br>
<br>
Then just be sure to record the audio files in the appropriate<br>
directory...<br></blockquote><div><br>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.<br>
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).<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
<br>
<br>
Thanks,<br>
<font color="#888888">--Warren Selby<br>
</font><div><div></div><div class="h5"><br>
On Dec 3, 2009, at 12:39 AM, Olivier <<a href="mailto:oza-4h07@myamail.com">oza-4h07@myamail.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> Currently, it seems impossible to use the output of SayNumber<br>
> application as an input to Read application.<br>
> So, if you want to develop an IVR with something like "You've got 23<br>
> messages. Type 1 to listen to the first one. Type 2 to leave", you<br>
> must parse this message into 3 pieces and want for the last one play<br>
> to start listening of user input :<br>
> Playback ( "You've got")<br>
> SayNumber (23)<br>
> Read ("messages. Type 1 to listen to the first one. Type 2 to<br>
> leave", ...)<br>
><br>
> Being to get the list of sound files that SayNumber would play would<br>
> be very convenient to build concatenate several one into one<br>
> temporary file. When played with Read app, user wouldn't have to<br>
> wait for the last part to type its answer :<br>
><br>
> myfilelist = SayNumberFiles(23)<br>
> tempfile=concat( "You've got", myfilelist, "messages. Type 1 to<br>
> listen to the first one. Type 2 to leave")<br>
> Read (tempfile, ...)<br>
><br>
> Did I miss a workaround ?<br>
> What would you say about this feature request ?<br>
><br>
> Regards<br>
</div></div><div><div></div><div class="h5">> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>