Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Wed Sep 18, 2019 9:49 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: A2billing 2.0.16 balance negative, credit reached 0
PostPosted: Wed Dec 24, 2014 7:20 pm 
Offline

Joined: Sat Aug 29, 2009 1:12 am
Posts: 2
I just installed a2billing 2.0.16 and I noticed that the balanced goes to negative, and the calls continued even if the balance reaches 0 dollar. I browse the forum and everyone is saying to look into the dialcommand_param. Below is my configuration on the three areas where there is a dialcommand_param under the Global_list:
dialcommand_param_call_2did - |60|HiL(%timeout%:61000:30000);
dialcommand_param - |60|HRrL(%timeout%:61000:30000);
dialcommand_param_sipiax_friend - |60|HiL(%timeout%:61000:30000);

I debug the call flow and the computation of the %timeout% is correct, but for some reason it doesn't hangup the call even if the balance of the credit reaches 0:
AGI Script Executing Application: (DIAL) Options: (IAX2/SIPGATE_211/15142942365,60,HRrL(60000:61000:30000))
> Limit Data for this call:
> timelimit = 60000 ms (60.000 s)
> play_warning = 31000 ms (31.000 s)
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000 ms (30.000 s)
> start_sound =
> warning_sound = timeleft
> end_sound =

Is there anything that I need to look at and check on my configuration? Thank you.

PS. I am using PIAF with Freepbx 2.11.


Top
 Profile  
 
 Post subject: Re: A2billing 2.0.16 balance negative, credit reached 0
PostPosted: Thu Dec 25, 2014 5:35 pm 
Offline

Joined: Sat Aug 29, 2009 1:12 am
Posts: 2
I did some testing by removing the 2 parameters of the timeout and the call stops as soon as the credit balance reaches 0:
This is the call flow if I put the L(x:y:z):
-- AGI Script Executing Application: (DIAL) Options: (IAX2/SIPGATE_211/15147879327,60,HRgrL(60000:45000:30000))
> Limit Data for this call:
> timelimit = 60000 ms (60.000 s)
> play_warning = 45000 ms (45.000 s)
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000 ms (30.000 s)
> start_sound =
> warning_sound = timeleft
> end_sound =
-- Called IAX2/SIPGATE_211/15147879327

And this is the call flow when I only use L(x)

-- AGI Script Executing Application: (DIAL) Options: (IAX2/SIPGATE_211/15147879327,60,HRgrL(60000))
-- Setting call duration limit to 60.000 seconds.
-- Called IAX2/SIPGATE_211/15147879327
-- Call accepted by 192.168.15.40 (format ulaw)
-- Format for call is (ulaw)
-- Channel 'IAX2/5143162872-1972' unable to transfer
-- IAX2/SIPGATE_211-16597 answered IAX2/5143162872-1972


I am not sure if the one with the (y:z) options breaks the flow of the call that's why the call doesn't stop even if the credit balance reaches zero dollar.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 8 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