[Freeswitch-users] Mod nibblebill account sharing
Meditel
meditel at gmail.com
Tue Nov 20 17:56:29 MSK 2012
Hi,
I am wondering if Mod nibblebill is able to handle well the case when
multiple users are using the same account.
This is my setup : Freeswitch + Mod nibblebill + MySQL
I have add one account with 1$ cash
I have two users sharing the same account.
Mod nibblebill configuration is the same for both users :
-------------------------------------------------------------------------------------
<variable name="nibble_rate" value="1"/>
<variable name="nibble_account" value="555"/>
<variable name="nibble_increment" value="60" />
And
<param name="nobal_amt" value="0"/>
<param name="nobal_action" value="hangup XML default"/>
<extension name="hangup">
<condition field="destination_number" expression="^(hangup)$">
<action application="playback" data="no_more_funds.wav"/>
<action application="hangup"/>
</condition>
</extension>
-------------------------------------------------------------------------------------
All working well if users are not calling at the same time.
But when both users try to call at the same time, they can both make 60sec
call (so 60+60 = 120sec) .. they have done 60sec for free :-(
Questions:
1. How to avoid the fraud when sharing the same account and knowing that
users can call at the same time ? (i don't like a make a heartbeat of 1sec
... it is not good for our database ...) & (I don't like to block the
account to be used by only one user at the same time)
2. May be we need to forget mod nibblebill and try using an other
solution ?
Thanks for sharing your knowledge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121120/dfcd0ca2/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list