Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 10:56 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: trouble setting a2billing trunk
PostPosted: Thu Sep 10, 2009 3:25 am 
Offline

Joined: Thu Sep 10, 2009 2:52 am
Posts: 8
Hello i used my FreePBX trunk in a2billingvia its name.

When i use a SIP client of asterisk and call a2billing enter my card number it tell me the time left and say:

The number you have dial is currently unavailable
or
The number is curently busy

and i didnt enter any number yet then it ask me the number again and it work.

can some one help me find whre it go wrong im pretty new to all this thing but its extremely interesting.

thx for your help


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Thu Sep 10, 2009 1:49 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Enable verbose mode 4 in the agi-conf and look to see what is going on.

Joe


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Thu Sep 10, 2009 3:12 pm 
Offline

Joined: Thu Sep 10, 2009 2:52 am
Posts: 8
where will i see the actual log ?? the server is remote to me but i can go where it is if needed


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Thu Sep 10, 2009 3:25 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
the asterisk cli

Joe


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Thu Sep 10, 2009 8:57 pm 
Offline

Joined: Thu Sep 10, 2009 2:52 am
Posts: 8
here is a log i hope what you need to help me is there !

Code:
[Sep 10 16:40:00] NOTICE[2766] chan_sip.c: Peer '3001' is now Reachable. (110ms / 2000ms)
[Sep 10 16:40:02] VERBOSE[2644] logger.c:     -- Remote UNIX connection
[Sep 10 16:40:03] VERBOSE[2914] logger.c:     -- Remote UNIX connection disconnected
[Sep 10 16:40:22] VERBOSE[2917] logger.c:     -- Executing [225@from-internal:1] Answer("SIP/3001-09cd1890", "") in new stack
[Sep 10 16:40:22] VERBOSE[2917] logger.c:     -- Executing [225@from-internal:2] Wait("SIP/3001-09cd1890", "2") in new stack
[Sep 10 16:40:24] VERBOSE[2917] logger.c:     -- Executing [225@from-internal:3] DeadAGI("SIP/3001-09cd1890", "a2billing.php") in new stack
[Sep 10 16:40:24] WARNING[2917] res_agi.c: Running DeadAGI on a live channel will cause problems, please use AGI
[Sep 10 16:40:24] VERBOSE[2917] logger.c:     -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php: A2Billing AGI internal configuration:
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php: Array
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php: (
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [debug] => 1
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [asterisk_version] => 1_2
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [answer_call] => 1
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [play_audio] => 1
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [say_goodbye] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [play_menulanguage] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [force_language] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [intro_prompt] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [min_credit_2call] => 0
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [min_duration_2bill] => 0
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [notenoughcredit_cardnumber] => 1
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [notenoughcredit_assign_newcardnumber_cid] => 1
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [use_dnid] => 1
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [no_auth_dnid] => Array
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:         (
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:             [0] => 2400
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:             [1] => 2300
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:         )
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [number_try] => 3
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [force_callplan_id] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [say_balance_after_auth] => 1
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [say_balance_after_call] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [say_rateinitial] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [say_timetocall] => 1
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [auto_setcallerid] => 1
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [force_callerid] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [cid_sanitize] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [cid_enable] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [cid_askpincode_ifnot_callerid] => 1
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [cid_auto_assign_card_to_cid] => 1
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [cid_auto_create_card] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [cid_auto_create_card_len] => 10
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [cid_auto_create_card_typepaid] => POSTPAY
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [cid_auto_create_card_credit] => 0
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [cid_auto_create_card_credit_limit] => 1000
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [cid_auto_create_card_tariffgroup] => 6
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [callerid_authentication_over_cardnumber] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [sip_iax_friends] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [sip_iax_pstn_direct_call_prefix] => 555
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [sip_iax_pstn_direct_call] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [ivr_voucher] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [ivr_voucher_prefix] => 8
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [jump_voucher_if_min_credit] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [extracharge_did] => Array
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:         (
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:             [0] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:         )
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [extracharge_fee] => Array
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:         (
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:             [0] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:         )
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [dialcommand_param] => |60|HRrL(%timeout%:61000:30000)
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [dialcommand_param_sipiax_friend] => |60|HL(3600000:61000:30000)
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [switchdialcommand] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [failover_recursive_limit] => 2
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [maxtime_tocall_negatif_free_route] => 5400
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [send_reminder] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [record_call] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [monitor_formatfile] => gsm
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [agi_force_currency] =>
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [currency_association] => Array
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:         (
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:             [0] => usd:dollars
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:             [1] => mxn:pesos
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:             [2] => eur:euros
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:             [3] => all:credit
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:         )
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [file_conf_enter_destination] => prepaid-enter-dest
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [file_conf_enter_menulang] => prepaid-menulang2
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [callback_bill_1stleg_ifcall_notconnected] => 1
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [logger_enable] => 1
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [log_file] => /tmp/a2billing.log
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [currency_association_internal] => Array
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:         (
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:             [usd] => dollars
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:             [mxn] => pesos
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:             [eur] => euros
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:             [all] => credit
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:         )
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:     [ivr_voucher_prefixe] => 8
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php: )
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php:
[Sep 10 16:40:24] VERBOSE[2917] logger.c:   a2billing.php: file:a2billing.php - line:75 - IDCONFIG : 1
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php: file:a2billing.php - line:76 - MODE : standard
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php: file:a2billing.php - line:88 - AGI Request:
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php: file:a2billing.php - line:89 - Array
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php: (
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_request] => a2billing.php
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_channel] => SIP/3001-09cd1890
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_language] => en
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_type] => SIP
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_uniqueid] => 1252615222.0
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_callerid] => 3001
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_calleridname] => device
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_callingpres] => 0
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_callingani2] => 0
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_callington] => 0
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_callingtns] => 0
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_dnid] => 225
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_rdnis] => unknown
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_context] => from-internal
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_extension] => 225
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_priority] => 3
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_enhanced] => 0.0
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:     [agi_accountcode] =>
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php: )
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php:
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php: file:Class.A2Billing.php - line:601 -  get_agi_request_parameter = 3001 ; SIP/3001-09cd1890 ; 1252615222.0 ;  ; 225
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php: file:a2billing.php - line:138 - [ANSWER CALL]
[Sep 10 16:40:25] VERBOSE[2917] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1797 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15
[Sep 10 16:40:25] VERBOSE[2917] logger.c:     -- <SIP/3001-09cd1890> Playing 'prepaid-enter-pin-number' (language 'en')
[Sep 10 16:40:33] VERBOSE[2917] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1799 - RES DTMF :
[Sep 10 16:40:33] VERBOSE[2917] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1803 - CARDNUMBER ::>
[Sep 10 16:40:33] VERBOSE[2917] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1807 - PREPAID-NO-CARD-ENTERED
[Sep 10 16:40:33] VERBOSE[2917] logger.c:     -- Playing 'prepaid-no-card-entered' (escape_digits=#) (sample_offset 0)
[Sep 10 16:40:36] VERBOSE[2917] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1789 - PREPAID-NO-CARD-ENTERED
[Sep 10 16:40:36] VERBOSE[2917] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1797 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15
[Sep 10 16:40:36] VERBOSE[2917] logger.c:     -- <SIP/3001-09cd1890> Playing 'prepaid-enter-pin-number' (language 'en')
[Sep 10 16:40:47] VERBOSE[2917] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1799 - RES DTMF : 0000000000
[Sep 10 16:40:47] VERBOSE[2917] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1803 - CARDNUMBER ::> 0000000000
[Sep 10 16:40:47] VERBOSE[2917] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1826 - QUERY = 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, cc_card.id_campaign, cc_card.id, useralias FROM cc_card LEFT JOIN cc_tariffgroup ON tariff=cc_tariffgroup.id WHERE username='0000000000'
[Sep 10 16:40:47] VERBOSE[2917] logger.c:   a2billing.php: Array
[Sep 10 16:40:47] VERBOSE[2917] logger.c:   a2billing.php: (
[Sep 10 16:40:47] VERBOSE[2917] logger.c:   a2billing.php:     [0] => Array
[Sep 10 16:40:47] VERBOSE[2917] logger.c:   a2billing.php:         (
[Sep 10 16:40:47] VERBOSE[2917] logger.c:   a2billing.php:             [0] => 4.60000
[Sep 10 16:40:47] VERBOSE[2917] logger.c:   a2billing.php:             [credit] => 4.60000
[Sep 10 16:40:47] VERBOSE[2917] logger.c:   a2billing.php:             [1] => 1
[Sep 10 16:40:47] VERBOSE[2917] logger.c:   a2billing.php:             [tariff] => 1
[Sep 10 16:40:47] VERBOSE[2917] logger.c:   a2billing.php:             [2] => t
[Sep 10 16:40:47] VERBOSE[2917] logger.c:   a2billing.php:             [activated] => t
[Sep 10 16:41:29] VERBOSE[2920] logger.c:     -- Executing [225@from-internal:1] Answer("SIP/3001-09cd1890", "") in new stack
[Sep 10 16:41:29] VERBOSE[2920] logger.c:     -- Executing [225@from-internal:2] Wait("SIP/3001-09cd1890", "2") in new stack
[Sep 10 16:41:31] VERBOSE[2920] logger.c:     -- Executing [225@from-internal:3] DeadAGI("SIP/3001-09cd1890", "a2billing.php") in new stack
[Sep 10 16:41:31] WARNING[2920] res_agi.c: Running DeadAGI on a live channel will cause problems, please use AGI
[Sep 10 16:41:31] VERBOSE[2920] logger.c:     -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php: A2Billing AGI internal configuration:
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php: Array
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php: (
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [debug] => 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [asterisk_version] => 1_2
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [answer_call] => 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [play_audio] => 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [say_goodbye] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [play_menulanguage] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [force_language] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [intro_prompt] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [min_credit_2call] => 0
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [min_duration_2bill] => 0
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [notenoughcredit_cardnumber] => 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [notenoughcredit_assign_newcardnumber_cid] => 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [use_dnid] => 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [no_auth_dnid] => Array
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:         (
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:             [0] => 2400
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:             [1] => 2300
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:         )
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [number_try] => 3
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [force_callplan_id] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [say_balance_after_auth] => 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [say_balance_after_call] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [say_rateinitial] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [say_timetocall] => 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [auto_setcallerid] => 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [force_callerid] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [cid_sanitize] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [cid_enable] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [cid_askpincode_ifnot_callerid] => 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [cid_auto_assign_card_to_cid] => 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [cid_auto_create_card] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [cid_auto_create_card_len] => 10
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [cid_auto_create_card_typepaid] => POSTPAY
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [cid_auto_create_card_credit] => 0
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [cid_auto_create_card_credit_limit] => 1000
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [cid_auto_create_card_tariffgroup] => 6
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [callerid_authentication_over_cardnumber] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [sip_iax_friends] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [sip_iax_pstn_direct_call_prefix] => 555
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [sip_iax_pstn_direct_call] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [ivr_voucher] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [ivr_voucher_prefix] => 8
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [jump_voucher_if_min_credit] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [extracharge_did] => Array
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:         (
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:             [0] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:         )
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [extracharge_fee] => Array
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:         (
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:             [0] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:         )
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [dialcommand_param] => |60|HRrL(%timeout%:61000:30000)
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [dialcommand_param_sipiax_friend] => |60|HL(3600000:61000:30000)
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [switchdialcommand] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [failover_recursive_limit] => 2
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [maxtime_tocall_negatif_free_route] => 5400
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [send_reminder] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [record_call] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [monitor_formatfile] => gsm
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_force_currency] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [currency_association] => Array
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:         (
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:             [0] => usd:dollars
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:             [1] => mxn:pesos
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:             [2] => eur:euros
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:             [3] => all:credit
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:         )
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [file_conf_enter_destination] => prepaid-enter-dest
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [file_conf_enter_menulang] => prepaid-menulang2
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [callback_bill_1stleg_ifcall_notconnected] => 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [logger_enable] => 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [log_file] => /tmp/a2billing.log
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [currency_association_internal] => Array
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:         (
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:             [usd] => dollars
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:             [mxn] => pesos
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:             [eur] => euros
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:             [all] => credit
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:         )
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [ivr_voucher_prefixe] => 8
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php: )
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php: file:a2billing.php - line:75 - IDCONFIG : 1
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php: file:a2billing.php - line:76 - MODE : standard
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php: file:a2billing.php - line:88 - AGI Request:
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php: file:a2billing.php - line:89 - Array
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php: (
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_request] => a2billing.php
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_channel] => SIP/3001-09cd1890
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_language] => en
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_type] => SIP
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_uniqueid] => 1252615289.2
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_callerid] => 3001
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_calleridname] => device
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_callingpres] => 0
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_callingani2] => 0
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_callington] => 0
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_callingtns] => 0
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_dnid] => 225
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_rdnis] => unknown
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_context] => from-internal
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_extension] => 225
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_priority] => 3
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_enhanced] => 0.0
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:     [agi_accountcode] =>
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php: )
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php:
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:601 -  get_agi_request_parameter = 3001 ; SIP/3001-09cd1890 ; 1252615289.2 ;  ; 225
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php: file:a2billing.php - line:138 - [ANSWER CALL]
[Sep 10 16:41:31] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1797 - Requesting DTMF, CARDNUMBER_LENGTH_MAX 15
[Sep 10 16:41:31] VERBOSE[2920] logger.c:     -- <SIP/3001-09cd1890> Playing 'prepaid-enter-pin-number' (language 'en')
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1799 - RES DTMF : 0000000000
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1803 - CARDNUMBER ::> 0000000000
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1826 - QUERY = 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, cc_card.id_campaign, cc_card.id, useralias FROM cc_card LEFT JOIN cc_tariffgroup ON tariff=cc_tariffgroup.id WHERE username='0000000000'
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php: Array
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php: (
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:     [0] => Array
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:         (
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [0] => 4.60000
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [credit] => 4.60000
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [1] => 1
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [tariff] => 1
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [2] => t
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [activated] => t
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [3] => 0
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [inuse] => 0
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [4] => 0
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [simultaccess] => 0
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [5] => 0
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [typepaid] => 0
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [6] =>
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [creditlimit] =>
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [7] => en
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [language] => en
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [8] => 0
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [removeinterprefix] => 0
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [9] => 5144425380
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [redial] => 5144425380
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [10] => 0
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [enableexpire] => 0
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [11] => 1567992278
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [UNIX_TIMESTAMP(expirationdate)] => 1567992278
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [12] => 0
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [expiredays] => 0
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [13] => 8
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [nbused] => 8
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [14] => 1252465316
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [UNIX_TIMESTAMP(firstusedate)] => 1252465316
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [15] => 1252459752
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [UNIX_TIMESTAMP(cc_card.creationdate)] => 1252459752
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [16] => CAD
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [currency] => CAD
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [17] => Éloi
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [lastname] => Éloi
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [18] => Girard
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [firstname] => Girard
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [19] => [email protected]
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [email] => [email protected]
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [20] => 4192344575
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [uipass] => 4192344575
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [21] => 1
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [id] => 1
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [22] => -1
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [id_campaign] => -1
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [23] => 1
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [24] => 097469407836774
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:             [useralias] => 097469407836774
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:         )
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php: )
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1898 - [SET LANGUAGE() en]
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:634 - [CARD STATUS UPDATE : UPDATE cc_card SET inuse=inuse+1 WHERE username='0000000000']
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1969 - [A2Billing] SAY BALANCE : 4.60000
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php:
[Sep 10 16:41:46] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1122 - [CURRENCY : CAD]
[Sep 10 16:41:46] VERBOSE[2920] logger.c:     -- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
[Sep 10 16:41:47] VERBOSE[2920] logger.c:     -- <SIP/3001-09cd1890> Playing 'digits/4' (language 'en')
[Sep 10 16:41:48] VERBOSE[2920] logger.c:     -- Playing 'credit' (escape_digits=#) (sample_offset 0)
[Sep 10 16:41:49] VERBOSE[2920] logger.c:     -- Playing 'vm-and' (escape_digits=#) (sample_offset 0)
[Sep 10 16:41:49] VERBOSE[2920] logger.c:     -- <SIP/3001-09cd1890> Playing 'digits/90' (language 'en')
[Sep 10 16:41:50] VERBOSE[2920] logger.c:     -- <SIP/3001-09cd1890> Playing 'digits/5' (language 'en')
[Sep 10 16:41:51] VERBOSE[2920] logger.c:     -- Playing 'prepaid-cents' (escape_digits=#) (sample_offset 0)
[Sep 10 16:41:51] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1427 - [AUTO SetCallerID]
[Sep 10 16:41:51] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1433 - [REQUESTED SetCallerID : 3001]
[Sep 10 16:41:51] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:1444 - [EXEC SetCallerID : 3001]
[Sep 10 16:41:51] VERBOSE[2920] logger.c:   a2billing.php: file:a2billing.php - line:169 - [CHANNEL STATUS : 6 = Line is up]
[Sep 10 16:41:51] VERBOSE[2920] logger.c:   a2billing.php: file:a2billing.php - line:170 - [CREDIT : 4.60000][CREDIT MIN_CREDIT_2CALL : 0]
[Sep 10 16:41:51] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:656 - 1 &&  && 3&& 0
[Sep 10 16:41:51] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:681 - DESTINATION ::> 225
[Sep 10 16:41:51] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:683 - RULES APPLY ON DESTINATION ::> 225
[Sep 10 16:41:51] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:721 - OK - RESFINDRATE::> 1
[Sep 10 16:41:51] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:743 - RES_ALL_CALCULTIMEOUT ::> 1
[Sep 10 16:41:51] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:760 - TIMEOUT::> 5515  : minutes=91 - seconds=55
[Sep 10 16:41:51] VERBOSE[2920] logger.c:     -- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
[Sep 10 16:41:53] VERBOSE[2920] logger.c:     -- <SIP/3001-09cd1890> Playing 'digits/90' (language 'en')
[Sep 10 16:41:53] VERBOSE[2920] logger.c:     -- <SIP/3001-09cd1890> Playing 'digits/1' (language 'en')
[Sep 10 16:41:54] VERBOSE[2920] logger.c:     -- Playing 'prepaid-minutes' (escape_digits=#) (sample_offset 0)
[Sep 10 16:41:55] VERBOSE[2920] logger.c:     -- Playing 'vm-and' (escape_digits=#) (sample_offset 0)
[Sep 10 16:41:55] VERBOSE[2920] logger.c:     -- <SIP/3001-09cd1890> Playing 'digits/50' (language 'en')
[Sep 10 16:41:56] VERBOSE[2920] logger.c:     -- <SIP/3001-09cd1890> Playing 'digits/5' (language 'en')
[Sep 10 16:41:57] VERBOSE[2920] logger.c:     -- Playing 'prepaid-seconds' (escape_digits=#) (sample_offset 0)
[Sep 10 16:41:58] VERBOSE[2920] logger.c:   a2billing.php: file:Class.RateEngine.php - line:960 - app_callingcard: Dialing 'SIP/prosdelinfo01/225|60|HRrL(5515000:61000:30000)' with timeout of '5515'.
[Sep 10 16:41:58] VERBOSE[2920] logger.c:   a2billing.php:
[Sep 10 16:41:58] VERBOSE[2920] logger.c:   a2billing.php: file:Class.RateEngine.php - line:985 - app_callingcard: CIDGROUPID='-1' OUTBOUND CID SELECTED IS '0'.
[Sep 10 16:41:58] VERBOSE[2920] logger.c:     -- AGI Script Executing Application: (Dial) Options: (SIP/prosdelinfo01/225|60|HRrL(5515000:61000:30000))
[Sep 10 16:41:58] VERBOSE[2920] logger.c:     -- Limit Data for this call:
[Sep 10 16:41:58] VERBOSE[2920] logger.c:        > timelimit      = 5515000
[Sep 10 16:41:58] VERBOSE[2920] logger.c:        > play_warning   = 61000
[Sep 10 16:41:58] VERBOSE[2920] logger.c:        > play_to_caller = yes
[Sep 10 16:41:58] VERBOSE[2920] logger.c:        > play_to_callee = no
[Sep 10 16:41:58] VERBOSE[2920] logger.c:        > warning_freq   = 30000
[Sep 10 16:41:58] VERBOSE[2920] logger.c:        > start_sound    = (null)
[Sep 10 16:41:58] VERBOSE[2920] logger.c:        > warning_sound  = timeleft
[Sep 10 16:41:58] VERBOSE[2920] logger.c:        > end_sound      = (null)
[Sep 10 16:41:58] NOTICE[2920] app_dial.c: Hey! chan SIP/3001-09cd1890's context='from-internal', and exten='225'
[Sep 10 16:41:58] VERBOSE[2920] logger.c:     -- Called prosdelinfo01/225
[Sep 10 16:41:58] VERBOSE[2766] logger.c:     -- Got SIP response 603 "Decline" back from xxx.xxx.xxx.xxx
[Sep 10 16:41:58] VERBOSE[2920] logger.c:     -- SIP/prosdelinfo01-09cdb7c0 is busy
[Sep 10 16:41:58] VERBOSE[2920] logger.c:   == Everyone is busy/congested at this time (1:1/0/0)
[Sep 10 16:41:58] VERBOSE[2920] logger.c:     -- Playing 'prepaid-isbusy' (escape_digits=#) (sample_offset 0)
[Sep 10 16:42:00] VERBOSE[2920] logger.c:   a2billing.php: file:Class.RateEngine.php - line:1090 - [USEDRATECARD=0]
[Sep 10 16:42:00] VERBOSE[2920] logger.c:   a2billing.php: file:Class.RateEngine.php - line:848 - [CC_asterisk_stop  QUERY = INSERT INTO cc_call (uniqueid,sessionid,username,nasipaddress,starttime,sessiontime, calledstation,  terminatecause, stoptime, calledrate, sessionbill, calledcountry, calledsub, destination, id_tariffgroup, id_tariffplan, id_ratecard, id_trunk, src, sipiax, buyrate, buycost, id_card_package_offer) VALUES ('1252615289.2', 'SIP/3001-09cd1890',  '0000000000', '', CURRENT_TIMESTAMP - INTERVAL 0 SECOND , '0', '225', 'BUSY', now(), '0.05', '-0',  '', '', 'any', '1', '1', '2', '2', '3001', '0', '0.02', '0', '0')]
[Sep 10 16:42:00] VERBOSE[2920] logger.c:   a2billing.php: file:Class.RateEngine.php - line:851 - [CC_asterisk_stop 1.1: SQL: DONE : result=1]
[Sep 10 16:42:00] VERBOSE[2920] logger.c:   a2billing.php: file:a2billing.php - line:309 - [a2billing account stop]
[Sep 10 16:42:00] VERBOSE[2920] logger.c:   a2billing.php: file:a2billing.php - line:169 - [CHANNEL STATUS : 6 = Line is up]
[Sep 10 16:42:00] VERBOSE[2920] logger.c:   a2billing.php: file:a2billing.php - line:170 - [CREDIT : 4.60000][CREDIT MIN_CREDIT_2CALL : 0]
[Sep 10 16:42:00] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:656 - 0 &&  && 3&& 1
[Sep 10 16:42:00] VERBOSE[2920] logger.c:     -- <SIP/3001-09cd1890> Playing 'prepaid-enter-dest' (language 'en')
[Sep 10 16:42:02] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:663 - RES DTMF : -1
[Sep 10 16:42:02] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:681 - DESTINATION ::> -1
[Sep 10 16:42:02] VERBOSE[2920] logger.c:   a2billing.php: file:Class.A2Billing.php - line:683 - RULES APPLY ON DESTINATION ::> -1
[Sep 10 16:42:02] VERBOSE[2920] logger.c:     -- Playing 'prepaid-invalid-digits' (escape_digits=#) (sample_offset 0)
[Sep 10 16:42:02] WARNING[2920] file.c: Failed to write frame
[Sep 10 16:42:02] VERBOSE[2920] logger.c:     -- Executing [h@from-internal:1] Macro("SIP/3001-09cd1890", "hangupcall") in new stack
[Sep 10 16:42:02] VERBOSE[2920] logger.c:     -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/3001-09cd1890", "w") in new stack
[Sep 10 16:42:02] DEBUG[2920] app_macro.c: Executed application: ResetCDR
[Sep 10 16:42:02] VERBOSE[2920] logger.c:     -- Executing [s@macro-hangupcall:2] NoCDR("SIP/3001-09cd1890", "") in new stack
[Sep 10 16:42:02] DEBUG[2920] app_macro.c: Executed application: NoCDR
[Sep 10 16:42:02] VERBOSE[2920] logger.c:     -- Executing [s@macro-hangupcall:3] GotoIf("SIP/3001-09cd1890", "1?skiprg") in new stack
[Sep 10 16:42:02] VERBOSE[2920] logger.c:     -- Goto (macro-hangupcall,s,6)
[Sep 10 16:42:02] DEBUG[2920] app_macro.c: Executed application: GotoIf
[Sep 10 16:42:02] VERBOSE[2920] logger.c:     -- Executing [s@macro-hangupcall:6] GotoIf("SIP/3001-09cd1890", "1?skipblkvm") in new stack
[Sep 10 16:42:02] VERBOSE[2920] logger.c:     -- Goto (macro-hangupcall,s,9)
[Sep 10 16:42:02] DEBUG[2920] app_macro.c: Executed application: GotoIf
[Sep 10 16:42:02] VERBOSE[2920] logger.c:     -- Executing [s@macro-hangupcall:9] GotoIf("SIP/3001-09cd1890", "1?theend") in new stack
[Sep 10 16:42:02] VERBOSE[2920] logger.c:     -- Goto (macro-hangupcall,s,11)
[Sep 10 16:42:02] DEBUG[2920] app_macro.c: Executed application: GotoIf
[Sep 10 16:42:02] VERBOSE[2920] logger.c:     -- Executing [s@macro-hangupcall:11] Hangup("SIP/3001-09cd1890", "") in new stack
[Sep 10 16:42:02] VERBOSE[2920] logger.c:   == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/3001-09cd1890' in macro 'hangupcall'
[Sep 10 16:42:02] VERBOSE[2920] logger.c:   == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/3001-09cd1890'


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Fri Sep 11, 2009 12:41 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Quote:
[Sep 10 16:41:58] VERBOSE[2766] logger.c: -- Got SIP response 603 "Decline" back from xxx.xxx.xxx.xxx
[Sep 10 16:41:58] VERBOSE[2920] logger.c: -- SIP/prosdelinfo01-09cdb7c0 is busy


it would appear to be a carrier or trunk configuration problem.

Also it is preferable to attach log files in a text file, rather than paste them into a post.

Joe


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Fri Sep 11, 2009 1:33 am 
Offline

Joined: Thu Sep 10, 2009 2:52 am
Posts: 8
thx for your help that what i whas thinking.

the trouble must be in the way a2billing take the trunk info from freePBX because if i dont use a2billing all call are ok.

i will ask my trunk provider about the setup i need and see what happen !

next time i will post a test file!


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Fri Sep 11, 2009 8:29 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Always test the trunk outside of A2billing, so that if it does not work you know it's a config problem in a2Billing, not a carrier issue.

Joe


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Fri Sep 11, 2009 11:10 am 
Offline

Joined: Thu Sep 10, 2009 2:52 am
Posts: 8
its working perfectly outside of a2billing i dont understand all the log but in this log there is only one extenssion that call a2billing and i want to be sure you understand that i DONT dial anything beside ext 225 to call a2billing and the 10 digit card number then i hear the busy message then im asked to dial a number casn you see in the log some where that there is something else dial ?


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Fri Sep 11, 2009 12:02 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Code:
[Sep 10 16:41:58] NOTICE[2920] app_dial.c: Hey! chan SIP/3001-09cd1890's context='from-internal', and exten='225'
[Sep 10 16:41:58] VERBOSE[2920] logger.c:     -- Called prosdelinfo01/225
[Sep 10 16:41:58] VERBOSE[2766] logger.c:     -- Got SIP response 603 "Decline" back from xxx.xxx.xxx.xxx
[Sep 10 16:41:58] VERBOSE[2920] logger.c:     -- SIP/prosdelinfo01-09cdb7c0 is busy


You've dialled 225, and sent that the carrier, unsurprisingly, they cannot deliver that call.

Joe


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Fri Sep 11, 2009 12:47 pm 
Offline

Joined: Thu Sep 10, 2009 2:52 am
Posts: 8
i use ext 3001 to call 225 the a2billing ext. i dont press 225 again do you mean that some how 225 is passed to my trunk ?


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Fri Sep 11, 2009 1:00 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
[Sep 10 16:41:58] VERBOSE[2920] logger.c: -- Called prosdelinfo01/225


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Fri Sep 11, 2009 2:09 pm 
Offline

Joined: Thu Sep 10, 2009 2:52 am
Posts: 8
does it mean my outbound route catch 225 and pass it to the trunk at the same time that it call internal ext 225 ?


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Fri Sep 11, 2009 2:12 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

I do not know what you have done, or how you have configured your system, and anything I suggest will be guesses.

I would suggest careful inspection of the /var/log/asterisk/full log to give you a clue as to what you have done.

Strictly speaking, A2billing will prompt for the number to call, if you have USE_DNID = no, so that would be the first place to look.

Joe


Top
 Profile  
 
 Post subject: Re: trouble setting a2billing trunk
PostPosted: Sat Sep 12, 2009 6:42 am 
Offline

Joined: Thu Sep 10, 2009 2:52 am
Posts: 8
thx it fixed my trouble to put NO i didnt know that the fist number o dial whas transported like this acros the system!

thx for the help its very apréciated! now i know there is a lots of documentation in .conf files do you have any advices on the most importent ones i must look at ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 4 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