Elastix 1.6-12 works fine. Then I configure A2billing on extension 225: In the beginning of /etc/asterisk/extensions_custom.conf I add under [from-internal-custom] ; begin a2billing exten => 225, 1, Answer exten => 225, 2, Wait, 2 exten => 225, 3, DeadAGI,a2billing.php exten => 225, 4, Wait, 2 exten => 225, Hangup ; end of a2billing I create calling plan, rate card, rate and trunks. I use SoftPhone to dial 225 via IVR. Eventually I would like to use outside phone to dial the PBX, provide pin, and dial another international number. 1) Create pin and use Rate Simulator to test. Got "Card Error!!!". I found that CC_entity_sim_ratecard.php has a bug in its SQL statement when it check the card number(pin): select * from cc_card where id=$id_cc_card this should really be select * from cc_card where username=$id_cc_card. 2) I move on to use the pin for dialing, a2billing/elastix prompts my balance and available miminutes and dial the given number, but prompt: The number you dialed is unavailable. Any one can give me help? I just cannot believe the latest Elsastix installation won't work with a2billing.