[asterisk-users] PBX Extension Help

Warren Selby wcselby at selbytech.com
Fri Jan 1 12:06:56 CST 2010


Also, shouldn't the .php script be located in "/var/lib/asterisk/agi-bin"?

On Fri, Jan 1, 2010 at 7:31 AM, Alex Balashov <abalashov at evaristesys.com>wrote:

> 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>
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> -- 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
>



-- 
Thanks,
--Warren Selby
http://www.selbytech.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100101/58cc6cf8/attachment.htm 


More information about the asterisk-users mailing list