[Asterisk-Users] Asterisk with MySQL

Matthew Boehm mboehm at cytelcom.com
Fri Jan 7 12:05:16 MST 2005


ok.

you have in your res_odbc: dsn=> test

but you don't have a dsn called test in any of your odbc config stuff.

-Matthew

----- Original Message ----- 
From: "Muhammad Rizwan Khan" <rizwan at advcomm.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Friday, January 07, 2005 11:51 AM
Subject: Re: [Asterisk-Users] Asterisk with MySQL


>
> Please find the attached files,
>
> Thanks
>
> On Friday 07 January 2005 22:24, you wrote:
> > post your /etc/odbc.ini and /etc/odbcinst.ini
> >
> > -matthew
> >
> > ----- Original Message -----
> > From: "rizwan" <rizwan at advcomm.net>
> > To: <Asterisk-users at lists.digium.com>
> > Sent: Friday, January 07, 2005 10:19 AM
> > Subject: [Asterisk-Users] Asterisk with MySQL
> >
> > > Hello
> > >
> > > I am getting this error message, when i try to authenticate my users
> >
> > through
> >
> > > database.
> > >
> > > Jan  7 20:28:08 WARNING[26487]: res_config_odbc.c:69 realtime_odbc:
SQL
> >
> > Alloc
> >
> > > Handle failed! Jan  7 20:28:08 NOTICE[26487]: chan_sip.c:7974
> > > handle_request: Registration from 'rizwan <sip:1234567 at 192.168.0.147>'
> > > failed for '192.168.0.149'
> > >
> > > My conf files are:
> > >
> > > ;res_odbc.conf
> > > [test]
> > > dsn => test
> > > username => root
> > > password =>
> > > pre-connect => yes
> > >
> > > ;extensions.conf
> > > [test]
> > > switch => Realtime/@realtime_ext
> > >
> > > ;extconfig.conf
> > > sipfriends => odbc,test,sip_buddies
> > > realtime_ext => odbc,test,extensions_table
> > >
> > > Can you please help me, what to do here?
> > >
> > > Thanks
> > > _______________________________________________
> > > Asterisk-Users mailing list
> > > Asterisk-Users at lists.digium.com
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > To UNSUBSCRIBE or update options visit:
> > >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
>


----------------------------------------------------------------------------
----


> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list