Hello! I have developed an IVR using AGI and so far it works great. I'm using Cepstral voices, but now want to use the voices from AT & T that are on a Windows server to be heard best. With cepstral what I do is to generate audio files from shipping and this text I reproduce this method it has worked very well. Now, try to do the same by creating the audio file in windows with the voices of AT & T, the problem is that there is no way to synchronize the generation of the audio file and step Asterisk to be played, so it occurred to me to use FastAGI to generate all Windows and play in the same window the audio file generated. We buy Linux licenses for the voices but they are very expensive and already bought windows for another project. How do you think would be the best option? If you have another idea, please Tell me because I'm getting crazy with this and can not solve. TIA Edwin _________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100416/2f31a462/attachment.htm
Danny Nicholas
2010-Apr-16 21:25 UTC
[asterisk-users] AGI, FASTAGI or Windows Voice Server
Why don't you use sox to transform the windows audio file into the asterisk format - I do this with pretty good results. _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Edwin Quijada Sent: Friday, April 16, 2010 3:59 PM To: Asterisk Asterisk Subject: [asterisk-users] AGI, FASTAGI or Windows Voice Server Hello! I have developed an IVR using AGI and so far it works great. I'm using Cepstral voices, but now want to use the voices from AT & T that are on a Windows server to be heard best. With cepstral what I do is to generate audio files from shipping and this text I reproduce this method it has worked very well. Now, try to do the same by creating the audio file in windows with the voices of AT & T, the problem is that there is no way to synchronize the generation of the audio file and step Asterisk to be played, so it occurred to me to use FastAGI to generate all Windows and play in the same window the audio file generated. We buy Linux licenses for the voices but they are very expensive and already bought windows for another project. How do you think would be the best option? If you have another idea, please Tell me because I'm getting crazy with this and can not solve. TIA Edwin _____ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100416/fadc6f7f/attachment.htm
Why don?t you use sox to transform the windows audio file into the asterisk format ? I do this with pretty good results. I did. But my problem is not conversion my problem is that I dont know how play the file from windows server or copy this to asterisk without my AGI continue and desyncronyze it. Can you explain me exactly what did you do /? Do you have something like this using AGI ? I use sox with good results too in windows. The problem is when create the file and convert it , how send to asterisk Edwin Jaws _________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100416/fd52bbed/attachment.htm
On Fri, Apr 16, 2010 at 4:59 PM, Edwin Quijada <listas_quijada at hotmail.com>wrote:> Hello! > I have developed an IVR using AGI and so far it works great. I'm using > Cepstral voices, but now want to use the voices from AT & T that are on a > Windows server to be heard best. With cepstral what I do is to generate > audio files from shipping and this text I reproduce this method it has > worked very well. > > > > Now, try to do the same by creating the audio file in windows with the > voices of AT & T, the problem is that there is no way to synchronize the > generation of the audio file and step Asterisk to be played, so it occurred > to me to use FastAGI to generate all Windows and play in the same window > the audio file generated. > > We buy Linux licenses for the voices but they are very expensive and > already bought windows for another project. How do you think would be the > best option? > > > > If you have another idea, please Tell me because I'm getting crazy with > this and can not solve. > > TIA > > Edwin > >Just a shot in the dark, have you tried ExternalIVR? It was originally developed for Unwired Buyer (Ebay), I believe Digium and Unwired Buyer teamed up on this one. Another option would be FastAGI to your windows server. You write an app for the windows box that interacts with the AT&T application and then pipe the audio back to your asterisk box somehow. First thought is app_bridge or meetme. Thanks, Steve T -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100417/b87bbccf/attachment.htm
On Fri, Apr 16, 2010 at 5:58 PM, Edwin Quijada <listas_quijada at hotmail.com>wrote:> > > > Why don?t you use sox to transform the windows audio file into the > asterisk format ? I do this with pretty good results. > > > I did. But my problem is not conversion my problem is that I dont know how > play the file from windows server or copy this to asterisk without my AGI > continue and desyncronyze it. > > Can you explain me exactly what did you do /? > > Do you have something like this using AGI ? > > I use sox with good results too in windows. The problem is when create the > file and convert it , how send to asterisk > > > Edwin Jaws > > >If you just need to transfer a file to a linux box, there are plenty of ways. FTP, SFTP, TFTP, Samba..... Thanks, Steve T -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100417/0a352422/attachment.htm
I did using FTP. This is the problem and the solution that I did but doesnt work 1-When the call in to asterisk I play one prompt if this prompt doesnt exist I create it2-In windows I have a program listen on a port waiting for request from asterisk 3- I sent by this socket the text and name for the file4- In windows server create the file and convert to 8khz using sox5- From windows try to copy this file to asterisk using FTP protocol 6- There is no syncronize between AGI script and copy to FTP 7- I did a loop to wait for copy of file to my sound directory but it never happenned because it couldnt create the file 8- if I put off the loop while (!existfile) { } so it can create the file in windows I really dont know why this behaviour My plan was so simple A server waiting request for asterisk and the copy this file to asterisk to play itbut doesnt work, for this reason i am trying to do everything using FastAgi in a windows server. *-------------------------------------------------------* *-Edwin Quijada *-Developer DataBase *-JQ Microsistemas *-Soporte PostgreSQL *-www.jqmicrosistemas.com *-809-849-8087 *-------------------------------------------------------* Date: Sat, 17 Apr 2010 13:23:22 -0400 From: stotaro at first-notification.com To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] AGI, FASTAGI or Windows Voice Server On Fri, Apr 16, 2010 at 5:58 PM, Edwin Quijada <listas_quijada at hotmail.com> wrote: Why don?t you use sox to transform the windows audio file into the asterisk format ? I do this with pretty good results. I did. But my problem is not conversion my problem is that I dont know how play the file from windows server or copy this to asterisk without my AGI continue and desyncronyze it. Can you explain me exactly what did you do /? Do you have something like this using AGI ? I use sox with good results too in windows. The problem is when create the file and convert it , how send to asterisk Edwin Jaws If you just need to transfer a file to a linux box, there are plenty of ways. FTP, SFTP, TFTP, Samba..... Thanks, Steve T _________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100417/326fa441/attachment.htm
Just a shot in the dark, have you tried ExternalIVR? It was originally developed for Unwired Buyer (Ebay), I believe Digium and Unwired Buyer teamed up on this one. This option NO. Another option would be FastAGI to your windows server. You write an app for the windows box that interacts with the AT&T application and then pipe the audio back to your asterisk box somehow. First thought is app_bridge or meetme. This is the idea just I dont know how to do. You can give any direction to start first. I am looking for information about app_bridge*-------------------------------------------------------* *-Edwin Quijada *-Developer DataBase king *-JQ Microsistemas *-Soporte PostgreSQL*-www.jqmicrosistemas.com*-809-849-8087*-------------------------------------------------------* _________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100417/3befe4ac/attachment.htm
FastAGI will do everything you need. You just need to code the Windows AGI. BTW, #6 is incorrect if you code your AGI properly.... On Sat, Apr 17, 2010 at 1:43 PM, Edwin Quijada <listas_quijada at hotmail.com>wrote:> I did using FTP. This is the problem and the solution that I did but > doesnt work > > 1-When the call in to asterisk I play one prompt if this prompt doesnt > exist I create it > 2-In windows I have a program listen on a port waiting for request from > asterisk > 3- I sent by this socket the text and name for the file > 4- In windows server create the file and convert to 8khz using sox > 5- From windows try to copy this file to asterisk using FTP protocol > 6- There is no syncronize between AGI script and copy to FTP > 7- I did a loop to wait for copy of file to my sound directory but it never > happenned because it couldnt create the file > 8- if I put off the loop while (!existfile) { } so it can create the file > in windows I really dont know why this behaviour > > My plan was so simple > A server waiting request for asterisk and the copy this file to asterisk to > play it > but doesnt work, for this reason i am trying to do everything using FastAgi > in a windows server. > > *-------------------------------------------------------* > *-Edwin Quijada > *-Developer DataBase > *-JQ Microsistemas > *-Soporte PostgreSQL > *-www.jqmicrosistemas.com > *-809-849-8087 > *-------------------------------------------------------* > > > > > > ------------------------------ > Date: Sat, 17 Apr 2010 13:23:22 -0400 > From: stotaro at first-notification.com > To: asterisk-users at lists.digium.com > Subject: Re: [asterisk-users] AGI, FASTAGI or Windows Voice Server > > > > > On Fri, Apr 16, 2010 at 5:58 PM, Edwin Quijada <listas_quijada at hotmail.com > > wrote: > > > > > Why don?t you use sox to transform the windows audio file into the > asterisk format ? I do this with pretty good results. > > I did. But my problem is not conversion my problem is that I dont know how > play the file from windows server or copy this to asterisk without my AGI > continue and desyncronyze it. > > Can you explain me exactly what did you do /? > > Do you have something like this using AGI ? > > I use sox with good results too in windows. The problem is when create the > file and convert it , how send to asterisk > > > Edwin Jaws > > > > If you just need to transfer a file to a linux box, there are plenty of > ways. FTP, SFTP, TFTP, Samba..... > > Thanks, > Steve T > > ------------------------------ > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > 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/20100417/aadb7442/attachment.htm