SIP Users doesnt detect after patch the kernel

Hi All,
My Linux Machine now is using Kernel Linux 2.6.18-371.4.1.el5 and previusly im using Asterisk 1.6.2.10. After i patch the kernel the asterisk can not detect the sip user. I already recompile the asterisk but still didnt work properly.

Bellow the sample log that should work:
[Feb 25 20:00:55] WARNING[24085] config.c: Realtime mapping for ‘queue_members’ found to engine ‘mysql’, but the engine is not available
[Feb 25 20:00:55] WARNING[24085] res_config_mysql.c: MySQL realtime: no requirements setting found, using ‘warn’ as default.
[Feb 25 20:00:55] NOTICE[24085] config.c: Registered Config Engine mysql
[Feb 25 20:00:55] NOTICE[24085] config.c: Registered Config Engine curl
[Feb 25 20:00:56] NOTICE[24883] chan_sip.c: The ‘username’ field for sip peers has been deprecated in favor of the term ‘defaultuser’
[Feb 25 20:00:56] NOTICE[24883] chan_sip.c: Peer ‘8021’ is now Reachable. (19ms / 2000ms)
[Feb 25 20:01:16] NOTICE[24883] chan_sip.c: Peer ‘8022’ is now Reachable. (16ms / 2000ms)
[Feb 25 21:32:20] WARNING[32530] config.c: Realtime mapping for ‘queue_log’ found to engine ‘mysql’, but the engine is not available

But the current log is:
[Feb 25 21:16:11] WARNING[15352] config.c: Realtime mapping for ‘queue_log’ found to engine ‘mysql’, but the engine is not available
[Feb 25 21:16:11] NOTICE[15352] cdr.c: CDR simple logging enabled.
[Feb 25 21:16:11] NOTICE[15352] loader.c: 188 modules will be loaded.
[Feb 25 21:16:11] WARNING[15352] res_config_ldap.c: No directory user found, anonymous binding as default.
[Feb 25 21:16:11] ERROR[15352] res_config_ldap.c: No directory URL or host found.
[Feb 25 21:16:11] NOTICE[15352] res_config_ldap.c: Cannot load LDAP RealTime driver.
[Feb 25 21:16:11] NOTICE[15352] config.c: Registered Config Engine odbc
[Feb 25 21:16:11] NOTICE[15352] res_odbc.c: res_odbc loaded.
[Feb 25 21:16:11] NOTICE[15352] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Feb 25 21:16:11] WARNING[15352] res_config_mysql.c: MySQL realtime: no requirements setting found, using ‘warn’ as default.
[Feb 25 21:16:11] NOTICE[15352] config.c: Registered Config Engine mysql

Anybody can help me to troubleshoot this problem? Based on the above log my asterisk got the problem with the chan_sip.c.

There are no chan_sip related errors in that log.

Of the lines you highlighted, two indicate desirable conditions, and one indicates you may need to update your configuration file if you upgrade Asterisk.

The only thing that will be broken by changing the kernel is dahdi, which would mean that meetme would stop working and recorded sounds/tones may not play properly.

Hi David,
Thank for your reply.

Sorry i will correction my info. Actually i dont want to upgrade my asterisk. i’m still want to use my asterisk 1.6.2.10. Yah my problem now with the chan_sip. seems like the chan_sip didnt load when i try to start my asterisk. Any Suggestion to check? because when i try to do “sip show users” from CLI. The users is empty or no result.

Do module load chan_sip at the CLI prompt and see what errors you get.

Hi David,
I got the error message. module ‘chan_sip’ already exists.

For Additional information,
Actualy I’m using High Availabity to run Asterisk system. We are using Heartbeat and drbd to share all asterisk configuration and also Mysql Database. Asterisk 1 as a primary run very well. But the problem now is the Asterisk2 the secondary. When i’m doing the swing over from Asterisk1 to Asterisk2. Then we can’t make a call using the Asterisk2. The error is nothing just the user cant register to asterisk and when i try to check sip show peers using CLI didnt show anything. But after swing back using Asterisk1 everything is normal.

That means it did successfully load at start up!

Use “sip reload” or “module reload chan_sip” to see if there are any other load time error messages.