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

A2billing call never disconnected with ending balance
http://forum.asterisk2billing.org/viewtopic.php?f=34&t=9986
Page 1 of 1

Author:  s_m_alhakim [ Wed Aug 29, 2012 11:18 am ]
Post subject:  A2billing call never disconnected with ending balance

Hi
I have Elastix 2.3.0 with A2billing 1.9.4
My problem is the call not disconnected in 2 status:
1- when minimum credit to make call in agi-conf set to example $0.01 and user credit is same = $0.01 in this case prompt play "prepaid-no-enough-credit" but call made to route and connected and stop never
2- when user make call and its has right for example 2 min but never disconnected , IVR prompt caller you have 2 minutes to talking but it is never disconnected

in both balance going to negative mode , please help me how I can solve this problem
in first case the call should not be make and in second the system should disconnect it on time.
Thanks.

Author:  siava [ Tue Jul 02, 2013 7:35 pm ]
Post subject:  Re: A2billing call never disconnected with ending balance

bump. same #1 problem same a2b v. on asterisk CLI>

I see author solved his problem on elastix forum, good for him
obviously solution to convert dial plan is not what v.10.12 asterisk whats

I couldn't workaround with this some quite time or make lots of tests because this on production already, so what I did was limiting a minimum amount of credit to use the application, and only then prompt to enter a new PIN number, before this calls simply went through.

mine set to 8 cents
Code:
Min Call Credit    min_credit_2call    0.08


key "min_credit_2call" above saved me and ask to enter PIN,
on other hand PIN-responsible key "notenoughcredit_cardnumber" is not working for me:

"if user doesn't have enough credit to call a destination, prompt him to enter another cardnumber"
Code:
Not Enough Credit    notenoughcredit_cardnumber    Yes
It simply asking to enter destination instead of PIN, this key is not works

asterisk not happy too:
WARNING[3161]: features.c:7510 ast_bridge_timelimit: Bridge does not accept L(0), hanging up.

what is L? if option from dial command, isn't suppose to limit calls like any normal asterisk? and yet this should be supported, I'm missing some puzzle, web-search finds nothing. I can't fix this, hope someone there solved this
Code:
,60,HRL(%timeout%:61000:30000)

here is user afadxb had similar problem but no updates left there viewtopic.php?f=22&t=5570

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