[Asterisk-Dev] help needed

Hoai-Anh Ngo-Vi Hoai-Anh.Ngo-Vi at mcn-tele.com
Mon Jul 25 07:34:33 MST 2005


Dear all

I am using Asterisk 1.0.7 on Debian Sarge with Kernel 2.6.8-2-686.

The Problem: I've written a C programm and placed it into /usr/share/asterisk/agi-bin, where the AGI scripts should be placed. Extension.conf edited as follows:
...
exten => 336, 4, AGI(a.out)

When dialing 336 I've got those messages from Asterisk:
...
    -- Executing AGI("SIP/hoaianh-09f2", "a.out") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/a.out
    -- AGI Script a.out completed, returning 0
...

But Asterisk didn't really launch that a.out programm (I didn't get any message via CLI> console, that programm would have put some messages into CLI> console via stderr if it ran correctly).

Any idea?

Thanks for help.




More information about the asterisk-dev mailing list