[Freeswitch-users] NibbleBill not Hangup
Social Boh
social at bohboh.info
Tue Sep 25 16:28:20 UTC 2018
Hello,
I have a problem with NibbleBill module.
If a user have 0 or less credit, FS not hangup the call:
[DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 1000
(balance = -0.003100)
[DEBUG] mod_nibblebill.c:523 Comparing -0.003100 to hangup balance of
0.000000, taking into account minimum charge of 0.000000
[DEBUG] mod_nibblebill.c:526 Balance of -0.003100 fell below allowed
amount of 0.000000! (Account 1000)
this is only appear at the end of the call.
In the configuration module I'm using:
<param name="global_heartbeat" value="60"/>
<param name="nobal_amt" value="0"/>
<param name="nobal_action" value="hangup XML default"/>
hangup extensión:
<include>
<extension name="hangup">
<condition field="destination_number" expression="^(hangup)$">
<action application="playback" data="beep.wav"/>
<action application="hangup"/>
</condition>
</extension>
</include>
dialplan:
<action application="set" data="nibble_rate=0.02"/>
<action application="set" data="nibble_account=${accountcode}"/>
Thank you
Regards
--
---
I'm SoCIaL, MayBe
More information about the FreeSWITCH-users
mailing list