Re: [asterisk-users] Correct queue agi syntax in 1.6.2.11

2010-09-13 Thread Jonas Kellens
No that is not the problem, nor was it the question. I found the solution. Apparently you need to place the AGI-script and its arguments between " ", but the arguments still need to be separated by a comma. Example : exten => s,n,Queue(queuename,"myscript.agi,arg1,arg2") If anyone wan

Re: [asterisk-users] Correct queue agi syntax in 1.6.2.11

2010-09-13 Thread Roger Burton West
On Mon, Sep 13, 2010 at 08:15:34PM +0200, Jonas Kellens wrote: > [Sep 13 20:14:59] -- Launched AGI Script > /var/lib/asterisk/agi-bin/cleanpickup.agi > [Sep 13 20:14:59] opruimenpickup.agi: Failed to execute > '/var/lib/asterisk/agi-bin/cleanpickup.agi': Permission denied So check that /

Re: [asterisk-users] Correct queue agi syntax in 1.6.2.11

2010-09-13 Thread Jonas Kellens
On 09/13/2010 06:01 PM, Carlos Chavez wrote: 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

Re: [asterisk-users] Correct queue agi syntax in 1.6.2.11

2010-09-13 Thread Carlos Chavez
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

Re: [asterisk-users] Correct queue agi syntax in 1.6.2.11

2010-09-13 Thread Jonas Kellens
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 ?

[asterisk-users] Correct queue agi syntax in 1.6.2.11

2010-09-13 Thread Jonas Kellens
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-017a': File does not exist.