Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Mar 19, 2019 2:46 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: A2Billing Install
PostPosted: Mon Nov 22, 2010 6:32 pm 
Offline

Joined: Sun Oct 11, 2009 4:57 pm
Posts: 2
I installed A2Billing by running the install-a2billing script and followed up with the instructions at the PIAF forum. I've done this twice and keep getting the same error. When I attempt to make a call I get the following message, "you have 20 credit. Please enter the IAX SIP friend you want to call and then press the pound key"

Can anyone help me with this?
Also I keep getting another error. I don't know if it is related. "Remote UNIX connection disconnected"

See my asterisk log file below:
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:9] ExecIf("SIP/714-c40091a0", "0|Set|CHANNEL(language)=") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: ExecIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:10] GotoIf("SIP/714-c40091a0", "1?continue") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Goto (macro-user-callerid,s,19)
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: GotoIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:19] NoOp("SIP/714-c40091a0", "Using CallerID "714" <714>") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Noop
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:2] NoOp("SIP/714-c40091a0", "Calling Out Route: FlowoutRoute") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:3] Set("SIP/714-c40091a0", "MOHCLASS=default") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:4] Set("SIP/714-c40091a0", "_NODEST=") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:5] Macro("SIP/714-c40091a0", "record-enable|714|OUT|") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:1] GotoIf("SIP/714-c40091a0", "1?check") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Goto (macro-record-enable,s,4)
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: GotoIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:4] ExecIf("SIP/714-c40091a0", "0|MacroExit|") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: ExecIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:5] GotoIf("SIP/714-c40091a0", "0?Group:OUT") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Goto (macro-record-enable,s,15)
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: GotoIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:15] GotoIf("SIP/714-c40091a0", "0?IN") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: GotoIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:16] ExecIf("SIP/714-c40091a0", "1|MacroExit|") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:6] Macro("SIP/714-c40091a0", "dialout-trunk|2|12146080067|") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:1] Set("SIP/714-c40091a0", "DIAL_TRUNK=2") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Set
[2010-11-22 12:21:36] DEBUG[30302] func_db.c: DB: AMPUSER/714/pinless not found in database.
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:2] GosubIf("SIP/714-c40091a0", "0?sub-pincheck|s|1") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: GosubIf
[2010-11-22 12:21:36] DEBUG[30302] func_db.c: DB: AMPUSER/714/pinless not found in database.
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:3] GotoIf("SIP/714-c40091a0", "0?disabletrunk|1") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: GotoIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:4] Set("SIP/714-c40091a0", "DIAL_NUMBER=12146080067") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Set
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:5] Set("SIP/714-c40091a0", "DIAL_TRUNK_OPTIONS=tr") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Set
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:6] Set("SIP/714-c40091a0", "OUTBOUND_GROUP=OUT_2") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Set
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:7] GotoIf("SIP/714-c40091a0", "1?nomax") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Goto (macro-dialout-trunk,s,9)
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: GotoIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:9] GotoIf("SIP/714-c40091a0", "0?skipoutcid") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: GotoIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:10] Set("SIP/714-c40091a0", "DIAL_TRUNK_OPTIONS=") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Set
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:11] Macro("SIP/714-c40091a0", "outbound-callerid|2") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:1] ExecIf("SIP/714-c40091a0", "0|SetCallerPres|") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: ExecIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:2] ExecIf("SIP/714-c40091a0", "0|Set|REALCALLERIDNUM=714") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: ExecIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:3] GotoIf("SIP/714-c40091a0", "1?normcid") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Goto (macro-outbound-callerid,s,6)
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: GotoIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:6] Set("SIP/714-c40091a0", "USEROUTCID=") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Set
[2010-11-22 12:21:36] DEBUG[30302] func_db.c: DB: DEVICE/714/emergency_cid not found in database.
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:7] Set("SIP/714-c40091a0", "EMERGENCYCID=") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Set
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:8] Set("SIP/714-c40091a0", "TRUNKOUTCID=") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Set
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:9] GotoIf("SIP/714-c40091a0", "1?trunkcid") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Goto (macro-outbound-callerid,s,12)
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: GotoIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:12] ExecIf("SIP/714-c40091a0", "0|Set|CALLERID(all)=") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: ExecIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:13] ExecIf("SIP/714-c40091a0", "0|Set|CALLERID(all)=") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: ExecIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:14] ExecIf("SIP/714-c40091a0", "0|Set|CALLERID(all)=") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: ExecIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:15] ExecIf("SIP/714-c40091a0", "0|SetCallerPres|prohib_passed_screen") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: ExecIf
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Macro
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:12] GosubIf("SIP/714-c40091a0", "1?sub-flp-2|s|1") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: GosubIf
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Incrementing gosub_level
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:1] ExecIf("SIP/714-c40091a0", "0|Set|TARGET_FLP42=112146080067") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: ExecIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:2] GotoIf("SIP/714-c40091a0", "0?match") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: GotoIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:3] Return("SIP/714-c40091a0", "") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Return
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Decrementing gosub_level
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:13] Set("SIP/714-c40091a0", "OUTNUM=12146080067") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Set
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:14] Set("SIP/714-c40091a0", "custom=AMP") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Set
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:15] ExecIf("SIP/714-c40091a0", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^default)") in new stack
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: ExecIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:16] Macro("SIP/714-c40091a0", "dialout-trunk-predial-hook|") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:1] GotoIf("SIP/714-c40091a0", "1?custom-freepbx-a2billing|12146080067|1:2") in new stack
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Goto (custom-freepbx-a2billing,12146080067,1)
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: GotoIf
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: == Channel 'SIP/714-c40091a0' jumping out of macro 'dialout-trunk-predial-hook'
[2010-11-22 12:21:36] DEBUG[30302] app_macro.c: Executed application: Macro
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: == Channel 'SIP/714-c40091a0' jumping out of macro 'dialout-trunk'
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Executing [[email protected]:1] DeadAGI("SIP/714-c40091a0", "a2billing.php|1") in new stack
[2010-11-22 12:21:36] WARNING[30302] res_agi.c: Running DeadAGI on a live channel will cause problems, please use AGI
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[2010-11-22 12:21:36] VERBOSE[30302] logger.c: -- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
[2010-11-22 12:21:37] VERBOSE[30302] logger.c: -- <SIP/714-c40091a0> Playing 'digits/5' (language 'en')
[2010-11-22 12:21:38] VERBOSE[30302] logger.c: -- Playing 'credit' (escape_digits=#) (sample_offset 0)
[2010-11-22 12:21:39] VERBOSE[30302] logger.c: -- <SIP/714-c40091a0> Playing 'prepaid-sipiax-enternumber' (language 'en')
[2010-11-22 12:21:40] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:21:40] VERBOSE[30308] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:21:44] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:21:44] VERBOSE[30314] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:21:48] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:21:48] VERBOSE[30320] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:21:52] VERBOSE[30302] logger.c: -- <SIP/714-c40091a0> Playing 'prepaid-sipiax-enternumber' (language 'en')
[2010-11-22 12:21:52] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:21:52] VERBOSE[30326] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:21:56] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:21:56] VERBOSE[30332] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:00] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:00] VERBOSE[30339] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:04] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:04] VERBOSE[30345] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:04] VERBOSE[30302] logger.c: -- <SIP/714-c40091a0> Playing 'prepaid-sipiax-enternumber' (language 'en')
[2010-11-22 12:22:08] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:08] VERBOSE[30351] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:12] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:12] VERBOSE[30357] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:16] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:16] VERBOSE[30363] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:17] VERBOSE[30302] logger.c: -- AGI Script a2billing.php completed, returning 0
[2010-11-22 12:22:20] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:20] VERBOSE[30369] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:24] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:24] VERBOSE[30375] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:28] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:28] VERBOSE[30381] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:32] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:32] VERBOSE[30388] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:36] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:36] VERBOSE[30394] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:40] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:40] VERBOSE[30400] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:44] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:44] VERBOSE[30406] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:48] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:48] VERBOSE[30412] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:52] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:52] VERBOSE[30418] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:22:56] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:22:56] VERBOSE[30424] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:23:00] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:23:00] VERBOSE[30430] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:23:04] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:23:04] VERBOSE[30436] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:23:08] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:23:08] VERBOSE[30442] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:23:12] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:23:12] VERBOSE[30448] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:23:16] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:23:16] VERBOSE[30455] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:23:20] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:23:20] VERBOSE[30461] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:23:24] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:23:24] VERBOSE[30467] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:23:28] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:23:28] VERBOSE[30473] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:23:32] VERBOSE[25707] logger.c: -- Remote UNIX connection
[2010-11-22 12:23:32] VERBOSE[30479] logger.c: -- Remote UNIX connection disconnected
[2010-11-22 12:23:36] VERBOSE[25707] logger.c: -- Remote UNIX connection


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


All times are UTC


Who is online

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