Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 5:30 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: A2B stopped working after upgrade.
PostPosted: Tue Sep 05, 2006 11:04 pm 
Offline

Joined: Tue Sep 05, 2006 10:42 pm
Posts: 2
Hi all. First my thanks to the developer(s) of this great software, I'm very impressed. My plan is to start using this for a Service provider in the Caribbean, and will donate once we get this up and running.

I Installed Trixbox, and updated it to 1.1.1 which comes standard with the older version of A2B. I gave A2B a try and it was working great. I followed http://www.talkpbx.com/a2binstructions.htm for install. I have a single DID and on my inbound route, I forwarded it to custom-callingcard,s,1. Created a single trunk (pointing to my trunk in Trixbox), a rate card and a single user. And it worked great, to my surprise in almost no-time.
Then I saw there is a newer version available that supports Paypal. something I definitely want to use. so I followd the upgrade as described at http://www.sureteq.com/asterisk/a2b.htm. no errors and things started up perfectly. re-created the settings described before. but now when I call my DID, I get dead air and the call drops after a few seconds.

I captured the asterisk CLI screen;

-- Executing Goto("SIP/jfischer-09e3d6e8", "custom-callingcard|s|1") in new stack
-- Goto (custom-callingcard,s,1)
-- Executing Answer("SIP/jfischer-09e3d6e8", "") in new stack
-- Executing Wait("SIP/jfischer-09e3d6e8", "2") in new stack
-- Executing DeadAGI("SIP/jfischer-09e3d6e8", "a2billing.php") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
a2billing.php: line:58 - IDCONFIG : 1
a2billing.php:
a2billing.php: line:67 - MODE : standard
a2billing.php:
a2billing.php: A2Billing AGI internal configuration:
a2billing.php: Array
a2billing.php: (
a2billing.php: [debug] => 1
a2billing.php: [answer_call] => 1
a2billing.php: [logger_enable] => 1
a2billing.php: [log_file] => /tmp/a2billing.log
a2billing.php: [say_goodbye] =>
a2billing.php: [play_menulanguage] =>
a2billing.php: [force_language] =>
a2billing.php: [intro_prompt] =>
a2billing.php: [len_cardnumber] => 10
a2billing.php: [len_aliasnumber] => 15
a2billing.php: [len_voucher] => 15
a2billing.php: [min_credit_2call] => 0
a2billing.php: [min_duration_2bill] => 0
a2billing.php: [notenoughcredit_cardnumber] => 1
a2billing.php: [notenoughcredit_assign_newcardnumber_cid] => 1
a2billing.php: [use_dnid] =>
a2billing.php: [no_auth_dnid] => Array
a2billing.php: (
a2billing.php: [0] => 2400
a2billing.php: [1] => 2300
a2billing.php: )
a2billing.php:
a2billing.php: [number_try] => 3
a2billing.php: [say_balance_after_auth] => 1
a2billing.php: [say_balance_after_call] =>
a2billing.php: [say_rateinitial] =>
a2billing.php: [say_timetocall] => 1
a2billing.php: [auto_setcallerid] => 1
a2billing.php: [force_callerid] =>
a2billing.php: [cid_sanitize] =>
a2billing.php: [cid_enable] =>
a2billing.php: [cid_askpincode_ifnot_callerid] => 1
a2billing.php: [cid_auto_create_card] =>
a2billing.php: [cid_auto_assign_card_to_cid] => 1
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] => 9
a2billing.php: [sip_iax_pstn_direct_call] =>
a2billing.php: [extracharge_did] =>
a2billing.php: [extracharge_fee] =>
a2billing.php: [dialcommand_param] => |30|HL(%timeout%:61000:30000)
a2billing.php: [dialcommand_param_sipiax_friend] => |30|HL(3600000:61000:30000)
a2billing.php: [switchdialcommand] =>
a2billing.php: [maxtime_tocall_negatif_free_route] => 5400
a2billing.php: [send_reminder] =>
a2billing.php: [record_call] =>
a2billing.php: [monitor_formatfile] => gsm
a2billing.php: [base_currency] => usd
a2billing.php: [agi_force_currency] =>
a2billing.php: [currency_association] => Array
a2billing.php: (
a2billing.php: [0] => usd:prepaid-dollar
a2billing.php: [1] => mxn:pesos
a2billing.php: [2] => eur:euro
a2billing.php: [3] => all:credit
a2billing.php: )
a2billing.php:
a2billing.php: [file_conf_enter_destination] => prepaid-enter-dest
a2billing.php: [file_conf_enter_menulang] => prepaid-menulang2
a2billing.php: [setlanguage_deprecate] => 1
a2billing.php: [currency_association_internal] => Array
a2billing.php: (
a2billing.php: [usd] => prepaid-dollar
a2billing.php: [mxn] => pesos
a2billing.php: [eur] => euro
a2billing.php: [all] => credit
a2billing.php: )
a2billing.php:
a2billing.php: )
a2billing.php:
a2billing.php: AGI Request:
a2billing.php: Array
a2billing.php: (
a2billing.php: [agi_request] => a2billing.php
a2billing.php: [agi_channel] => SIP/jfischer-09e3d6e8
a2billing.php: [agi_language] => en
a2billing.php: [agi_type] => SIP
a2billing.php: [agi_uniqueid] => 1157497164.14
a2billing.php: [agi_callerid] => 3058085200
a2billing.php: [agi_calleridname] => 3058085200
a2billing.php: [agi_callingpres] => 0
a2billing.php: [agi_callingani2] => 0
a2billing.php: [agi_callington] => 0
a2billing.php: [agi_callingtns] => 0
a2billing.php: [agi_dnid] => 7867350915
a2billing.php: [agi_rdnis] => unknown
a2billing.php: [agi_context] => custom-callingcard
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: 3058085200 ; SIP/jfischer-09e3d6e8 ; 1157497164.14 ; ; s
-- AGI Script a2billing.php completed, returning 0
-- Executing Wait("SIP/jfischer-09e3d6e8", "2") in new stack
-- Executing Hangup("SIP/jfischer-09e3d6e8", "") in new stack
== Spawn extension (custom-callingcard, s, 5) exited non-zero on 'SIP/jfischer-09e3d6e8'
asterisk1*CLI>


Any Ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 06, 2006 6:53 pm 
Offline

Joined: Tue Sep 05, 2006 10:42 pm
Posts: 2
Must have done something wrong during the upgrade. apparently the file Class.RateEngine.php was missing in libs_a2billing .

cp -r /usr/src/a2billing2/trunk/A2Billing_AGI/libs_a2billing should have done it.

So I got a working system again.

Thanks Marcel in helping me out.

Peter.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group