When passing arguments to applications you must use parentheses.
Try:
exten => _X.,3,DeadAGI(a2billing.php)
You can omit parentheses when calling applications with no arguments,
e.g.
exten => s,1,Answer
... but not when there are parameters.
--
Sent from mobile device
On Jan 1, 2010, at 7:01 AM, Saeed Akhtar <saeedakhtar.484 at gmail.com>
wrote:
> hi all,
>
> I have a little problem. I'm trying to configure a2billing
> (asterisk2billing) with asterisk. Everything done successfully but
> when I try to call following error occur
> "WARNING[9690]: pbx.c:3170 pbx_extension_helper: No application
> 'DeadAGI,a2billing.php' for extension (a2billing, 456,3)
> and it hang ups the call. Can someone please tell me why this error
> occuring. My extension.conf script is as following.
>
> [a2billing]
> ; CallingCard application
> exten => _X.,1,Answer
> exten => _X.,2,Wait,2
> exten => _X.,3,DeadAGI,a2billing.php
> exten => _X.,4,Wait,2
> exten => _X.,5,Hangup
>
> [did]
> ; CallingCard application
> exten => _X.,1,DeadAGI(a2billing.php|1|did)
> while a2billing.php is places in <asterisk dir>/agi-bin/a2billing.php
>
>
> Regards,
>
> Saeed Akhtar
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20100101/e50dcb75/attachment.htm