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
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 /
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
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
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 ?
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.