[asterisk-users] AGI, FASTAGI or Windows Voice Server

Steve Totaro stotaro at first-notification.com
Sat Apr 17 17:26:39 CDT 2010


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 


More information about the asterisk-users mailing list