Hi Michael,
I got problem too, can not make outgoing call by SIP Technology or DAHDI Technology.
I found the problem at this Log :
a2billing.php,1: file:Class.A2Billing.php - line:1014 - uniqueid:1334593668.15 - ERROR ::> RateEngine didnt succeed to match the dialed number over the ratecard (Please check : id the ratecard is well create ; if the removeInter_Prefix is set according to your prefix in the ratecard ; if you hooked the ratecard to the Call Plan)
[Ksophos*CLI>
[0K -- Playing 'prepaid-dest-unreachable' (escape_digits=#)
Here are Elastix and A2Billing Log :
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.04.16 23:27:39 =~=~=~=~=~=~=~=~=~=~=~=
sophos*CLI> sophos*CLI> sophos*CLI>
[0K == Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
[Ksophos*CLI>
[0K -- Executing [91007@from-internal:1] [1;36mMacro[0m("[1;35mSIP/101-00000007[0m", "[1;35muser-callerid,SKIPTTL,[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-user-callerid:1] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mAMPUSER=101[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-user-callerid:2] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?report[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-user-callerid:3] [1;36mExecIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?Set(REALCALLERIDNUM=101)[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-user-callerid:4] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mAMPUSER=101[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-user-callerid:5] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mAMPUSERCIDNAME=101[0m") in new stack
-- Executing [s@macro-user-callerid:6] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?report[0m") in new stack
-- Executing [s@macro-user-callerid:7] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mAMPUSERCID=101[0m") in new stack
-- Executing [s@macro-user-callerid:8] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mCALLERID(all)="101" <101>[0m") in new stack
-- Executing [s@macro-user-callerid:9] [1;36mExecIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?Set(CHANNEL(language)=)[0m") in new stack
-- Executing [s@macro-user-callerid:10] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?continue[0m") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mCALLERID(number)=101[0m") in new stack
-- Executing [s@macro-user-callerid:20] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mCALLERID(name)=101[0m") in new stack
-- Executing [s@macro-user-callerid:21] [1;36mNoOp[0m("[1;35mSIP/101-00000007[0m", "[1;35mUsing CallerID "101" <101>[0m") in new stack
-- Executing [91007@from-internal:2] [1;36mNoOp[0m("[1;35mSIP/101-00000007[0m", "[1;35mCalling Out Route: route-keluar[0m") in new stack
-- Executing [91007@from-internal:3] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mMOHCLASS=default[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [91007@from-internal:4] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35m_NODEST=[0m") in new stack
-- Executing [91007@from-internal:5] [1;36mMacro[0m("[1;35mSIP/101-00000007[0m", "[1;35mrecord-enable,101,OUT,[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-record-enable:1] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?check[0m") in new stack
[Ksophos*CLI>
[0K -- Goto (macro-record-enable,s,4)
[Ksophos*CLI>
[0K -- Executing [s@macro-record-enable:4] [1;36mExecIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?MacroExit()[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-record-enable:5] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?Group:OUT[0m") in new stack
[Ksophos*CLI>
[0K -- Goto (macro-record-enable,s,15)
[Ksophos*CLI>
[0K -- Executing [s@macro-record-enable:15] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?IN[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-record-enable:16] [1;36mExecIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?MacroExit()[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [91007@from-internal:6] [1;36mMacro[0m("[1;35mSIP/101-00000007[0m", "[1;35mdialout-trunk,3,1007,[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-dialout-trunk:1] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mDIAL_TRUNK=3[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-dialout-trunk:2] [1;36mGosubIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?sub-pincheck,s,1[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-dialout-trunk:3] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?disabletrunk,1[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-dialout-trunk:4] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mDIAL_NUMBER=1007[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-dialout-trunk:5] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mDIAL_TRUNK_OPTIONS=tr[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-dialout-trunk:6] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mOUTBOUND_GROUP=OUT_3[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-dialout-trunk:7] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?nomax[0m") in new stack
[Ksophos*CLI>
[0K -- Goto (macro-dialout-trunk,s,9)
[Ksophos*CLI>
[0K -- Executing [s@macro-dialout-trunk:9] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?skipoutcid[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-dialout-trunk:10] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mDIAL_TRUNK_OPTIONS=[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-dialout-trunk:11] [1;36mMacro[0m("[1;35mSIP/101-00000007[0m", "[1;35moutbound-callerid,3[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-outbound-callerid:1] [1;36mExecIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?Set(CALLERPRES()=)[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-outbound-callerid:2] [1;36mExecIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?Set(REALCALLERIDNUM=101)[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-outbound-callerid:3] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?normcid[0m") in new stack
[Ksophos*CLI>
[0K -- Goto (macro-outbound-callerid,s,6)
[Ksophos*CLI>
[0K -- Executing [s@macro-outbound-callerid:6] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mUSEROUTCID=[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-outbound-callerid:7] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mEMERGENCYCID=[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-outbound-callerid:8] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mTRUNKOUTCID=[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-outbound-callerid:9] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?trunkcid[0m") in new stack
[Ksophos*CLI>
[0K -- Goto (macro-outbound-callerid,s,12)
[Ksophos*CLI>
[0K -- Executing [s@macro-outbound-callerid:12] [1;36mExecIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?Set(CALLERID(all)=)[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-outbound-callerid:13] [1;36mExecIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?Set(CALLERID(all)=)[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-outbound-callerid:14] [1;36mExecIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?Set(CALLERID(all)=)[0m") in new stack
-- Executing [s@macro-outbound-callerid:15] [1;36mExecIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?Set(CALLERPRES()=prohib_passed_screen)[0m") in new stack
-- Executing [s@macro-dialout-trunk:12] [1;36mGosubIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?sub-flp-3,s,1[0m") in new stack
-- Executing [s@macro-dialout-trunk:13] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mOUTNUM=1007[0m") in new stack
-- Executing [s@macro-dialout-trunk:14] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mcustom=AMP[0m") in new stack
-- Executing [s@macro-dialout-trunk:15] [1;36mExecIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))[0m") in new stack
-- Executing [s@macro-dialout-trunk:16] [1;36mMacro[0m("[1;35mSIP/101-00000007[0m", "[1;35mdialout-trunk-predial-hook,[0m") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] [1;36mMacroExit[0m("[1;35mSIP/101-00000007[0m", "[1;35m[0m") in new stack
-- Executing [s@macro-dialout-trunk:17] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m0?bypass,1[0m") in new stack
-- Executing [s@macro-dialout-trunk:18] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?customtrunk[0m") in new stack
-- Goto (macro-dialout-trunk,s,22)
-- Executing [s@macro-dialout-trunk:22] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mpre_num=AMP:Local/[0m") in new stack
-- Executing [s@macro-dialout-trunk:23] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mthe_num=OUTNUM[0m") in new stack
-- Executing [s@macro-dialout-trunk:24] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mpost_num=@a2billing/n[0m") in new stack
[Ksophos*CLI>
[0K -- Executing [s@macro-dialout-trunk:25] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?outnum:skipoutnum[0m") in new stack
-- Goto (macro-dialout-trunk,s,26)
[Ksophos*CLI>
[0K -- Executing [s@macro-dialout-trunk:26] [1;36mSet[0m("[1;35mSIP/101-00000007[0m", "[1;35mthe_num=1007[0m") in new stack
-- Executing [s@macro-dialout-trunk:27] [1;36mDial[0m("[1;35mSIP/101-00000007[0m", "[1;35mLocal/1007@a2billing/n,300,[0m") in new stack
[Ksophos*CLI>
[0K -- Called Local/1007@a2billing/n
-- Executing [1007@a2billing:1] [1;36mDeadAGI[0m("[1;35mLocal/1007@a2billing-ab5b;2[0m", "[1;35ma2billing.php,1[0m") in new stack
[Ksophos*CLI>
[0K -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:601 - uniqueid: - A2Billing AGI internal configuration:
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:602 - uniqueid: - Array
[Ksophos*CLI>
[0K a2billing.php,1: (
[Ksophos*CLI>
[0K a2billing.php,1: [callerid_update] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [dialcommand_param_call_2did] => ,60,HiL(%timeout%:61000:30000)
[Ksophos*CLI>
[0K a2billing.php,1: [description] => agi-config
[Ksophos*CLI>
[0K a2billing.php,1: [asterisk_version] => 1_6
[Ksophos*CLI>
[0K a2billing.php,1: [answer_call] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [play_audio] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [say_goodbye] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [play_menulanguage] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [force_language] =>
[Ksophos*CLI>
[0K a2billing.php,1: [intro_prompt] =>
[Ksophos*CLI>
[0K a2billing.php,1: [min_credit_2call] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [min_duration_2bill] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [notenoughcredit_cardnumber] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [notenoughcredit_assign_newcardnumber_cid] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [use_dnid] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [no_auth_dnid] => Array
[Ksophos*CLI>
[0K a2billing.php,1: (
[Ksophos*CLI>
[0K a2billing.php,1: [0] => 2400
[Ksophos*CLI>
[0K a2billing.php,1: [1] => 2300
[Ksophos*CLI>
[0K a2billing.php,1: )
[Ksophos*CLI>
[0K a2billing.php,1:
[Ksophos*CLI>
[0K a2billing.php,1: [number_try] => 3
[Ksophos*CLI>
[0K a2billing.php,1: [force_callplan_id] =>
[Ksophos*CLI>
[0K a2billing.php,1: [say_balance_after_auth] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [say_balance_after_call] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [say_rateinitial] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [say_timetocall] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [auto_setcallerid] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [force_callerid] =>
[Ksophos*CLI>
[0K a2billing.php,1: [cid_sanitize] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [cid_enable] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [cid_askpincode_ifnot_callerid] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [failover_lc_prefix] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [cid_auto_assign_card_to_cid] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [callerid_authentication_over_cardnumber] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [sip_iax_friends] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [sip_iax_pstn_direct_call_prefix] => 555
[Ksophos*CLI>
[0K a2billing.php,1: [sip_iax_pstn_direct_call] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [ivr_voucher] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [ivr_voucher_prefix] => 8
[Ksophos*CLI>
[0K a2billing.php,1: [jump_voucher_if_min_credit] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [dialcommand_param] => ,60,HRrL(%timeout%:61000:30000)
[Ksophos*CLI>
[0K a2billing.php,1: [dialcommand_param_sipiax_friend] => ,60,HiL(3600000:61000:30000)
[Ksophos*CLI>
[0K a2billing.php,1: [switchdialcommand] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [failover_recursive_limit] => 2
[Ksophos*CLI>
[0K a2billing.php,1: [maxtime_tocall_negatif_free_route] => 5400
[Ksophos*CLI>
[0K a2billing.php,1: [send_reminder] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [record_call] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [monitor_formatfile] => gsm
[Ksophos*CLI>
[0K a2billing.php,1: [agi_force_currency] =>
[Ksophos*CLI>
[0K a2billing.php,1: [currency_association] => Array
[Ksophos*CLI>
[0K a2billing.php,1: (
[Ksophos*CLI>
[0K a2billing.php,1: [0] => usd:dollars
[Ksophos*CLI>
[0K a2billing.php,1: [1] => mxn

esos
[Ksophos*CLI>
[0K a2billing.php,1: [2] => eur:euros
[Ksophos*CLI>
[0K a2billing.php,1: [3] => all:credit
[Ksophos*CLI>
[0K a2billing.php,1: )
[Ksophos*CLI>
[0K a2billing.php,1:
[Ksophos*CLI>
[0K a2billing.php,1: [local_dialing_addcountryprefix] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [max_call_call_2_did] => 3600
[Ksophos*CLI>
[0K a2billing.php,1: [file_conf_enter_destination] => prepaid-enter-dest
[Ksophos*CLI>
[0K a2billing.php,1: [conf_order_menulang] => en:fr:es
[Ksophos*CLI>
[0K a2billing.php,1: [callback_bill_1stleg_ifcall_notconnected] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [international_prefixes] => Array
[Ksophos*CLI>
[0K a2billing.php,1: (
[Ksophos*CLI>
[0K a2billing.php,1: [0] => 011
[Ksophos*CLI>
[0K a2billing.php,1: [1] => 00
[Ksophos*CLI>
[0K a2billing.php,1: [2] => 09
[Ksophos*CLI>
[0K a2billing.php,1: [3] => 1
[Ksophos*CLI>
[0K a2billing.php,1: )
[Ksophos*CLI>
[0K a2billing.php,1:
[Ksophos*CLI>
[0K a2billing.php,1: [extracharge_did] => Array
[Ksophos*CLI>
[0K a2billing.php,1: (
[Ksophos*CLI>
[0K a2billing.php,1: [0] => 1800
[Ksophos*CLI>
[0K a2billing.php,1: [1] => 1900
[Ksophos*CLI>
[0K a2billing.php,1: )
[Ksophos*CLI>
[0K a2billing.php,1:
[Ksophos*CLI>
[0K a2billing.php,1: [extracharge_fee] => Array
[Ksophos*CLI>
[0K a2billing.php,1: (
[Ksophos*CLI>
[0K a2billing.php,1: [0] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [1] => 0
[Ksophos*CLI>
[0K a2billing.php,1: )
[Ksophos*CLI>
[0K a2billing.php,1:
[Ksophos*CLI>
[0K a2billing.php,1: [extracharge_buyfee] => Array
[Ksophos*CLI>
[0K a2billing.php,1: (
[Ksophos*CLI>
[0K a2billing.php,1: [0] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [1] => 0
[Ksophos*CLI>
[0K a2billing.php,1: )
[Ksophos*CLI>
[0K a2billing.php,1:
[Ksophos*CLI>
[0K a2billing.php,1: [maxtime_tounlimited_calls] => 5400
[Ksophos*CLI>
[0K a2billing.php,1: [maxtime_tofree_calls] => 5400
[Ksophos*CLI>
[0K a2billing.php,1: [callplan_deck_minute_threshold] =>
[Ksophos*CLI>
[0K a2billing.php,1: [disable_announcement_seconds] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [verbosity_level] => 4
[Ksophos*CLI>
[0K a2billing.php,1: [logging_level] => 4
[Ksophos*CLI>
[0K a2billing.php,1: [dial_balance_reservation] => 0.25
[Ksophos*CLI>
[0K a2billing.php,1: [cid_auto_create_card] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [cid_auto_create_card_len] => 10
[Ksophos*CLI>
[0K a2billing.php,1: [cid_auto_create_card_typepaid] => PREPAID
[Ksophos*CLI>
[0K a2billing.php,1: [cid_auto_create_card_credit] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [cid_auto_create_card_credit_limit] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [cid_auto_create_card_tariffgroup] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [busy_timeout] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [callback_reduce_balance] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [ivr_enable_locking_option] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [ivr_enable_account_information] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [ivr_enable_ivr_speeddial] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [play_rate_cents_if_lower_one] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [callback_beep_to_enter_destination] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [logger_enable] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [log_file] => /var/log/a2billing/a2billing.log
[Ksophos*CLI>
[0K a2billing.php,1: [dialcommand_param_call_2did ] => |30|HL(3600000:61000:30000)
[Ksophos*CLI>
[0K a2billing.php,1: [currency_association_internal] => Array
[Ksophos*CLI>
[0K a2billing.php,1: (
[Ksophos*CLI>
[0K a2billing.php,1: [usd] => dollars
[Ksophos*CLI>
[0K a2billing.php,1: [mxn] => pesos
[Ksophos*CLI>
[0K a2billing.php,1: [eur] => euros
[Ksophos*CLI>
[0K a2billing.php,1: [all] => credit
[Ksophos*CLI>
[0K a2billing.php,1: )
[Ksophos*CLI>
[0K a2billing.php,1:
[Ksophos*CLI>
[0K a2billing.php,1: [file_conf_enter_menulang] => prepaid-menulang
[Ksophos*CLI>
[0K a2billing.php,1: [ivr_voucher_prefixe] => 8
[Ksophos*CLI>
[0K a2billing.php,1: [cheat_on_announcement_time] => 0
[Ksophos*CLI>
[0K a2billing.php,1: )
[Ksophos*CLI>
[0K a2billing.php,1:
[Ksophos*CLI>
[0K a2billing.php,1: file:a2billing.php - line:106 - uniqueid: - IDCONFIG : 1
[Ksophos*CLI>
[0K a2billing.php,1: file:a2billing.php - line:107 - uniqueid: - MODE : standard
[Ksophos*CLI>
[0K a2billing.php,1: file:a2billing.php - line:124 - uniqueid: - AGI Request:
[Ksophos*CLI>
[0K a2billing.php,1: Array
[Ksophos*CLI>
[0K a2billing.php,1: (
[Ksophos*CLI>
[0K a2billing.php,1: [agi_request] => a2billing.php
[Ksophos*CLI>
[0K a2billing.php,1: [agi_channel] => Local/1007@a2billing-ab5b;2
[Ksophos*CLI>
[0K a2billing.php,1: [agi_language] => en
[Ksophos*CLI>
[0K a2billing.php,1: [agi_type] => Local
[Ksophos*CLI>
[0K a2billing.php,1: [agi_uniqueid] => 1334593668.15
[Ksophos*CLI>
[0K a2billing.php,1: [agi_version] => 1.8.7.0
[Ksophos*CLI>
[0K a2billing.php,1: [agi_callerid] => 101
[Ksophos*CLI>
[0K a2billing.php,1: [agi_calleridname] => 101
[Ksophos*CLI>
[0K a2billing.php,1: [agi_callingpres] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [agi_callingani2] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [agi_callington] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [agi_callingtns] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [agi_dnid] => unknown
[Ksophos*CLI>
[0K a2billing.php,1: [agi_rdnis] => unknown
[Ksophos*CLI>
[0K a2billing.php,1: [agi_context] => a2billing
[Ksophos*CLI>
[0K a2billing.php,1: [agi_extension] => 1007
[Ksophos*CLI>
[0K a2billing.php,1: [agi_priority] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [agi_enhanced] => 0.0
[Ksophos*CLI>
[0K a2billing.php,1: [agi_accountcode] =>
[Ksophos*CLI>
[0K a2billing.php,1: [agi_threadid] => -1224983664
[Ksophos*CLI>
[0K a2billing.php,1: [agi_arg_1] => 1
[Ksophos*CLI>
[0K a2billing.php,1: )
[Ksophos*CLI>
[0K a2billing.php,1:
[Ksophos*CLI>
[0K a2billing.php,1: file:a2billing.php - line:126 - uniqueid: - [INFO : A2Billing - Version 1.8.1 (Corylus)]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:715 - uniqueid:1334593668.15 - get_agi_request_parameter = 101 ; Local/1007@a2billing-ab5b;2 ; 1334593668.15 ; ; 1007
[Ksophos*CLI>
[0K a2billing.php,1: file:a2billing.php - line:162 - uniqueid:1334593668.15 - [ANSWER CALL]
[Ksophos*CLI>
[0K -- Local/1007@a2billing-ab5b;1 answered SIP/101-00000007
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:2591 - uniqueid:1334593668.15 - - Account code ::>
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:2773 - uniqueid:1334593668.15 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15
[Ksophos*CLI>
[0K -- <Local/1007@a2billing-ab5b;2> Playing 'prepaid-enter-pin-number.gsm' (language 'en')
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:2775 - uniqueid:1334593668.15 - RES DTMF : 2563785627
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:2779 - uniqueid:1334593668.15 - CARDNUMBER ::> 2563785627
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:2804 - uniqueid:1334593668.15 - Array
[Ksophos*CLI>
[0K a2billing.php,1: (
[Ksophos*CLI>
[0K a2billing.php,1: [0] => Array
[Ksophos*CLI>
[0K a2billing.php,1: (
[Ksophos*CLI>
[0K a2billing.php,1: [0] => 777777.00000
[Ksophos*CLI>
[0K a2billing.php,1: [credit] => 777777.00000
[Ksophos*CLI>
[0K a2billing.php,1: [1] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [tariff] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [2] => f
[Ksophos*CLI>
[0K a2billing.php,1: [activated] => f
[Ksophos*CLI>
[0K a2billing.php,1: [3] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [inuse] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [4] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [simultaccess] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [5] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [typepaid] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [6] =>
[Ksophos*CLI>
[0K a2billing.php,1: [creditlimit] =>
[Ksophos*CLI>
[0K a2billing.php,1: [7] => en
[Ksophos*CLI>
[0K a2billing.php,1: [language] => en
[Ksophos*CLI>
[0K a2billing.php,1: [8] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [removeinterprefix] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [9] => 62945467777
[Ksophos*CLI>
[0K a2billing.php,1: [redial] => 62945467777
[Ksophos*CLI>
[0K a2billing.php,1: [10] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [enableexpire] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [11] => 1650124939
[Ksophos*CLI>
[0K a2billing.php,1: [UNIX_TIMESTAMP(expirationdate)] => 1650124939
[Ksophos*CLI>
[0K a2billing.php,1: [12] => 360
[Ksophos*CLI>
[0K a2billing.php,1: [expiredays] => 360
[Ksophos*CLI>
[0K a2billing.php,1: [13] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [nbused] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [14] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [UNIX_TIMESTAMP(firstusedate)] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [15] => 1334592324
[Ksophos*CLI>
[0K a2billing.php,1: [UNIX_TIMESTAMP(cc_card.creationdate)] => 1334592324
[Ksophos*CLI>
[0K a2billing.php,1: [16] => USD
[Ksophos*CLI>
[0K a2billing.php,1: [currency] => USD
[Ksophos*CLI>
[0K a2billing.php,1: [17] => 102
[Ksophos*CLI>
[0K a2billing.php,1: [lastname] => 102
[Ksophos*CLI>
[0K a2billing.php,1: [18] =>
[Ksophos*CLI>
[0K a2billing.php,1: [firstname] =>
[Ksophos*CLI>
[0K a2billing.php,1: [19] =>
[Ksophos*CLI>
[0K a2billing.php,1:
=>
[Ksophos*CLI>
[0K a2billing.php,1: [20] => 7615140279
[Ksophos*CLI>
[0K a2billing.php,1: [uipass] => 7615140279
[Ksophos*CLI>
[0K a2billing.php,1: [21] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [id] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [22] => -1
[Ksophos*CLI>
[0K a2billing.php,1: [id_campaign] => -1
[Ksophos*CLI>
[0K a2billing.php,1: [23] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [24] => 876209529587710
[Ksophos*CLI>
[0K a2billing.php,1: [useralias] => 876209529587710
[Ksophos*CLI>
[0K a2billing.php,1: [25] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [status] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [26] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [voicemail_permitted] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [27] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [voicemail_activated] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [28] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [restriction] => 0
[Ksophos*CLI>
[0K a2billing.php,1: [29] => 1
[Ksophos*CLI>
[0K a2billing.php,1: [countryprefix] => 1
[Ksophos*CLI>
[0K a2billing.php,1: )
[Ksophos*CLI>
[0K a2billing.php,1:
[Ksophos*CLI>
[0K a2billing.php,1: )
[Ksophos*CLI>
[0K a2billing.php,1:
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:2873 - uniqueid:1334593668.15 - [SET CHANNEL(language) en]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:747 - uniqueid:1334593668.15 - [CARD STATUS UPDATE]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:756 - uniqueid:1334593668.15 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse=inuse+1, credit=credit-0.25 WHERE username='2563785627']
[Ksophos*CLI>
[0K a2billing.php,1: file:a2billing.php - line:178 - uniqueid:1334593668.15 - [TRY : callingcard_ivr_authenticate]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:2264 - uniqueid:1334593668.15 - [AUTO SetCallerID]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:2270 - uniqueid:1334593668.15 - [REQUESTED SetCallerID : 101]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:2282 - uniqueid:1334593668.15 - [EXEC SetCallerID : 101]
[Ksophos*CLI>
[0K a2billing.php,1: file:a2billing.php - line:193 - uniqueid:1334593668.15 - [CHANNEL STATUS : 6 = Line is up]
[Ksophos*CLI>
[0K a2billing.php,1: [CREDIT : 777777.00000][CREDIT MIN_CREDIT_2CALL : 0]
[Ksophos*CLI>
[0K a2billing.php,1: file:a2billing.php - line:396 - uniqueid:1334593668.15 - TARIFF ID -> 1
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:805 - uniqueid:1334593668.15 - use_dnid:0 && (!in_array
&& len_dnid
7 || len_exten:4 ) && (try_num:0)
[Ksophos*CLI>
[0K -- <Local/1007@a2billing-ab5b;2> Playing 'prepaid-enter-dest.gsm' (language 'en')
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:822 - uniqueid:1334593668.15 - RES DTMF : 629477499
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:878 - uniqueid:1334593668.15 - [CALL 2 DID]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:887 - uniqueid:1334593668.15 - SELECT cc_did.id, iduser FROM cc_did, cc_card WHERE cc_card.status=1 and cc_card.id=iduser and cc_did.activated=1 and did='629477499' AND cc_did.startingdate<= CURRENT_TIMESTAMP AND (cc_did.expirationdate > CURRENT_TIMESTAMP OR cc_did.expirationdate IS NULL OR cc_did.expirationdate = '0000-00-00 00:00:00')
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:893 - uniqueid:1334593668.15 - DESTINATION ::> 629477499
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:900 - uniqueid:1334593668.15 - RULES APPLY ON DESTINATION ::> 629477499
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:3421 - uniqueid:1334593668.15 - [SAVING DESTINATION FOR REDIAL: SQL: UPDATE cc_card SET redial = '629477499' WHERE username='2563785627']:[result: 1]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.RateEngine.php - line:98 - uniqueid:1334593668.15 - [CC_asterisk_rate-engine: (1, 629477499)]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.RateEngine.php - line:120 - uniqueid:1334593668.15 - [CC_asterisk_rate-engine - CALLERID : 101]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:1014 - uniqueid:1334593668.15 - ERROR ::> RateEngine didnt succeed to match the dialed number over the ratecard (Please check : id the ratecard is well create ; if the removeInter_Prefix is set according to your prefix in the ratecard ; if you hooked the ratecard to the Call Plan)
[Ksophos*CLI>
[0K -- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0)
[Ksophos*CLI>
[0K a2billing.php,1: file:a2billing.php - line:572 - uniqueid:1334593668.15 - ANSWER fct callingcard_ivr authorize:> -1
[Ksophos*CLI>
[0K a2billing.php,1: file:a2billing.php - line:193 - uniqueid:1334593668.15 - [CHANNEL STATUS : 6 = Line is up]
[Ksophos*CLI>
[0K a2billing.php,1: [CREDIT : 777777.00000][CREDIT MIN_CREDIT_2CALL : 0]
[Ksophos*CLI>
[0K a2billing.php,1: file:a2billing.php - line:396 - uniqueid:2334593668.15 - TARIFF ID -> 1
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:805 - uniqueid:2334593668.15 - use_dnid:0 && (!in_array
&& len_dnid
7 || len_exten:4 ) && (try_num:1)
[Ksophos*CLI>
[0K -- <Local/1007@a2billing-ab5b;2> Playing 'prepaid-enter-dest.gsm' (language 'en')
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:822 - uniqueid:2334593668.15 - RES DTMF : 100745637
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:878 - uniqueid:2334593668.15 - [CALL 2 DID]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:887 - uniqueid:2334593668.15 - SELECT cc_did.id, iduser FROM cc_did, cc_card WHERE cc_card.status=1 and cc_card.id=iduser and cc_did.activated=1 and did='100745637' AND cc_did.startingdate<= CURRENT_TIMESTAMP AND (cc_did.expirationdate > CURRENT_TIMESTAMP OR cc_did.expirationdate IS NULL OR cc_did.expirationdate = '0000-00-00 00:00:00')
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:893 - uniqueid:2334593668.15 - DESTINATION ::> 100745637
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:900 - uniqueid:2334593668.15 - RULES APPLY ON DESTINATION ::> 100745637
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:3421 - uniqueid:2334593668.15 - [SAVING DESTINATION FOR REDIAL: SQL: UPDATE cc_card SET redial = '100745637' WHERE username='2563785627']:[result: 1]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.RateEngine.php - line:98 - uniqueid:2334593668.15 - [CC_asterisk_rate-engine: (1, 100745637)]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.RateEngine.php - line:120 - uniqueid:2334593668.15 - [CC_asterisk_rate-engine - CALLERID : 101]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:1014 - uniqueid:2334593668.15 - ERROR ::> RateEngine didnt succeed to match the dialed number over the ratecard (Please check : id the ratecard is well create ; if the removeInter_Prefix is set according to your prefix in the ratecard ; if you hooked the ratecard to the Call Plan)
[Ksophos*CLI>
[0K -- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0)
[Ksophos*CLI>
[0K -- Executing [h@macro-dialout-trunk:1] [1;36mMacro[0m("[1;35mSIP/101-00000007[0m", "[1;35mhangupcall,[0m") in new stack
-- Executing [s@macro-hangupcall:1] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?endmixmoncheck[0m") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] [1;36mNoOp[0m("[1;35mSIP/101-00000007[0m", "[1;35mEnd of MIXMON check[0m") in new stack
-- Executing [s@macro-hangupcall:10] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?nomeetmemon[0m") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] [1;36mNoOp[0m("[1;35mSIP/101-00000007[0m", "[1;35mMEETME_RECORDINGFILE=[0m") in new stack
-- Executing [s@macro-hangupcall:16] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?noautomon[0m") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] [1;36mNoOp[0m("[1;35mSIP/101-00000007[0m", "[1;35mTOUCH_MONITOR_OUTPUT=[0m") in new stack
-- Executing [s@macro-hangupcall:19] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?noautomon2[0m") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] [1;36mNoOp[0m("[1;35mSIP/101-00000007[0m", "[1;35mMONITOR_FILENAME=[0m") in new stack
-- Executing [s@macro-hangupcall:26] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?skiprg[0m") in new stack
-- Goto (macro-hangupcall,s,29)
-- Executing [s@macro-hangupcall:29] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?skipblkvm[0m") in new stack
-- Goto (macro-hangupcall,s,32)
-- Executing [s@macro-hangupcall:32] [1;36mGotoIf[0m("[1;35mSIP/101-00000007[0m", "[1;35m1?theend[0m") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] [1;36mHangup[0m("[1;35mSIP/101-00000007[0m", "[1;35m[0m") in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/101-00000007' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/101-00000007'
[Ksophos*CLI>
[0K == Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/101-00000007' in macro 'dialout-trunk'
[Ksophos*CLI>
[0K == Spawn extension (from-internal, 91007, 6) exited non-zero on 'SIP/101-00000007'
[Ksophos*CLI>
[0K a2billing.php,1: file:a2billing.php - line:572 - uniqueid:2334593668.15 - ANSWER fct callingcard_ivr authorize:> -1
[Ksophos*CLI>
[0K a2billing.php,1: file:a2billing.php - line:193 - uniqueid:2334593668.15 - [CHANNEL STATUS : = Channel is down and available]
[Ksophos*CLI>
[0K a2billing.php,1: [CREDIT : 777777.00000][CREDIT MIN_CREDIT_2CALL : 0]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:747 - uniqueid:2334593668.15 - [CARD STATUS UPDATE]
[Ksophos*CLI>
[0K a2billing.php,1: file:Class.A2Billing.php - line:756 - uniqueid:2334593668.15 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse=inuse-1, credit=credit+0.25 WHERE username='2563785627']
[Ksophos*CLI>
[0K -- <Local/1007@a2billing-ab5b;2>AGI Script a2billing.php completed, returning 4
[Ksophos*CLI>
[0K == Spawn extension (a2billing, 1007, 1) exited non-zero on 'Local/1007@a2billing-ab5b;2'
[Ksophos*CLI>