my nibble.conf.xml <configuration name="nibblebill.conf" description="Nibble Billing"> <settings> <!-- Information for connecting to your database --> <!-- The database table where your CASH column is located --> <!-- The column name where we store the value of the account --> <!-- The column name for the unique ID identifying the account --> <!-- Default heartbeat interval. Set to 'off' for no heartbeat (i.e. bill only at end of call) --> <!-- By default, warn a caller when their balance is at $5.00. You can set this to a negative number. --> <!-- By default, terminate a caller when their balance hits $0.00. You can set this to a negative number. --> <!-- If a call goes beyond a certain dollar amount, flag or terminate it --> </settings> </configuration> Account 1001.xml <include> <user id="1001" mailbox="1001"> <params> </params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="accountcode" value="1001"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Extension 1001"/> <!--<variable name="nibble_rate" value="0.10"/> <variable name="nibble_account" value="1001"/>--> <variable name="effective_caller_id_number" value="1001"/> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/> <variable name="callgroup" value="techsupport"/> <variable name="name" value="Edmar"/> <variable name="label" value=""/> <variable name="areacode" value="63"/> <variable name="effective_caller_int_name" value=""/> <variable name="effective_caller_int_number" value=""/> <variable name="record_calls" value="false"/> <variable name="vm_active" value="true"/> <variable name="process_cdr" value="false"/> <variable name="cfwd_active" value="false"/> <variable name="cfwd_dest" value=""/> <variable name="cfwd_busyactive" value="false"/> <variable name="cfwd_busydest" value=""/> <variable name="cfwd_noansweractive" value="false"/> <variable name="cfwd_noanswerdest" value=""/> <variable name="cfwd_noanswerseconds" value=""/> <variable name="call_progressaudio" value="0"/> <variable name="allow_outbound" value="true"/> <variable name="allow_xfer" value="false"/> <variable name="hotline_active" value="true"/> <variable name="hotline_dest" value=""/> <variable name="classofservice" value="0"/> </variables> </user> </include> I check unixodbc has been installed. # isql zenoss edmar edmar [SQL]> Connected successfully but on freeswitch error Cannot connect to user ODBC [root] Darren Schreiber wrote:
What is in your ODBC settings in nibblebill.conf.xml ? Can you paste the real logs from FS's logs? The info below is not nearly detailed enough.
-----Original Message----- From: Edmar Cruz [mailto:darklion11@yahoo.com] Sent: Monday, June 15, 2009 6:44 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Error on mod_nibblebill cannot connect to ODBC
Hi
I experiencing an error on mod_nibblebill. I already load it from autoload_configs, especially mod_spidermonkey. Uncomment mod_spidermonkey_odbc. I also download unixodbc and created the files /etc/odbcinst.ini and /etc/odbc.ini with the correct format
[zenoss] DATABASE = tcapi USER = root PASS = password .....
I type also on the console isql zenoss root password. Also working...
But an error occur on freeswitch Cannot connect to user [root] ...
What do you thinks is the problem? -- View this message in context: http://www.nabble.com/Error-on-mod_nibblebill-cannot-connect-to-ODBC-tp24045 890p24045890.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- View this message in context: http://www.nabble.com/Error-on-mod_nibblebill-cannot-connect-to-ODBC-tp24045... Sent from the Freeswitch-users mailing list archive at Nabble.com.