[Asterisk-Users] ANNOUNCEMENT : A2Billing - AreskiCC V3 new release

Areski K kikihack at gmail.com
Fri Oct 28 12:35:17 MST 2005


I had to change the first line to make it works properly
#/usr/bin/php -q
by
#!/usr/local/bin/php -q

There was 2 php versions install on your server and the version 4.3
/usr/bin/php wasnt loading  the mysql module automatically (see
php.ini extension)

[root at ippbx agi-bin]# /usr/local/bin/php -v
PHP 5.0.4 (cli) (built: Jun 28 2005 09:30:37)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
[root at ippbx agi-bin]# /usr/bin/php -v
PHP 4.3.4 (cgi) (built: Apr  7 2004 09:43:47)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologie


You can enjoy :P
/Areski

On 10/27/05, Rafael R. GV <rafael.risco at gmail.com> wrote:
> Hi
>  I´ve just installed a2billing using PHP Version 5.0.4, MySQL version 4.1.12
> and Asterisk CVS-v1-0-06/27/05, verified database installation and can see
> webpage,  login, create cards, etc, but I cant hear anything when I call the
> extension:
>
>  extension.conf
>  ; use 6608600 as access number to enter the calling card system
>  exten => 6608600,1,Answer
>  exten => 6608600,2,Wait,2
>  exten => 6608600,3,DeadAGI(a2billing.php|1)
>  exten => 6608600,4,Wait,2
>  exten => 6608600,5,Hangup
>
>  DEBUG::  (level2 in a2billing.conf)
>
>  *CLI>
>  *CLI>
>  *CLI>
>  *CLI>
>      -- Executing Answer("SIP/264-ce26", "") in new stack
>      -- Executing Wait("SIP/264-ce26", "2") in new stack
>      -- Executing DeadAGI("SIP/264-ce26", "a2billing.php|1") in new stack
>      -- Launched AGI Script
> /var/lib/asterisk/agi-bin/a2billing.php
>    a2billing.php|1: IDCONFIG : 1
>    a2billing.php|1:
>    a2billing.php|1: A2Billing AGI internal configuration:
>    a2billing.php|1: Array
>    a2billing.php|1: (
>    a2billing.php|1:     [debug] => 2
>    a2billing.php|1:     [logger_enable] => 1
>    a2billing.php|1:     [log_file] => /tmp/a2billing.log
>    a2billing.php|1:     [setlanguage_deprecate] => 1
>    a2billing.php|1:     [say_goodbye] =>
>    a2billing.php|1:     [play_menulanguage] =>
>    a2billing.php|1:     [force_language] => EN
>    a2billing.php|1:     [intro_prompt] =>
>    a2billing.php|1:     [len_cardnumber] => 10
>    a2billing.php|1:     [len_voucher] => 15
>    a2billing.php|1:     [min_credit_2call] => 0
>    a2billing.php|1:     [use_dnid] =>
>    a2billing.php|1:     [no_auth_dnid] => Array
>    a2billing.php|1:         (
>    a2billing.php|1:             [0] => 2400
>    a2billing.php|1:             [1] => 2300
>    a2billing.php|1:         )
>    a2billing.php|1:
>    a2billing.php|1:     [number_try] => 3
>    a2billing.php|1:     [say_balance_after_auth] => 1
>    a2billing.php|1:     [say_balance_after_call] =>
>    a2billing.php|1:     [say_timetocall] => 1
>    a2billing.php|1:     [cid_enable] => 1
>    a2billing.php|1:     [cid_askpincode_ifnot_callerid] => 1
>    a2billing.php|1:     [cid_auto_create_card] =>
>    a2billing.php|1:     [cid_auto_create_card_typepaid] => POSTPAY
>    a2billing.php|1:     [cid_auto_create_card_credit] => 0
>    a2billing.php|1:     [cid_auto_create_card_credit_limit]
> => 1000
>    a2billing.php|1:     [cid_auto_create_card_tariffgroup]
> => 6
>    a2billing.php|1:     [sip_iax_friends] =>
>    a2billing.php|1:     [sip_iax_pstn_direct_call_prefix]
> => 9
>    a2billing.php|1:     [sip_iax_pstn_direct_call] =>
>    a2billing.php|1:     [dialcommand_param] => |30|HL(%timeout%:61000:30000)
>    a2billing.php|1:     [dialcommand_param_sipiax_friend]
> => |30|HL(3600000:61000:30000)
>    a2billing.php|1:     [switchdialcommand] =>
>    a2billing.php|1:     [record_call] =>
>    a2billing.php|1:     [monitor_formatfile] => gsm
>    a2billing.php|1:     [base_currency] => usd
>    a2billing.php|1:     [agi_force_currency] =>
>    a2billing.php|1:     [currency_association] => Array
>    a2billing.php|1:         (
>    a2billing.php|1:             [0] => usd:prepaid-dollar
>    a2billing.php|1:             [1] => mxn:pesos
>    a2billing.php|1:             [2] => eur:euro
>    a2billing.php|1:             [3] => all:credit
>    a2billing.php|1:         )
>    a2billing.php|1:
>    a2billing.php|1:     [file_conf_enter_destination] => prepaid-enter-dest
>    a2billing.php|1:     [file_conf_enter_menulang] => prepaid-menulang2
>    a2billing.php|1:     [debugshell] => 0
>    a2billing.php|1:     [currency_association_internal] => Array
>    a2billing.php|1:         (
>    a2billing.php|1:             [usd] => prepaid-dollar
>    a2billing.php|1:             [mxn] => pesos
>    a2billing.php|1:             [eur] => euro
>    a2billing.php|1:             [all] => credit
>    a2billing.php|1:         )
>    a2billing.php|1:
>    a2billing.php|1: )
>    a2billing.php|1:
>    a2billing.php|1: AGI Request:
>    a2billing.php|1: Array
>    a2billing.php|1: (
>    a2billing.php|1:     [agi_request] => a2billing.php
>    a2billing.php|1:     [agi_channel] => SIP/264-ce26
>    a2billing.php|1:     [agi_language] => en
>    a2billing.php|1:     [agi_type] => SIP
>    a2billing.php|1:     [agi_uniqueid] => 1130449297.8
>    a2billing.php|1:     [agi_callerid] => Rafo
>    a2billing.php|1:     [agi_dnid] => 6608600
>    a2billing.php|1:     [agi_rdnis] => unknown
>    a2billing.php|1:     [agi_context] => internos
>    a2billing.php|1:     [agi_extension] => 6608600
>    a2billing.php|1:     [agi_priority] => 3
>    a2billing.php|1:     [agi_enhanced] => 0.0
>    a2billing.php|1:     [agi_accountcode] =>
>    a2billing.php|1: )
>    a2billing.php|1:
>    a2billing.php|1: 264 ; SIP/264-ce26 ; 1130449297.8 ;  ; 6608600
>      -- AGI Script a2billing.php completed, returning 0
>      -- Executing Wait("SIP/264-ce26", "2") in new stack
>      -- Executing Hangup("SIP/264-ce26", "") in new stack
>    == Spawn extension (internos, 6608600, 5) exited non-zero on
> 'SIP/264-ce26'
>
>  *CLI>
>  *CLI>
>
>
>  what I am doing wrong?
>
>  thanks
>  rafael
>
>
>
>  ,
>
>
> On 10/26/05, Areski K <kikihack at gmail.com > wrote:
> >
> > Dear Friends,
> >
> >
> > Great day for the callingcard-lovers !!!
> > I am pleased to release the version 3.0 of AreskiCC !!!
> > http://www.areski.net/a2billing/
> > http://www.voip-info.org/wiki/view/A2Billing
> >
> >
> > Little unexpected change, we got a new name... bit more serious
> "A2Billing"
> > Many many features have been added, lot bugs solved and a bunch of good
> > enhancements made!
> >
> >
> > The key newest features :
> >         - Full MYSQL support
> >         - USE PHP-AGI LIB 2.14
> >         - CALLERID SUPPORT AUTHENTICATION
> >         - MUSICONHOLD CUSTOMIZATION BY DIALPREFIX
> >         - UPLOADING TOOLS TO CONFIGURE MUSICONHOLD
> >         - INVOICES PDF / HTML
> >         - ADD NET REPORTING FROM ASTERISK-STAT
> >                 # calls compare
> >                 # monthly traffic
> >                 # daily load
> >         - DEFAULT DIALING FOR RATECARD
> >         - FAILOVER TRUNK DEFINITION
> >         - FASTER RATECARD CREATION (range, interval)
> >         - MONITOR CALLS & LISTEN BY SIMPLE CLICK TO THE CALL
> >         - REDIAL FEATURE
> >         - Register_global = Off :D
> >         - Recurring service : Apply batch process of certain card.
> >         - MENU CHOOSE THE LANGUAGE
> >         - CONFIGURATION /etc/asterisk/a2billing.conf
> >         - SUPPORT SEVERAL CONFIGURATION DeadAGI(a2billing.php|%idconfig%)
> >         - SEVERAL EXPIRATION CARD MODE
> >         - VOUCHER SUPPORT
> >         - DNID BILLING RULES SUPPORT (CHOOSE A PREFERENTIAL RATECARD
> > ACCORDING TO THE DNID)
> >         - FULL CURRENCIES SUPPORT MANAGEMENT - USE WWW.OANDA.COM FOR
> > CURRENCIES VALUE/LIST
> >         - and more...
> >
> >
> >
> > Other good thing, we have an handbook :D It's covering mainly
> > installation for the moment
> > but I will complete the part for the user guideline pretty soon.
> > Any help (documenting, dev...) would be greatly appreciated, so if
> > someone is willing
> > to help, please contact me  !!!
> >
> >
> > I am sure you will enjoy this new version!
> > Have fun and don't forget to send me some feedback,
> > /Areski
> >
> > - A2Billing (Asterisk to Billing)
> > http://www.areski.net/a2billing/
> >
> >
> >
> > --
> > --
> >     ~     - Belaid Arezqui ( areski at gmail.com )
> >    'v'    - Cell Phone. : (+34) 650 78 43 55  (Spain, GMT+1hr)
> >   // \\
> > /(   )\  - RACCOON TRAINER
> >   ^`~'^   - http://www.areski.net
> > _______________________________________________
> > -- To support A2Billing - paypal account : info at areski.net
> > _______________________________________________
> > --Bandwidth and Colocation sponsored by Easynews.com --
> >
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> >
> http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >
> http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
>
> --
>
> rrgv
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>



More information about the asterisk-users mailing list