Caros, I installed the A2Billing - v1.2.2 with Asterisk 1.2.10. All works ok, but when I try callout got a message saying the number in not available. Can you help with a step-by-step to make a card autenticate and dial a number? Thank you Luc Moreira Mais VoIP -- Accepting AUTHENTICATED call from 192.168.0.103: > requested format = gsm, > requested prefs = (), > actual format = gsm, > host prefs = (gsm), > priority = mine -- Executing Answer("IAX2/1003-7", "") in new stack -- Executing Wait("IAX2/1003-7", "2") in new stack -- Executing DeadAGI("IAX2/1003-7", "a2billing.php") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php a2billing.php: line:58 - IDCONFIG : 1 a2billing.php: a2billing.php: line:67 - MODE : standard a2billing.php: a2billing.php: A2Billing AGI internal configuration: a2billing.php: Array a2billing.php: ( a2billing.php: [debug] => 1 a2billing.php: [answer_call] => 1 a2billing.php: [logger_enable] => 1 a2billing.php: [log_file] => /tmp/a2billing.log a2billing.php: [say_goodbye] => a2billing.php: [play_menulanguage] => a2billing.php: [force_language] => EN a2billing.php: [intro_prompt] => a2billing.php: [len_cardnumber] => 10 a2billing.php: [len_aliasnumber] => 15 a2billing.php: [len_voucher] => 15 a2billing.php: [min_credit_2call] => 0 a2billing.php: [min_duration_2bill] => 0 a2billing.php: [notenoughcredit_cardnumber] => 1 a2billing.php: [notenoughcredit_assign_newcardnumber_cid] => 1 a2billing.php: [use_dnid] => a2billing.php: [no_auth_dnid] => Array a2billing.php: ( a2billing.php: [0] => 2400 a2billing.php: [1] => 2300 a2billing.php: ) a2billing.php: a2billing.php: [number_try] => 3 a2billing.php: [say_balance_after_auth] => a2billing.php: [say_balance_after_call] => a2billing.php: [say_rateinitial] => a2billing.php: [say_timetocall] => 1 a2billing.php: [auto_setcallerid] => 1 a2billing.php: [force_callerid] => a2billing.php: [cid_sanitize] => a2billing.php: [cid_enable] => 1 a2billing.php: [cid_askpincode_ifnot_callerid] => 1 a2billing.php: [cid_auto_create_card] => 1 a2billing.php: [cid_auto_assign_card_to_cid] => 1 a2billing.php: [cid_auto_create_card_typepaid] => POSTPAY a2billing.php: [cid_auto_create_card_credit] => 5 a2billing.php: [cid_auto_create_card_credit_limit] => 1000 a2billing.php: [cid_auto_create_card_tariffgroup] => 6 a2billing.php: [callerid_authentication_over_cardnumber] => 1 a2billing.php: [sip_iax_friends] => 1 a2billing.php: [sip_iax_pstn_direct_call_prefix] => 9 a2billing.php: [sip_iax_pstn_direct_call] => 1 a2billing.php: [extracharge_did] => Array a2billing.php: ( a2billing.php: [0] => 091XXXXXXXX a2billing.php: ) a2billing.php: a2billing.php: [extracharge_fee] => Array a2billing.php: ( a2billing.php: [0] => 0.25 a2billing.php: [1] => 0.5 a2billing.php: ) a2billing.php: a2billing.php: [dialcommand_param] => |30|HL(%timeout%:61000:30000) a2billing.php: [dialcommand_param_sipiax_friend] => |30|HL(3600000:61000:30000) a2billing.php: [switchdialcommand] => 1 a2billing.php: [maxtime_tocall_negatif_free_route] => 5400 a2billing.php: [send_reminder] => a2billing.php: [record_call] => a2billing.php: [monitor_formatfile] => gsm a2billing.php: [base_currency] => usd a2billing.php: [agi_force_currency] => a2billing.php: [currency_association] => Array a2billing.php: ( a2billing.php: [0] => usd:prepaid-dollar a2billing.php: [1] => mxn:pesos a2billing.php: [2] => eur:euro a2billing.php: [3] => all:credit a2billing.php: ) a2billing.php: a2billing.php: [file_conf_enter_destination] => prepaid-enter-dest a2billing.php: [file_conf_enter_menulang] => prepaid-menulang2 a2billing.php: [currency_association_internal] => Array a2billing.php: ( a2billing.php: [usd] => prepaid-dollar a2billing.php: [mxn] => pesos a2billing.php: [eur] => euro a2billing.php: [all] => credit a2billing.php: ) a2billing.php: a2billing.php: ) a2billing.php: a2billing.php: AGI Request: a2billing.php: Array a2billing.php: ( a2billing.php: [agi_request] => a2billing.php a2billing.php: [agi_channel] => IAX2/1003-7 a2billing.php: [agi_language] => en a2billing.php: [agi_type] => IAX2 a2billing.php: [agi_uniqueid] => 1154482698.196 a2billing.php: [agi_callerid] => 1003 a2billing.php: [agi_calleridname] => Luc - Logic Telecom a2billing.php: [agi_callingpres] => 1 a2billing.php: [agi_callingani2] => 0 a2billing.php: [agi_callington] => 0 a2billing.php: [agi_callingtns] => 0 a2billing.php: [agi_dnid] => 0800 a2billing.php: [agi_rdnis] => unknown a2billing.php: [agi_context] => FORTALEZA_IN_IAX a2billing.php: [agi_extension] => 0800 a2billing.php: [agi_priority] => 3 a2billing.php: [agi_enhanced] => 0.0 a2billing.php: [agi_accountcode] => a2billing.php: ) a2billing.php: a2billing.php: line:488 get_agi_request_parameter = 1003 ; IAX2/1003-7 ; 1154482698.196 ; ; 0800 a2billing.php: line:461FORCE LANGUAGE : EN a2billing.php: line:138 - [ANSWER CALL] a2billing.php: line:1278 - [CID_ENABLE - CID_CONTROL - CID:1003] a2billing.php: line:1294 - SELECT cc_callerid.cid, cc_callerid.id_cc_card, cc_callerid.activated, cc_card.credit, cc_card.tariff, cc_card.activated, cc_card.inuse, cc_card.simultaccess, cc_card.typepaid, cc_card.creditlimit, cc_card.language, cc_card.username, removeinterprefix, cc_card.redial, enableexpire, date_part('epoch',expirationdate), expiredays, nbused, date_part('epoch',firstusedate), date_part('epoch',cc_card.creationdate), cc_card.currency, cc_card.lastname, cc_card.firstname, cc_card.email, cc_card.uipass, cc_card.id_campaign, cc_card.id FROM cc_callerid LEFT JOIN cc_card ON cc_callerid.id_cc_card=cc_card.id LEFT JOIN cc_tariffgroup ON cc_card.tariff=cc_tariffgroup.id WHERE cc_callerid.cid='1003' a2billing.php: line:1297 - Array a2billing.php: [REQUESTED SetCallerID : 1003] a2billing.php: [EXEC SetCallerID : 1003] a2billing.php: line:517 - UPDATE cc_card SET inuse=inuse+1 WHERE username='5458123447' a2billing.php: line:166 - [CHANNEL STATUS : 6 = Line is up] a2billing.php: line:170 - [CREDIT STATUS : 5.0000] a2billing.php: line:171 - [CREDIT MIN_CREDIT_2CALL : 0] Aug 1 22:38:23 WARNING[3159]: file.c:512 ast_openstream_full: File 4000 does not exist in any format Aug 1 22:38:23 WARNING[3159]: file.c:824 ast_streamfile: Unable to open 4000 (format gsm): No such file or directory a2billing.php: line:238 - RES sip_iax_pstndirect_call DTMF : -1 a2billing.php: line:252 - TRUNK - dnid : -1 (1) a2billing.php: line:542 - 1 && && 2&& 0 -- Playing 'prepaid-enter-dest' (language 'en') Aug 1 22:38:25 NOTICE[5955]: chan_iax2.c:7500 socket_read: Registration of 'ServerSefa' rejected: 'Registration Refused' from: '200.245.188.25' Aug 1 22:38:27 NOTICE[5955]: chan_iax2.c:5132 register_verify: Peer 'ServerSefa' is not dynamic (from 200.245.188.25) a2billing.php: line:549 - RES DTMF : a2billing.php: line:569 - DESTINATION ::> a2billing.php: line:571 - APPLY_RULES DESTINATION ::> a2billing.php: line:166 - [CHANNEL STATUS : 6 = Line is up] a2billing.php: line:170 - [CREDIT STATUS : 5.0000] a2billing.php: line:171 - [CREDIT MIN_CREDIT_2CALL : 0] Aug 1 22:38:34 WARNING[3159]: file.c:512 ast_openstream_full: File 4000 does not exist in any format Aug 1 22:38:34 WARNING[3159]: file.c:824 ast_streamfile: Unable to open 4000 (format gsm): No such file or directory a2billing.php: line:238 - RES sip_iax_pstndirect_call DTMF : -1 a2billing.php: line:252 - TRUNK - dnid : -1 (1) a2billing.php: line:542 - 1 && && 2&& 1 -- Playing 'prepaid-enter-dest' (language 'en') a2billing.php: line:549 - RES DTMF : -1 a2billing.php: line:569 - DESTINATION ::> -1 a2billing.php: line:571 - APPLY_RULES DESTINATION ::> -1 Aug 1 22:38:36 WARNING[3159]: file.c:587 ast_readaudio_callback: Failed to write frame == Spawn extension (FORTALEZA_IN_IAX, 0800, 3) exited non-zero on 'IAX2/1003-7' -- Hungup 'IAX2/1003-7'