Hi,<br><br>Consider below mob_nibblebill configuration,<br><br><br><configuration name="nibblebill.conf" description="Nibble Billing"><br> <settings><br><br> <param name="db_username" value="root"/><br>
<param name="db_password" value="password"/><br> <param name="db_dsn" value="MySQL-freeswitch"/><br><br> <param name="db_table" value="accounts"/><br>
<br> <param name="db_column_cash" value="cash"/><br><br> <param name="db_column_account" value="id"/><br><br> <param name="global_heartbeat" value="60"/><br>
<br> <param name="lowbal_amt" value="5"/><br> <param name="lowbal_action" value="play ding"/><br><br> <param name="nobal_amt" value="0"/><br>
<param name="nobal_action" value="hangup"/><br><br> <param name="percall_max_amt" value="100"/><br> <param name="percall_action" value="hangup"/><br>
<br> </settings><br></configuration><br><br><br>When i put this configuration in /usr/local/freeswitch/conf/autoload_configs, everything works perfect as expected.<br><br>But when i call this configuration using mod_xml_curl, freeswitch does not loads mod_nibblebill configuration from it. I even debuged mod_xml_curl using console command,<br>
<br>xml_curl debug_on<br><br>and reload mod_nibblebill, I get exact same configuration from xml_curl but mod_nibblebill does not repect it and try to use default parameter values as mentioned below,<br><br><br>2009-10-20 16:58:23.396710 [ERR] switch_odbc.c:188 STATE: IM002 CODE 0 ERROR: [unixODBC][Driver Manager]Data source name not found, and no default driver specified<br>
<br>2009-10-20 16:58:23.396738 [CRIT] mod_nibblebill.c:221 Cannot connect to ODBC driver/database <a href="http://bandwidth.com">bandwidth.com</a> (user: <a href="http://bandwidth.com">bandwidth.com</a> / pass dev)!<br>2009-10-20 16:58:23.396800 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_nibblebill]<br>
<br>I am also loading various other configs from xml_curl without any problem, its only mod_nibblebill that is not honoring configuration provided by xml_curl.<br><br>Please advise if i am doing anything wrong.<br><br><br>
-- <br>Regards,<br><br>Ahmed Munir<br><br><br>