Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Sep 17, 2019 4:22 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: call not out please give a help
PostPosted: Tue Mar 31, 2015 8:01 pm 
Offline

Joined: Thu Sep 22, 2011 2:27 pm
Posts: 52
i have this error when i dial out to my trunk
0xb720f9e0 -- Probation passed - setting RTP source address to 159.0.184.231:59054

Code:
== Using SIP RTP CoS mark 5
    -- Executing [[email protected]:1] NoOp("SIP/5142700824-0000001d", "A2Billing Set Custom Var into CDRs table cc_call") in new stack
    -- Executing [[email protected]:2] Set("SIP/5142700824-0000001d", "A2B_CUSTOM1="XYZ1234567890"") in new stack
    -- Executing [[email protected]:3] Set("SIP/5142700824-0000001d", "A2B_CUSTOM2=8888") in new stack
    -- Executing [[email protected]:4] Set("SIP/5142700824-0000001d", "CDR(A2B_CUSTOM1)="XYZ1234567890"") in new stack
    -- Executing [[email protected]:5] Set("SIP/5142700824-0000001d", "CDR(A2B_CUSTOM2)=8888") in new stack
    -- Executing [[email protected]:6] AGI("SIP/5142700824-0000001d", "a2billing.php,1") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
       > 0xb720f9e0 -- Probation passed - setting RTP source address to 159.0.184.231:59054
    -- <SIP/5142700824-0000001d>AGI Script a2billing.php completed, returning 4
  == Spawn extension (a2billing, 00923319686266, 6) exited non-zero on 'SIP/5142700824-0000001d'
ws*CLI>


my extensions.conf is

Code:
[general]
static=yes
writeprotect=yes
autofallthrough=yes
clearglobalvars=no
priorityjumping=yes

[a2billing]
exten => _X.,1,NoOp(A2Billing Set Custom Var into CDRs table cc_call)
exten => _X.,n,Set(A2B_CUSTOM1="XYZ1234567890")
exten => _X.,n,Set(A2B_CUSTOM2=8888)
exten => _X.,n,Set(CDR(A2B_CUSTOM1)=${A2B_CUSTOM1})
exten => _X.,n,Set(CDR(A2B_CUSTOM2)=${A2B_CUSTOM2})
exten => _X.,n,Agi(a2billing.php,1)
exten => _X.,n,Hangup


and my sip.conf is this

Code:
[general]
context = a2billing
alwaysauthreject=yes
allowguest=no
allowoverlap=no
udpbindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
srvlookup=yes
videosupport = no
disallow = all
allow=g729
dtmfmode = rfc2833
canreinvite=no
nat=yes
insecure=invite
[trunk-out]
canreinvite=no
context=a2billing
host=178.247.180.8
type=peer
disallow=all
allow=g729
allow=g723
trustrpid=yes
sendrpid=yes
insecure=port,invite
nat=no
;
;
;
;
#include additional_a2billing_sip.conf


please help me i try to do my best but nothing


Top
 Profile  
 
 Post subject: Re: call not out please give a help
PostPosted: Wed Apr 01, 2015 7:35 pm 
Offline

Joined: Thu Sep 22, 2011 2:27 pm
Posts: 52
i also put debug = 4 and get logg please read and help me if any one check this


Code:
[2015-04-01 21:27:26] VERBOSE[1627][C-0000002e] netsock2.c: Using SIP RTP CoS mark 5
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] pbx.c: Executing [[email protected]:1] NoOp("SIP/2118302221-0000000b", "A2Billing Set Custom Var into CDRs table cc_call") in new stack
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] pbx.c: Executing [[email protected]:2] Set("SIP/2118302221-0000000b", "A2B_CUSTOM1="XYZ1234567890"") in new stack
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] pbx.c: Executing [[email protected]:3] Set("SIP/2118302221-0000000b", "A2B_CUSTOM2=8888") in new stack
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] pbx.c: Executing [[email protected]:4] Set("SIP/2118302221-0000000b", "CDR(A2B_CUSTOM1)="XYZ1234567890"") in new stack
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] pbx.c: Executing [[email protected]:5] Set("SIP/2118302221-0000000b", "CDR(A2B_CUSTOM2)=8888") in new stack
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] pbx.c: Executing [[email protected]:6] AGI("SIP/2118302221-0000000b", "a2billing.php,1") in new stack
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: file:Class.A2Billing.php - line:592 - uniqueid: - A2Billing AGI internal configuration:
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: file:Class.A2Billing.php - line:593 - uniqueid: - Array
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: (
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [dialcommand_param_call_2did] => |60|HiL(%timeout%:61000:30000)
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [description] => agi-config
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [asterisk_version] => 1_11
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [answer_call] => 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [play_audio] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [say_goodbye] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [play_menulanguage] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [force_language] =>
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [intro_prompt] =>
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [min_credit_2call] => 5
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [min_duration_2bill] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [notenoughcredit_cardnumber] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [notenoughcredit_assign_newcardnumber_cid] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [use_dnid] => 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [no_auth_dnid] => Array
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         (
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [0] => 2400
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [1] => 2300
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         )
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [number_try] => 3
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [force_callplan_id] =>
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [say_balance_after_auth] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [say_balance_after_call] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [say_rateinitial] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [say_timetocall] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [auto_setcallerid] => 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [force_callerid] =>
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [cid_sanitize] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [cid_enable] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [cid_askpincode_ifnot_callerid] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [failover_lc_prefix] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [cid_auto_assign_card_to_cid] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [callerid_authentication_over_cardnumber] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [sip_iax_friends] => 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [sip_iax_pstn_direct_call_prefix] => 555
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [sip_iax_pstn_direct_call] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [ivr_voucher] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [ivr_voucher_prefix] => 8
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [jump_voucher_if_min_credit] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [dialcommand_param] => |60|HRrL(%timeout%:61000:30000)
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [dialcommand_param_sipiax_friend] => ,60,LIW(389220000:60000:30000)
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [switchdialcommand] => 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [failover_recursive_limit] => 2
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [maxtime_tocall_negatif_free_route] => 5400
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [send_reminder] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [record_call] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [monitor_formatfile] => gsm
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_force_currency] =>
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [currency_association] => Array
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         (
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [0] => usd:dollars
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [1] => mxn:pesos
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [2] => eur:euros
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [3] => all:credit
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         )
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [local_dialing_addcountryprefix] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [max_call_call_2_did] => 3600
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [file_conf_enter_destination] => prepaid-enter-dest
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [conf_order_menulang] => en:fr:es
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [callback_bill_1stleg_ifcall_notconnected] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [international_prefixes] => Array
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         (
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [0] =>
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         )
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [extracharge_did] => Array
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         (
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [0] => 1800
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [1] => 1900
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         )
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [extracharge_fee] => Array
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         (
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [0] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [1] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         )
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [extracharge_buyfee] => Array
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         (
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [0] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [1] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         )
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [maxtime_tounlimited_calls] => 5400
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [maxtime_tofree_calls] => 5400
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [callplan_deck_minute_threshold] =>
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [disable_announcement_seconds] => 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [currency_cents_association] => Array
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         (
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [0] => usd:prepaid-cents
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [1] => eur:prepaid-cents
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [2] => gbp:prepaid-pence
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [3] => all:credit
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         )
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [default_accountcode] => default_accountcode_all
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [verbosity_level] => 4
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [logging_level] => 3
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [dial_balance_reservation] => 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [callerid_update] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [cid_auto_create_card] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [cid_auto_create_card_len] => 10
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [cid_auto_create_card_typepaid] => PREPAID
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [cid_auto_create_card_credit] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [cid_auto_create_card_credit_limit] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [cid_auto_create_card_tariffgroup] => 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [busy_timeout] => 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [callback_reduce_balance] => 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [ivr_enable_locking_option] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [ivr_enable_account_information] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [ivr_enable_ivr_speeddial] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [play_rate_cents_if_lower_one] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [callback_beep_to_enter_destination] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [cid_prompt_callback_confirm_phonenumber] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [lcr_mode] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [default_accountcode_all] => 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [logger_enable] => 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [log_file] => /var/log/a2billing/a2billing.log
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [dialcommand_param_call_2did ] => |30|HL(3600000:61000:30000)
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [currency_association_internal] => Array
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         (
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [usd] => dollars
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [mxn] => pesos
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [eur] => euros
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [all] => credit
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         )
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [currency_cents_association_internal] => Array
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         (
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [usd] => prepaid-cents
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [eur] => prepaid-cents
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [gbp] => prepaid-pence
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:             [all] => credit
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:         )
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [file_conf_enter_menulang] => prepaid-menulang
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [ivr_voucher_prefixe] => 8
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [cheat_on_announcement_time] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: )
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: file:a2billing.php - line:117 - uniqueid: - IDCONFIG : 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: file:a2billing.php - line:118 - uniqueid: - MODE : standard
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: file:a2billing.php - line:130 - uniqueid: - AGI Request:
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: Array
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: (
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_request] => a2billing.php
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_channel] => SIP/2118302221-0000000b
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_language] => en
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_type] => SIP
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_uniqueid] => 1427916446.22
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_version] => 13.2.0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_callerid] => 2118302221
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_calleridname] => 2118302221
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_callingpres] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_callingani2] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_callington] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_callingtns] => 0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_dnid] => 00923319686266
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_rdnis] => unknown
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_context] => a2billing
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_extension] => 00923319686266
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_priority] => 6
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_enhanced] => 0.0
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_accountcode] => 2118302221
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_threadid] => -1219740816
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:     [agi_arg_1] => 1
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: )
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1:
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: file:a2billing.php - line:131 - uniqueid: - [INFO : A2Billing - v2.1.0]
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: file:Class.A2Billing.php - line:755 - uniqueid:1427916446.22 -  get_agi_request_parameter = 2118302221 ; SIP/2118302221-0000000b ; 1427916446.22 ; default_accountcode_all ; 00923319686266
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: file:a2billing.php - line:165 - uniqueid:1427916446.22 - [ANSWER CALL]
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: file:Class.A2Billing.php - line:2876 - uniqueid:1427916446.22 -  - Account code ::> default_accountcode_all
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: file:Class.A2Billing.php - line:2893 - uniqueid:1427916446.22 -  - Retrieve account info SQL ::> SELECT credit, tariff, activated, inuse, simultaccess, typepaid, creditlimit, language, removeinterprefix,  redial, enableexpire, UNIX_TIMESTAMP(expirationdate), expiredays, nbused, UNIX_TIMESTAMP(firstusedate),  UNIX_TIMESTAMP(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, useralias, status, voicemail_permitted, voicemail_activated,  cc_card.restriction, cc_country.countryprefix  FROM cc_card  LEFT JOIN cc_tariffgroup ON tariff = cc_tariffgroup.id  LEFT JOIN cc_country ON cc_card.country = cc_country.countrycode  WHERE username = 'default_accountcode_all'
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: file:Class.A2Billing.php - line:2897 - uniqueid:1427916446.22 - PREPAID-AUTH-FAIL
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: file:a2billing.php - line:181 - uniqueid:1427916446.22 - [TRY : callingcard_ivr_authenticate]
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: a2billing.php,1: file:a2billing.php - line:615 - uniqueid:1427916446.22 - [NO AUTH (CN:default_accountcode_all, cia_res:-1, CREDIT:)]
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] res_agi.c: <SIP/2118302221-0000000b>AGI Script a2billing.php completed, returning 4
[2015-04-01 21:27:26] VERBOSE[11384][C-0000002e] pbx.c: Spawn extension (a2billing, 00923319686266, 6) exited non-zero on 'SIP/2118302221-0000000b'
[2015-04-01 21:27:55] NOTICE[1627] chan_sip.c: Received SIP subscribe for peer without mailbox: 2118302221


Top
 Profile  
 
 Post subject: Re: call not out please give a help
PostPosted: Fri Apr 03, 2015 9:19 pm 
Offline

Joined: Mon Mar 02, 2009 8:56 pm
Posts: 271
Do you know where in the config this is getting set -

[default_accountcode] => default_accountcode_all

Is it something you've set somewhere? I don't remember seeing it in an agi-conf.

It seems to be checking that rather than the account number ...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group