Hello list, what is the correct syntax ? exten => s,n,Queue(${queuename},,,,${timeout},cleanpickup.agi^${CHANNEL}) [Sep 13 10:23:58] WARNING[23551]: res_agi.c:886 launch_script: Failed to execute '/var/lib/asterisk/agi-bin/cleanpickup.agi^SIP/329909007906-0000017a': File does not exist. Kind regards, Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100913/0b9e9051/attachment.htm
Hello, can anyone please tell me how I can give arguments to my AGI script ?! I think asterisk sees the name of the AGI + the channel as one filename, and of course this file then does not exist. Jonas. On 09/13/2010 10:26 AM, Jonas Kellens wrote:> Hello list, > > what is the correct syntax ? > > > exten => s,n,Queue(${queuename},,,,${timeout},cleanpickup.agi^${CHANNEL}) > > > [Sep 13 10:23:58] WARNING[23551]: res_agi.c:886 launch_script: Failed > to execute > '/var/lib/asterisk/agi-bin/cleanpickup.agi^SIP/329909007906-0000017a': > File does not exist. > > > > Kind regards, > > Jonas.-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100913/fc67e644/attachment.htm
On Mon, 2010-09-13 at 17:48 +0200, Jonas Kellens wrote:> Hello, > > can anyone please tell me how I can give arguments to my AGI script ?! > > I think asterisk sees the name of the AGI + the channel as one > filename, and of course this file then does not exist. > >In Asterisk 1.4 you use the | (pipe) and in 1.6 you use a , (coma). So: runme.agi|parameter or runme.agi,parameter -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20100913/fa823060/attachment.pgp