[Asterisk-Users] Help on AGI running

someshwarak someshwarak at tataelxsi.co.in
Fri Aug 19 01:46:59 MST 2005


oops, got it. Thanks for the info.

thanks
Somesh

-----Original Message-----
From: Moises Silva [mailto:moises.silva at gmail.com]
Sent: Thursday, August 18, 2005 7:56 PM
To: someshwarak at tataelxsi.co.in; Asterisk Users Mailing List -
Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Help on AGI running


i guess you are trying to run a non compiled C program, you have to
compile it first.

# gcc sample.c -o sample

then from asterisk run the executable 'sample' without the extension '.c'

best regards

On 8/18/05, someshwarak <someshwarak at tataelxsi.co.in> wrote:
>
>
> I am running AGI script written in C. My script gets triggered but there
is
> no action. I have taken the samplec file  from
> http://home.cogeco.ca/~camstuff/agi.html.
>
> it says launched AGI script
> /var/lib/asterisk/agi-bin/sample.c exec format error . Did
> I miss anything?
>
>  I am running asterisk1.0.7
>
> can anyone please help me on these.
>
> thanks,
> Somesh
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>


--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"




More information about the asterisk-users mailing list