[Freeswitch-users] NibbleBill not Hangup

Social Boh social at bohboh.info
Wed Sep 26 14:00:32 UTC 2018


Hello

my mistake. Thank you for answer.

regards

---
I'm SoCIaL, MayBe

El 26/09/2018 a las 04:51, Madovsky escribió:
> Do you have any extension named "hangup" in your default dialplan?
>
> On 9/25/2018 9:28 AM, Social Boh wrote:
>> 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
>>
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
>




More information about the FreeSWITCH-users mailing list