<div dir="ltr"><div><div><div><div>I am using mod_nibblebill but heartbeat doesn&#39;t fire after specified value.<br></div>Here is my nibblebill.conf.xml file<br><br> &lt;configuration name=&quot;nibblebill.conf&quot; description=&quot;Nibble Billing&quot;&gt;<br>  &lt;settings&gt;<br>    &lt;!-- See <a href="http://wiki.freeswitch.org/wiki/Mod_nibblebill">http://wiki.freeswitch.org/wiki/Mod_nibblebill</a> for help with these options --&gt;<br><br>    &lt;!-- Information for connecting to your database --&gt;<br>    &lt;param name=&quot;odbc-dsn&quot; value=&quot;odbc://freeswitch&quot;/&gt;<br><br>    &lt;!-- The database table where your CASH column is located --&gt;<br>    &lt;param name=&quot;db_table&quot; value=&quot;users&quot;/&gt;<br><br>    &lt;!-- The column name where we store the value of the account --&gt;<br>    &lt;param name=&quot;db_column_cash&quot; value=&quot;balance&quot;/&gt;<br><br>    &lt;!-- The column name for the unique ID identifying the account --&gt;<br>    &lt;param name=&quot;db_column_account&quot; value=&quot;accountcode&quot;/&gt;<br><br>    &lt;!-- Custom SQL for loading current balance - overrides column names<br>         channel vars are interpreted.<br>         field nibble_balance is used for balance info<br><br>    &lt;param name=&quot;custom_sql_lookup&quot; value=&quot;SELECT cash AS nibble_balance FROM accounts WHERE account_code=&#39;${nibble_account}&#39;&quot;/&gt;<br>    --&gt;<br><br>    &lt;!-- Custom SQL for loading current balance - overrides column names<br>         channel vars are interpreted.<br>         nibble_increment is the amount to update<br><br>    &lt;param name=&quot;custom_sql_save&quot; value=&quot;UPDATE accounts SET cash=cash-${nibble_increment} WHERE account_code=&#39;${nibble_account}&#39;&quot;/&gt;<br>    --&gt;<br><br><br>    &lt;!-- Default heartbeat interval. Set to &#39;off&#39; for no heartbeat (i.e. bill only at end of call) --&gt;<br>    &lt;param name=&quot;global_heartbeat&quot; value=&quot;5&quot;/&gt;<br><br>    &lt;!-- By default, warn a caller when their balance is at $5.00. You can set this to a negative number. --&gt;<br>    &lt;param name=&quot;lowbal_amt&quot; value=&quot;5&quot;/&gt;<br>    &lt;param name=&quot;lowbal_action&quot; value=&quot;play ding&quot;/&gt;<br><br>    &lt;!-- By default, terminate a caller when their balance hits $0.00. You can set this to a negative number. --&gt;<br>    &lt;param name=&quot;nobal_amt&quot; value=&quot;0&quot;/&gt;<br>    &lt;param name=&quot;nobal_action&quot; value=&quot;hangup XML default&quot;/&gt;<br><br>    &lt;!-- If a call goes beyond a certain dollar amount, flag or terminate it --&gt;<br>    &lt;param name=&quot;percall_max_amt&quot; value=&quot;0.001&quot;/&gt;<br>    &lt;param name=&quot;percall_action&quot; value=&quot;hangup&quot;/&gt;<br><br>  &lt;/settings&gt;<br>&lt;/configuration&gt;<br><br><br></div>After works perfectly after i set heartbeat from fs_cli for current session.<br></div>Why heartbeat is not being fired from nibble.conf.xml file.?<br></div>Thanks in advance.!<br><div><div><div><div><br></div></div></div></div></div>