Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 25, 2024 2:12 am
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: max call time and ringback/voip clients
PostPosted: Tue Nov 19, 2013 3:20 pm 
Offline

Joined: Thu Apr 05, 2012 8:12 am
Posts: 48
Hi all,

I just would like to share something that I discovered last weekend about the ringback generation and max call time calculation.

Due to a long post dial delay (due to operators processing the call - looking for new ones) I decided to play a false ringback to my voip customers. I did it by adding the "r" letter to the Dial command: dialcommand_param = ,60,HLr(%timeout%:61000). Doing that I assumed that the max call time is still going calculated before the call is progressed (based on the dest prefix and the tarif, SIMULTANEOUS ACCESS = INDIVIDUAL). I could not be more wrong.

Few customers (I assume not intentionally) ended up with a negative balance in their accounts.

I did a bit of research and discovered that the "r" letter made a huge difference; it should be as the first option - ,60,rHL(%timeout%:61000:30000); I also added the low balance warning so 30 before the call is going to be cut off an announcement is played.

I hope this will save some time whoever experiences similar issue... :-)

Marcin


Top
 Profile  
 
 Post subject: Re: max call time and ringback/voip clients
PostPosted: Wed Nov 20, 2013 8:48 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

Yes, the L switch belongs to the stuff in brackets so has to go next to it, see https://wiki.asterisk.org/wiki/display/ ... ation_Dial for more dial command parameters.

Joe


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 40 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