[asterisk-users] Correct queue agi syntax in 1.6.2.11
Jonas Kellens
jonas.kellens at telenet.be
Mon Sep 13 13:15:34 CDT 2010
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 exist.
>>
>>
>>
> In Asterisk 1.4 you use the | (pipe) and in 1.6 you use a , (coma).
> So:
>
> runme.agi|parameter
>
Result :
[Sep 13 20:10:27] WARNING[19929]: pbx.c:1344 pbx_exec: The application
delimiter is now the comma, not the pipe. Did you forget to convert
your dialplan? (AGI(cleanpickup.agi|SIP/329909007906-0000017a))
[Sep 13 20:10:27] WARNING[19929]: res_agi.c:886 launch_script: Failed to
execute
'/var/lib/asterisk/agi-bin/cleanpickup.agi|SIP/329909007906-0000017a':
File does not exist.
> or
>
> runme.agi,parameter
>
[Sep 13 20:14:59] WARNING[19965]: app_macro.c:302 _macro_exec: No such
context 'macro-SIP/329909007906-0000017a' for macro
'SIP/329909007906-0000017a'
[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
How can this work for you ?! Do you have an example ?!
Or Asterisk says it is not the correct delimiter, or it sees my argument
as a macro...
Some feedback please !
Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100913/e2992649/attachment.htm
More information about the asterisk-users
mailing list