I used asterisk for years (and still use it for voice mail and access numbers and call back), but switched regular outgoing calls to FS. And I don't want to look back at asterisk. * doesn't have the flexibility FS offers and I need. On Friday 26 March 2010, Jean-Yves F. Barbier wrote:
Le Fri, 26 Mar 2010 19:55:11 -0400,
Sergey Okhapkin <sos@sokhapkin.dyndns.org> a écrit :
Here is lua code I use instead of mod_nibblebill:
if(ANSWEREDTIME<=initblock) then CHARGETIME=initblock else incrs=math.floor((ANSWEREDTIME- initblock+billingblock-1)/billingblock); CHARGETIME=initblock+incrs*billingblock; end sessionbill=(CHARGETIME*calledrate)/60 + connfee;
I realise 2 things: 1- FS is even more powerful than all I read about it, 2- It's gonna take me "some" time to fully understand it...