[Asterisk-Users] Can't run AGI for outbound call

Stefan Reuter asterisk at stefan.de
Mon Feb 14 17:26:40 MST 2005


On Tue, 2005-02-15 at 00:07 +0000, Ívar Ragnarsson wrote:
> The problem is Asterisk does not seem to know the AGI application.  I
> create a file test.call and place it in the outbound spool directory:
> 
> the test.call file looks like this: 
>         #Simple test call script. 
>         #call my NetMeeting client 
>         Channel: h323/ivar at 192.168.0.153 
>         MaxRetries: 2 
>         RetryTime: 60 
>         WaitTime: 30 
>         Application: AGI(agi-test.agi) 
>         Data: 1234
[SNIP]
>         Feb 14 23:53:25 WARNING[7958]: pbx.c:4164 ast_pbx_run_app: No
> such application 'AGI(agi-test.agi)' 

Asterisk is looking for an application called 'AGI(agi-test.agi)' and
that one obviously does not exist.
The Application property must only contain the name of the application,
i.e. AGI. Any parameters are given via the Data property.
What you probably want is:

Channel: h323/ivar at 192.168.0.153 
MaxRetries: 2 
RetryTime: 60 
WaitTime: 30 
Application: AGI 
Data: agi-test.agi

stefan





More information about the asterisk-users mailing list