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 <[EMAIL PROTECTED]> 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
> [email protected]
> 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";
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to