[asterisk-users] PBX Extension Help

Alex Balashov abalashov at evaristesys.com
Fri Jan 1 12:12:54 CST 2010


Fact.

On 01/01/2010 01:06 PM, Warren Selby wrote:

> 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
> <mailto: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
>     <mailto: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
>
>
>
> _______________________________________________
> -- 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


-- 
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671



More information about the asterisk-users mailing list