Author: dschreiber Date: Thu Jan 15 01:58:23 2009 New Revision: 11220 Log: Checking in sample config file Added: freeswitch/trunk/scripts/contrib/dschreiber/mod_nibblebill/nibblebill.conf.xml Added: freeswitch/trunk/scripts/contrib/dschreiber/mod_nibblebill/nibblebill.conf.xml ============================================================================== --- (empty file) +++ freeswitch/trunk/scripts/contrib/dschreiber/mod_nibblebill/nibblebill.conf.xml Thu Jan 15 01:58:23 2009 @@ -0,0 +1,36 @@ +<configuration name="nibblebill.conf" description="Nibble Billing"> + <settings> + <!-- See http://wiki.freeswitch.org/index.php?title=Mod_nibblebill for help with these options --> + + <!-- Information for connecting to your database --> + <param name="db_username" value="bandwidth.com"/> + <param name="db_password" value="password"/> + <param name="db_dsn" value="bandwidth.com"/> + + <!-- The database table where your CASH column is located --> + <param name="db_table" value="accounts"/> + + <!-- The column name where we store the value of the account --> + <param name="db_column_cash" value="cash"/> + + <!-- The column name for the unique ID identifying the account --> + <param name="db_column_account" value="id"/> + + + <!-- Default heartbeat interval. Set to 'off' for no heartbeat (i.e. bill only at end of call) --> + <param name="global_heartbeat" value="60"/> + + <!-- By default, warn a caller when their balance is at $5.00. You can set this to a negative number. --> + <param name="lowbal_amt" value="5"/> + <param name="lowbal_action" value="play ding"/> + + <!-- By default, terminate a caller when their balance hits $0.00. You can set this to a negative number. --> + <param name="nobal_amt" value="0"/> + <param name="nobal_action" value="hangup"/> + + <!-- If a call goes beyond a certain dollar amount, flag or terminate it --> + <param name="percall_max_amt" value="100"/> + <param name="percall_action" value="hangup"/> + + </settings> +</configuration>