A2Billing & 1.0-RC2

cowboy47

Joined
Jun 14, 2007
Messages
276
Likes
0
Points
0
#1
I have a working RC2 install but I am not using the cell phone addin. However, I am having a big problem with A2Billing.

First, the system appears to be very sluggish and my server has 2G of memory & 500G of HD, so there should not be such a huge delay.

Second, when you call into A2Billing, you will hear the prompt "Press 1 for english, 2 for spanish" when you press a key, the system hangs up. Here is the output from the console


[root@elastix ~]# cd /etc/asterisk
[root@elastix asterisk]# asterisk -rvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvcf
Asterisk 1.4.18, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.18 currently running on elastix (pid = 2954)
Verbosity was 29 and is now 30
-- Accepting call from '3002208' to '3050700' on channel 0/23, span 1
-- Executing [3050700@from-pstn:1] Set("Zap/23-1", "__FROM_DID=3050700") in new stack
-- Executing [3050700@from-pstn:2] Gosub("Zap/23-1", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("Zap/23-1", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("Zap/23-1", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Return("Zap/23-1", "") in new stack
-- Executing [3050700@from-pstn:3] GotoIf("Zap/23-1", "0 ?cidok") in new stack
-- Executing [3050700@from-pstn:4] Set("Zap/23-1", "CALLERID(name)=3002208") in new stack
-- Executing [3050700@from-pstn:5] NoOp("Zap/23-1", "CallerID is "3002208" <3002208>") in new stack
-- Executing [3050700@from-pstn:6] Goto("Zap/23-1", "custom-a2billing|s|1") in new stack
-- Goto (custom-a2billing,s,1)
-- Executing [s@custom-a2billing:1] Answer("Zap/23-1", "") in new stack
-- Executing [s@custom-a2billing:2] Wait("Zap/23-1", "2") in new stack
-- Executing [s@custom-a2billing:3] DeadAGI("Zap/23-1", "a2billing.php") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
a2billing.php: A2Billing AGI internal configuration:
a2billing.php: Array
a2billing.php: (
a2billing.php: [debug] => 3
a2billing.php: [asterisk_version] => 1_4
a2billing.php: [answer_call] => 1
a2billing.php: [play_audio] => 1
a2billing.php: [say_goodbye] => 1
a2billing.php: [play_menulanguage] => 1
a2billing.php: [force_language] => ES
a2billing.php: [intro_prompt] =>
a2billing.php: [min_credit_2call] => 0
a2billing.php: [min_duration_2bill] => 0
a2billing.php: [notenoughcredit_cardnumber] => 1
a2billing.php: [notenoughcredit_assign_newcardnumber_cid] => 1
a2billing.php: [use_dnid] => 1
a2billing.php: [no_auth_dnid] => Array
a2billing.php: (
a2billing.php: [0] => 2400
a2billing.php: [1] => 2300
a2billing.php: )
a2billing.php:
a2billing.php: [number_try] => 4
a2billing.php: [force_callplan_id] =>
a2billing.php: [say_balance_after_auth] => 1
a2billing.php: [say_balance_after_call] => 1
a2billing.php: [say_rateinitial] =>
a2billing.php: [say_timetocall] => 1
a2billing.php: [auto_setcallerid] => 1
a2billing.php: [force_callerid] =>
a2billing.php: [cid_sanitize] =>
a2billing.php: [cid_enable] => 1
a2billing.php: [cid_askpincode_ifnot_callerid] => 1
a2billing.php: [cid_auto_assign_card_to_cid] =>
a2billing.php: [cid_auto_create_card] =>
a2billing.php: [cid_auto_create_card_len] => 10
a2billing.php: [cid_auto_create_card_typepaid] => POSTPAY
a2billing.php: [cid_auto_create_card_credit] => 0
a2billing.php: [cid_auto_create_card_credit_limit] => 1000
a2billing.php: [cid_auto_create_card_tariffgroup] => 6
a2billing.php: [callerid_authentication_over_cardnumber] =>
a2billing.php: [sip_iax_friends] =>
a2billing.php: [sip_iax_pstn_direct_call_prefix] => 555
a2billing.php: [sip_iax_pstn_direct_call] =>
a2billing.php: [ivr_voucher] =>
a2billing.php: [ivr_voucher_prefix] => 8
a2billing.php: [jump_voucher_if_min_credit] =>
a2billing.php: [extracharge_did] => Array
a2billing.php: (
a2billing.php: [0] =>
a2billing.php: )
a2billing.php:
a2billing.php: [extracharge_fee] => Array
a2billing.php: (
a2billing.php: [0] =>
a2billing.php: )
a2billing.php:
a2billing.php: [dialcommand_param] => |60|HRrL(%timeout%:61000:30000)
a2billing.php: [dialcommand_param_sipiax_friend] => |60|HL(3600000:61000:30000)
a2billing.php: [switchdialcommand] =>
a2billing.php: [failover_recursive_limit] => 2
a2billing.php: [maxtime_tocall_negatif_free_route] => 5400
a2billing.php: [send_reminder] =>
a2billing.php: [record_call] =>
a2billing.php: [monitor_formatfile] => gsm
a2billing.php: [agi_force_currency] =>
a2billing.php: [currency_association] => Array
a2billing.php: (
a2billing.php: [0] => usd:dollars
a2billing.php: [1] => mxn:pesos
a2billing.php: [2] => eur:euros
a2billing.php: [3] => all:credit
a2billing.php: )
a2billing.php:
a2billing.php: [file_conf_enter_destination] => prepaid-enter-dest
a2billing.php: [file_conf_enter_menulang] => prepaid-menulang2
a2billing.php: [callback_bill_1stleg_ifcall_notconnected] => 1
a2billing.php: [logger_enable] => 1
a2billing.php: [log_file] => /tmp/a2billing.log
a2billing.php: [currency_association_internal] => Array
a2billing.php: (
a2billing.php: [usd] => dollars
a2billing.php: [mxn] => pesos
a2billing.php: [eur] => euros
a2billing.php: [all] => credit
a2billing.php: )
a2billing.php:
a2billing.php: [ivr_voucher_prefixe] => 8
a2billing.php: )
a2billing.php:
a2billing.php: file:a2billing.php - line:75 - IDCONFIG : 1
a2billing.php: file:a2billing.php - line:76 - MODE : standard
a2billing.php: file:a2billing.php - line:88 - AGI Request:
a2billing.php: file:a2billing.php - line:89 - Array
a2billing.php: (
a2billing.php: [agi_request] => a2billing.php
a2billing.php: [agi_channel] => Zap/23-1
a2billing.php: [agi_language] => en
a2billing.php: [agi_type] => Zap
a2billing.php: [agi_uniqueid] => 1207588592.13
a2billing.php: [agi_callerid] => 3002208
a2billing.php: [agi_calleridname] => 3002208
a2billing.php: [agi_callingpres] => 1
a2billing.php: [agi_callingani2] => 0
a2billing.php: [agi_callington] => 0
a2billing.php: [agi_callingtns] => 0
a2billing.php: [agi_dnid] => 3050700
a2billing.php: [agi_rdnis] => unknown
a2billing.php: [agi_context] => custom-a2billing
a2billing.php: [agi_extension] => s
a2billing.php: [agi_priority] => 3
a2billing.php: [agi_enhanced] => 0.0
a2billing.php: [agi_accountcode] =>
a2billing.php: )
a2billing.php:
a2billing.php: file:Class.A2Billing.php - line:601 - get_agi_request_parameter = 3002208 ; Zap/23-1 ; 1207588592.13 ; ; s
a2billing.php: file:a2billing.php - line:138 - [ANSWER CALL]
-- <Zap/23-1> Playing 'prepaid-menulang2' (language 'en')
-- SIP/AmeriMex-b7d33bf8 is making progress passing it to SIP/7777-b7d2fc80
-- SIP/AmeriMex-b7d33bf8 answered SIP/7777-b7d2fc80
a2billing.php: file:Class.A2Billing.php - line:545 - RES Menu Language DTMF :
-- AGI Script a2billing.php completed, returning 0
-- Executing [s@custom-a2billing:4] Wait("Zap/23-1", "2") in new stack
-- Executing [s@custom-a2billing:5] Hangup("Zap/23-1", "") in new stack
== Spawn extension (custom-a2billing, s, 5) exited non-zero on 'Zap/23-1'
-- Hungup 'Zap/23-1'


Can anyone help me on this one?
 

cowboy47

Joined
Jun 14, 2007
Messages
276
Likes
0
Points
0
#2
bump
 

cowboy47

Joined
Jun 14, 2007
Messages
276
Likes
0
Points
0
#3
again
 

cowboy47

Joined
Jun 14, 2007
Messages
276
Likes
0
Points
0
#4
come on, someone please respond. I help whenever I can.
 

zenny

Joined
Jan 20, 2008
Messages
65
Likes
0
Points
0
#5
cowboy47, I understand your frustrations. I also had the same experience here at Elastix. And when I looked at the codes at /var/www/html folder they are commented in spanish (oh my god!). But it seems like Elastix developers have deaf ears to the plight of the users (sorry to say) :-(

However, I think you can get some insights in this thread which resembles like yours:

http://lists.digium.com/pipermail/aster ... 26406.html

hope it helps!
 

Members online

No members online now.

Forum statistics

Threads
30,952
Messages
130,980
Members
17,654
Latest member
janko67
Top