MODAPP-409 - update default config with commented out examples

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17082 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Rupa Schomaker 2010-03-23 17:14:01 +00:00
parent 8f273eed5f
commit 39255be81c
1 changed files with 14 additions and 0 deletions

View File

@ -16,6 +16,20 @@
<!-- The column name for the unique ID identifying the account -->
<param name="db_column_account" value="id"/>
<!-- Custom SQL for loading current balance - overides column names
channel vars are interpreted.
field nibble_balance is used for balance info
<param name="custom_sql_lookup" value="SELECT cash AS nibble_balance FROM accounts WHERE account_code='${nibble_account}'"/>
-->
<!-- Custom SQL for loading current balance - overides column names
channel vars are interpreted.
nibble_increment is the amount to update
<param name="custom_sql_save" value="UPDATE accounts SET cash=cash-${nibble_increment} WHERE account_code='${nibble_account}'"/>
-->
<!-- Default heartbeat interval. Set to 'off' for no heartbeat (i.e. bill only at end of call) -->
<param name="global_heartbeat" value="60"/>