Asterisk 1.6 SIP Realtime : Registration failed

Hi all,

I am new to this ARA and Realtime paradigm in asterisk. I did setup things as in the voip-info tutorial http://www.voip-info.org/wiki/view/Asterisk+RealTime+Sip, my asterisk and ODBC.

Name: mysql2
DSN: MySQL-asterisk
Pooled: Yes
Limit: 5
Connections in use: 1
- Connection 1: connected

All my database’s are inserted with values, as given in the tutorial. But when I try to register my X-Lite, I get the following error :frowning:

NOTICE[3413]: chan_sip.c:18390 handle_request_register: Registration from ‘"1234sip:1234@xxx.xxx.xxx.xxx’ failed for ‘yyy.yyy.yyy.yyy’ - No matching peer found.

Username is 1234, password is 1234.
Where, xxx’s and yyy’s are different. I am asking X-Lite to register to the domain.

I played around too much with this but still cant get out of it. I am giving the right username and the right password too :frowning: :frowning: :frowning: . The asterisk log shows that ODBC connection to the database did succeed…Please help

Thank you
ashterisk

I am not sure what was the problem…may be ny ODBC driver was not set propely or unknown… :question:

I switched from ODBC to MySql…works awesome!!! 8)

I will try to get back to original configuration and post why it went wrong with my ODBC…

Thank you