hello i am trying to use res_odbc for sipuser. my connection is working. i have checked using isql. even cdr_odbc is working but i hav problem in res_odbc. i have created user in sip_buddies table but asterisk is no getting user from this sip_buddies table. /etc/asterisk/extconfig.conf [settings] sipusers=>odbc,asterisk,sip_buddies sippeers=>odbc,asterisk,sip_buddies /etc/asterisk/res_odbc.conf [asteirsk] dsn=>asteriskdsn username=>voipbilling password=>voipbilling pre-connect=>yes __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Have you looked in the debug log for any errors? Have you checked the ODBC connection using Asterisk CLI? I believe if you type 'odbc ?' then you will see a command to check the status of a connection. -Matthew Kamran Ahmad wrote:> hello > > i am trying to use res_odbc for sipuser. my connection > is working. i have checked using isql. even cdr_odbc > is working but i hav problem in res_odbc. i have > created user in sip_buddies table but asterisk is no > getting user from this sip_buddies table. > > /etc/asterisk/extconfig.conf > [settings] > sipusers=>odbc,asterisk,sip_buddies > sippeers=>odbc,asterisk,sip_buddies > > /etc/asterisk/res_odbc.conf > [asteirsk] > dsn=>asteriskdsn > username=>voipbilling > password=>voipbilling > pre-connect=>yes