[asterisk-users] [*Win32 0.60] Sending call notification
bye-mail/web?
Cosmin Prund
cosmin.prund at adicomsoft.ro
Mon May 14 23:58:55 MST 2007
I'm using an FastAGI written in Delphi for my IVR so I can confirm it
works just fine. I wrote all the code from scratch and it wasn't a big
deal, but you can find sample code on Free Pascal sites (google will
help you).
Also I'd recommend turning your idea into an FastAGI. It will work with
both native (Linux) Asterisk and with the Win32 port, and it will
actually be easier to debug! You just start your FastAGI server exe,
place a brakepoint in the code, pick up your phone and dial your test
number. Asterisk has long-enough timeouts when talking to an FastAGI
application to make stepping through the code possible.
--
Cosmin Prund
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Nick
Seraphin
Sent: Tuesday, May 15, 2007 9:44 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] [*Win32 0.60] Sending call notification
bye-mail/web?
On Tue, 15 May 2007, Vincent Delporte wrote:
> Hello,
>
> In case there are other users of the AsteriskWin32 port...
>
> I haven't really used the AGI feature of Asterisk to run an
application
> from extensions.conf. *Win32 supports Perl, which I don't know.
Apparently,
> it's also possible to write AGI applications as EXE's (there's a
> eagi-test.exe file installed by default).
>
> => When a call comes in, I'd like an AGI application to send an e-mail
and
> send CID name/number to a script on a web server.
>
> Is this the correct way to do it in Perl, with the modules available
in
> AsteriskWin32? Could I rewrite this in Delphi instead?
ALL AGI scripts are basically just programs that read from stdin and
write
to stdout. They can therefore be written in almost any language. So
yes,
Delphi should work fine.
(I have very fond memories of Delphi, and before that, Borland Pascal w/
Objects for DOS, and before that, Turbo Pascal... one of these days
I'll
have to get the latest version of Delphi and take a walk down memory
lane.
These days everything is C this or Perl that. I loved Pascal. :-))
-- Nick
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list