Hi All, I'm trying to execute an external AGI script but get just the following: -- Executing AGI("SIP/xlite-2fa7", "agi-test") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-test -- AGI Script agi-test completed, returning 0 For whatever reason, it looks like the AGI script is just exiting without feeding the correct commands into Asterisk. I can execute the script just fine from a shell. Asterisk is running as root, and all users have +rx permissions to the script and can execute it just fine, anyways. This is the sample AGI script included with Asterisk, which I would think should work. I also tried another AGI script built with Asterisk::AGI, to no avail. Does anyone have any suggestions as to going about debugging this? -- _ __ __ ___ _| | William R. Lorenz <wrl@express.org> \ V V / '_| | http://www.ohiolinux.org/ ; Free conference and event hosting \./\./|_| |_| Linux and OSS-related topics. October 2, 2004 - Columbus, OH.
Hi All, Got this figured out -- apparently the AGI call also expects a filename extension and doesn't automagically append the .agi. Silly me. Sorry to bother you guys with the triviality! On Mon, 16 Aug 2004, William R. Lorenz wrote:> I'm trying to execute an external AGI script but get just the following:> -- Executing AGI("SIP/xlite-2fa7", "agi-test") in new stack > -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-test > -- AGI Script agi-test completed, returning 0[...] -- _ __ __ ___ _| | William R. Lorenz <wrl@express.org> \ V V / '_| | http://www.ohiolinux.org/ ; Free conference and event hosting \./\./|_| |_| Linux and OSS-related topics. October 2, 2004 - Columbus, OH.
What does your dialplan look like ? I have scripts running on various versions of asterisk upto the latest checked out this morning and have seen no problems so far. Umar -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of William R. Lorenz Sent: 16 August 2004 18:44 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] 1.0 RC2 External AGI Issues Hi All, I'm trying to execute an external AGI script but get just the following: -- Executing AGI("SIP/xlite-2fa7", "agi-test") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-test -- AGI Script agi-test completed, returning 0 For whatever reason, it looks like the AGI script is just exiting without feeding the correct commands into Asterisk. I can execute the script just fine from a shell. Asterisk is running as root, and all users have +rx permissions to the script and can execute it just fine, anyways. This is the sample AGI script included with Asterisk, which I would think should work. I also tried another AGI script built with Asterisk::AGI, to no avail. Does anyone have any suggestions as to going about debugging this? -- _ __ __ ___ _| | William R. Lorenz <wrl@express.org> \ V V / '_| | http://www.ohiolinux.org/ ; Free conference and event hosting \./\./|_| |_| Linux and OSS-related topics. October 2, 2004 - Columbus, OH. _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
Seemingly Similar Threads
- PSTN Access Providers for Asterisk
- Really Funky Samba Errors (smbd/nttrans.c:call_nt_transact_ioctl)
- Peer Review - Linuxfest Presentation Outline
- Samba 3.0.14a problem: not able to see all files in a directory
- My Windows RAS won't authenticate against Samba PDC; do I need radius