hi <div>for nibblebill.conf.xml i have this </div><div><div><configuration name="nibblebill.conf" description="Nibble Billing"></div><div> <settings></div><div> <!-- See <a href="http://wiki.freeswitch.org/wiki/Mod_nibblebill">http://wiki.freeswitch.org/wiki/Mod_nibblebill</a> for help with these options --></div>
<div><br></div><div> <!-- Information for connecting to your database --></div><div> <param name="db_username" value="root"/></div><div> <param name="db_password" value="rootpass"/></div>
<div> <param name="db_dsn" value="fs_conect"/></div><div><br></div><div>also fs_connect is recognized when i issue command isql </div><div><br></div><div>please help </div><div><br></div><div>
<br></div><br><div class="gmail_quote">On Wed, Oct 20, 2010 at 3:15 PM, Nyamul Hassan <span dir="ltr"><<a href="mailto:mnhassan@usa.net">mnhassan@usa.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Check the debug log you posted earlier. The first line says all about it.<br>
<br>
For nibble bill, you put it in the conf.xml file for nibble bill.<br>
<div><div></div><div class="h5"><br>
Regards<br>
HASSAN<br>
<br>
<br>
On 2010-10-20, budi wibowo <<a href="mailto:bwibowo@gmail.com">bwibowo@gmail.com</a>> wrote:<br>
> hi hassan<br>
> dns name is fs_connect, where i hould put that parameter?<br>
><br>
><br>
> regards<br>
><br>
> budi<br>
><br>
> On Wed, Oct 20, 2010 at 2:25 PM, Nyamul Hassan <<a href="mailto:mnhassan@usa.net">mnhassan@usa.net</a>> wrote:<br>
><br>
>> As per the debug logs, the name of the dsn is missing a "n" inside<br>
>> FreeSWITCH.<br>
>><br>
>> Regards<br>
>> HASSAN<br>
>><br>
>><br>
>> On 2010-10-20, budi wibowo <<a href="mailto:bwibowo@gmail.com">bwibowo@gmail.com</a>> wrote:<br>
>> > dear all<br>
>> ><br>
>> > i install mod_nibblebil on centos 5.5 according to steps in<br>
>> > <a href="http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core" target="_blank">http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core</a><br>
>> ><br>
>> > odbc.ini config:<br>
>> > [fs_connect]<br>
>> > Driver = mySQL<br>
>> > SERVER = localhost<br>
>> > PORT = 3306<br>
>> > DATABASE = fs<br>
>> > OPTION = 67108864<br>
>> > Socket = /var/lib/mysql/mysql.sock<br>
>> ><br>
>> > switch.conf.xml i add this<br>
>> ><br>
>> > <param name="odbc-dsn" value="fs_connect:root:rootpass" /><br>
>> ><br>
>> > if i execute isql fs_connect root rootpass it's the result<br>
>> > +---------------------------------------+<br>
>> > | Connected! |<br>
>> > | |<br>
>> > | sql-statement |<br>
>> > | help [tablename] |<br>
>> > | quit |<br>
>> > | |<br>
>> > +---------------------------------------+<br>
>> > SQL><br>
>> ><br>
>> ><br>
>> > but i found this error, where's my mistake ?<br>
>> ><br>
>> > i 2010-10-20 07:20:39.411254 [CRIT] switch_odbc.c:210 The sql server is<br>
>> not<br>
>> > responding for DSN fs_conect [STATE: 08003 CODE 0 ERROR:<br>
>> [unixODBC][Driver<br>
>> > Manager]Connnection does not exist<br>
>> > ][169]<br>
>> > 2010-10-20 07:20:39.411254 [CRIT] switch_odbc.c:218 The connection could<br>
>> not<br>
>> > be re-established<br>
>> > 2010-10-20 07:20:40.412241 [ERR] switch_odbc.c:318 STATE: IM002 CODE 0<br>
>> > ERROR: [unixODBC][Driver Manager]Data source name not found, and no<br>
>> default<br>
>> > driver specified<br>
>> ><br>
>> > 2010-10-20 07:20:40.412241 [CRIT] switch_odbc.c:210 The sql server is<br>
>> > not<br>
>> > responding for DSN fs_conect [STATE: 08003 CODE 0 ERROR:<br>
>> [unixODBC][Driver<br>
>> > Manager]Connnection does not exist<br>
>> > ][169]<br>
>> > 2010-10-20 07:20:40.412241 [CRIT] switch_odbc.c:218 The connection could<br>
>> not<br>
>> > be re-established<br>
>> > 2010-10-20 07:20:41.412257 [ERR] switch_odbc.c:318 STATE: IM002 CODE 0<br>
>> > ERROR: [unixODBC][Driver Manager]Data source name not found, and no<br>
>> default<br>
>> > driver specified<br>
>> ><br>
>> > 2010-10-20 07:20:41.412257 [CRIT] switch_odbc.c:210 The sql server is<br>
>> > not<br>
>> > responding for DSN fs_conect [STATE: 08003 CODE 0 ERROR:<br>
>> [unixODBC][Driver<br>
>> > Manager]Connnection does not exist<br>
>> ><br>
>> ><br>
>> ><br>
>> > regards<br>
>> ><br>
>> > budi<br>
>> ><br>
>><br>
>> --<br>
>> Sent from my mobile device<br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
><br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Sent from my mobile device<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>