Hi, Has anyone done any AGI scripting in pascal. I would appreciate help anyone can offer. My understandin on AGI scripting is very flaky, I am assuming whatever language is used the application needs to be compile and made executable. So if I write a script in pascal, I would compile it with something like freepascal and make it executable. Thanks Umar Sear
Hi Il gio, 2004-05-27 alle 23:32, usedcanon ha scritto:> Hi, > Has anyone done any AGI scripting in pascal. I would appreciate help anyone > can offer. My understandin on AGI scripting is very flaky, I am assuming > whatever language is used the application needs to be compile and made > executable.wrong wrong wrong AGI is just an external application, written in whatever language you want. if the language needs to be compiled like C, pascal, whatever... yes, must be compiled to make it work. but you are free to use scripting languages that doesn't need to be compiled... like php,perl,bash scripting,ruby, whatever.... AGI speaks with the app with stdout/stdin/stderr ... so anything that supports this IO can be used :) Matteo -- Brancaleoni Matteo <mbrancaleoni@espia.it> Espia - Emmegi Srl
I seem to have gotten asterisk installed and running w/ the sample configs, I have a TDM-400P (w/ 4 FXO modules). Im using fedora FC2. As part of testing/learning I set up Kphone on the same box. Tweeked the sip.conf (per instructions on wicki), and it looks like it connected just fine. However, when I try dialing 1000 I get the following error message: "Close any program which might be using soundcard and then retry dial". /dev/dsp exists, so does /dev/sound. I think the soundcard is properly configured (it works w/ other audio programs). I'm running asterisk and kphone as root. "Thanks" to all the pros out there willing to help us newbies. -mike
On Thursday 27 May 2004 18:09, Mike Stupak wrote:> I seem to have gotten asterisk installed and running w/ the sample configs, > I have a TDM-400P (w/ 4 FXO modules). Im using fedora FC2. > > As part of testing/learning I set up Kphone on the same box. Tweeked the > sip.conf (per instructions on wicki), and it looks like it connected just > fine. However, when I try dialing 1000 I get the following error message: > > "Close any program which might be using soundcard and then retry dial". >With default extensions.conf [globals] CONSOLE=Console/dsp ; Console interface for demo asterisk has the sound card.> /dev/dsp exists, so does /dev/sound. I think the soundcard is properly
On 27/05/2004 at 22:32 usedcanon wrote:>Hi, >Has anyone done any AGI scripting in pascal. I would appreciate help anyone >can offer. My understandin on AGI scripting is very flaky, I am assuming >whatever language is used the application needs to be compile and made >executable. So if I write a script in pascal, I would compile it with >something like freepascal and make it executable. > >Thanks > >Umar SearIf you are still interested, I've done an FPC unit for AGI... it's freely available,... Andy