asterisk2billing.org
http://forum.asterisk2billing.org/

need help for configuration steps
http://forum.asterisk2billing.org/viewtopic.php?f=14&t=11322
Page 1 of 1

Author:  sober81 [ Wed Apr 08, 2015 1:53 pm ]
Post subject:  need help for configuration steps

Hi everyone.
after trying many methods from on google, I still can't get my a2billing working. :cry: :cry: :cry:
I just need a billing system for my pbx system.
I have downloaded the elastix iso which have a2billing (as calling cards) preinstalled. its elastix 2.5 stable (freepbx 2.11, Linux 2.6.18-371, Asterisk 11.13.0).
for the configuration steps I followed this link: http://www.powerpbx.org/content/a2billi ... l-guide-v2
trunks are configured ok, but whenever I make a call, I hear a voice message telling me the credit I have in my account and asks for the number I want to dial. and for every number I dial, it says that the current number is unavailable.

I don't want that my clients hear any voice message, just let them use the phone and I get the report for the monthly invoice.

I need a solution about this.
:cry: :cry: :cry:
please help me!!!!

Author:  sober81 [ Thu Apr 09, 2015 10:45 am ]
Post subject:  Re: need help for configuration steps

any idea????
this is the log from asterisk cli;
Executing [04xxxxxxx@a2billing:2] Wait("Local/04xxxxxxx@a2billing-00000004;2", "1") in new stack
> 0x2b0104023430 -- Probation passed - setting RTP source address to
-- Executing [04xxxxxxx@a2billing:3] DeadAGI("Local/04xxxxxxx@a2billing-00000004;2", "a2billing.php,1") in new stack
[2015-04-09 12:38:39] WARNING[830][C-0000000b]: res_agi.c:4005 deadagi_exec: DeadAGI has been deprecated, please use AGI in all cases!
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
-- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
-- <Local/04xxxxxxx@a2billing-00000004;2> Playing 'digits/3.gsm' (language 'en')
-- <Local/04xxxxxxx@a2billing-00000004;2> Playing 'digits/hundred.gsm' (language 'en')
-- <Local/04xxxxxxx@a2billing-00000004;2> Playing 'digits/8.gsm' (language 'en')
-- <Local/04xxxxxxx@a2billing-00000004;2> Playing 'digits/thousand.gsm' (language 'en')
-- <Local/04xxxxxxx@a2billing-00000004;2> Playing 'digits/8.gsm' (language 'en')
-- Playing 'credit' (escape_digits=#) (sample_offset 0)
-- Playing 'vm-and' (escape_digits=#) (sample_offset 0)
-- <Local/04xxxxxxx@a2billing-00000004;2> Playing 'digits/20.gsm' (language 'en')
-- <Local/04xxxxxxx@a2billing-00000004;2> Playing 'digits/1.gsm' (language 'en')
-- Playing 'prepaid-cents' (escape_digits=#) (sample_offset 0)
-- <Local/04xxxxxxx@a2billing-00000004;2> Playing 'prepaid-enter-dest.gsm' (language 'en')
-- <Local/04xxxxxxx@a2billing-00000004;2> Playing 'prepaid-enter-dest.gsm' (language 'en')
-- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0)
-- <Local/04xxxxxxx@a2billing-00000004;2> Playing 'prepaid-enter-dest.gsm' (language 'en')
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/123-0000000c", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/123-0000000c", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/123-0000000c", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/123-0000000c", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/123-0000000c", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/123-0000000c", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/123-0000000c", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/123-0000000c", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/123-0000000c", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/123-0000000c", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/123-0000000c", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/123-0000000c", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/123-0000000c", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/123-0000000c>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/123-0000000c", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/123-0000000c' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/123-0000000c'
== Spawn extension (macro-dialout-trunk, s, 30) exited non-zero on 'SIP/123-0000000c' in macro 'dialout-trunk'
== Spawn extension (from-internal, 04xxxxxxx, 5) exited non-zero on 'SIP/123-0000000c'

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/