[Asterisk-Users] Help on AGI running

Moises Silva moises.silva at gmail.com
Thu Aug 18 07:26:29 MST 2005


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