Please help me to solve these problems

Hi,

i want to ask if it is possible to help me to solve some problems. I have installed asterisknow xen image and it is working almost fine. but in the logs there are some errors and i would like to solve these.

We use this server only with SIP, there is no hardware installed.

It will be good if i can disable some modules that is not need.

This is the log showed in asterisknow interface.

 [Jun 24 09:50:12] NOTICE[1312] cdr.c: CDR simple logging enabled.
[Jun 24 09:50:12] NOTICE[1312] loader.c: 159 modules will be loaded.
[Jun 24 09:50:12] NOTICE[1312] res_odbc.c: Adding ENV var: INFORMIXSERVER=my_special_database
[Jun 24 09:50:12] NOTICE[1312] res_odbc.c: Adding ENV var: INFORMIXDIR=/opt/informix
[Jun 24 09:50:12] NOTICE[1312] res_odbc.c: Connecting asterisk
[Jun 24 09:50:12] WARNING[1312] res_odbc.c: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified
[Jun 24 09:50:12] WARNING[1312] res_odbc.c: Failed to connect to asterisk
[Jun 24 09:50:12] NOTICE[1312] res_odbc.c: Registered ODBC class 'asterisk' dsn->[asterisk]
[Jun 24 09:50:12] NOTICE[1312] res_odbc.c: res_odbc loaded.
[Jun 24 09:50:12] WARNING[1312] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Jun 24 09:50:12] NOTICE[1312] config.c: Registered Config Engine odbc
[Jun 24 09:50:13] ERROR[1312] res_config_pgsql.c: Postgresql RealTime: Failed to connect database server asterisk on 127.0.0.1. Check debug for more info.
[Jun 24 09:50:13] WARNING[1312] res_config_pgsql.c: Postgresql RealTime: Couldn't establish connection. Check debug.
[Jun 24 09:50:13] NOTICE[1312] config.c: Registered Config Engine pgsql
[Jun 24 09:50:14] WARNING[1312] chan_iax2.c: Unable to open IAX timing interface: No such file or directory
[Jun 24 09:50:14] WARNING[1312] chan_sip.c: insecure=very at line 96 is deprecated; use insecure=port,invite instead
[Jun 24 09:50:15] NOTICE[1312] pbx_ael.c: Starting AEL load process.
[Jun 24 09:50:15] NOTICE[1312] pbx_ael.c: AEL load process: calculated config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:50:15] NOTICE[1312] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:50:15] WARNING[1312] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 276-283: The included context 'ael-parkedcalls' cannot be found.
[Jun 24 09:50:15] NOTICE[1312] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:50:15] NOTICE[1312] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:50:15] NOTICE[1312] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:50:15] WARNING[1312] pbx.c: Context 'ael-local' tries includes nonexistent context 'ael-parkedcalls'
[Jun 24 09:50:15] NOTICE[1312] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:50:15] ERROR[1312] chan_misdn.c: Unable to initialize mISDN
[Jun 24 09:50:15] NOTICE[1312] codec_g729a.c: G.729 transcoding module version 35, Copyright (C) 1999-2007 Digium, Inc.
[Jun 24 09:50:15] NOTICE[1312] codec_g729a.c: This module is supplied under a commercial license granted by Digium, Inc.
[Jun 24 09:50:15] NOTICE[1312] codec_g729a.c: Please see the full license text supplied by the accompanying
[Jun 24 09:50:15] NOTICE[1312] codec_g729a.c: "register" utility, or ask for a copy from Digium.
[Jun 24 09:50:15] WARNING[1312] codec_g729a.c: Failed to initialize G.729 copy protection!
[Jun 24 09:50:15] NOTICE[1655] chan_sip.c: Failed to authenticate on REGISTER to 'XXXXXX@sipgate.co.uk' (Tries 3)
[Jun 24 09:50:16] NOTICE[1655] chan_sip.c: Peer 'trunk_1' is now Reachable. (10ms / 2000ms)
[Jun 24 09:50:35] NOTICE[1655] chan_sip.c:    -- Registration for 'XXXXXX@sipgate.co.uk' timed out, trying again (Attempt #4)
[Jun 24 09:50:35] NOTICE[1655] chan_sip.c: Failed to authenticate on REGISTER to 'XXXXXX@sipgate.co.uk' (Tries 3)
[Jun 24 09:50:55] NOTICE[1655] chan_sip.c:    -- Registration for 'XXXXXX@sipgate.co.uk' timed out, trying again (Attempt #8)
[Jun 24 09:50:55] NOTICE[1655] chan_sip.c: Failed to authenticate on REGISTER to 'XXXXXX@sipgate.co.uk' (Tries 3)
[Jun 24 09:51:15] NOTICE[1655] chan_sip.c:    -- Registration for 'XXXXXX@sipgate.co.uk' timed out, trying again (Attempt #12)
[Jun 24 09:51:15] NOTICE[1655] chan_sip.c: Failed to authenticate on REGISTER to 'XXXXXX@sipgate.co.uk' (Tries 3)
[Jun 24 09:51:35] NOTICE[1655] chan_sip.c:    -- Registration for 'XXXXXX@sipgate.co.uk' timed out, trying again (Attempt #16)
[Jun 24 09:51:35] NOTICE[1655] chan_sip.c: Failed to authenticate on REGISTER to 'XXXXXX@sipgate.co.uk' (Tries 3)
[Jun 24 09:51:55] NOTICE[1655] chan_sip.c:    -- Registration for 'XXXXXX@sipgate.co.uk' timed out, trying again (Attempt #20)
[Jun 24 09:51:55] NOTICE[1655] chan_sip.c: Failed to authenticate on REGISTER to 'XXXXXX@sipgate.co.uk' (Tries 3)
[Jun 24 09:52:15] NOTICE[1655] chan_sip.c:    -- Registration for 'XXXXXX@sipgate.co.uk' timed out, trying again (Attempt #24)
[Jun 24 09:52:15] NOTICE[1655] chan_sip.c: Failed to authenticate on REGISTER to 'XXXXXX@sipgate.co.uk' (Tries 3)
[Jun 24 09:52:35] NOTICE[1655] chan_sip.c:    -- Registration for 'XXXXXX@sipgate.co.uk' timed out, trying again (Attempt #28)
[Jun 24 09:52:35] NOTICE[1655] chan_sip.c: Failed to authenticate on REGISTER to 'XXXXXX@sipgate.co.uk' (Tries 3)
[Jun 24 09:52:55] NOTICE[1655] chan_sip.c:    -- Registration for 'XXXXXX@sipgate.co.uk' timed out, trying again (Attempt #32)
[Jun 24 09:52:55] NOTICE[1655] chan_sip.c: Failed to authenticate on REGISTER to 'XXXXXX@sipgate.co.uk' (Tries 3)
[Jun 24 09:53:15] NOTICE[1655] chan_sip.c:    -- Registration for 'XXXXXX@sipgate.co.uk' timed out, trying again (Attempt #36)
[Jun 24 09:53:15] NOTICE[1655] chan_sip.c: Failed to authenticate on REGISTER to 'XXXXXX@sipgate.co.uk' (Tries 3)
[Jun 24 09:53:35] NOTICE[1655] chan_sip.c:    -- Registration for 'XXXXXX@sipgate.co.uk' timed out, trying again (Attempt #40)
[Jun 24 09:53:35] NOTICE[1655] chan_sip.c: Failed to authenticate on REGISTER to 'XXXXXX@sipgate.co.uk' (Tries 3)
[Jun 24 09:53:36] NOTICE[1761] cdr.c: CDR simple logging enabled.
[Jun 24 09:53:36] NOTICE[1761] res_odbc.c: Adding ENV var: INFORMIXSERVER=my_special_database
[Jun 24 09:53:36] NOTICE[1761] res_odbc.c: Adding ENV var: INFORMIXDIR=/opt/informix
[Jun 24 09:53:36] NOTICE[1761] res_odbc.c: Refreshing ODBC class 'asterisk' dsn->[asterisk]
[Jun 24 09:53:36] WARNING[1761] res_smdi.c: No SMDI interfaces were specified to listen on, not starting SDMI listener.
[Jun 24 09:53:36] NOTICE[1761] indications.c: Removed default indication country 'us'
[Jun 24 09:53:36] ERROR[1761] res_config_pgsql.c: Postgresql RealTime: Failed to connect database server asterisk on 127.0.0.1. Check debug for more info.
[Jun 24 09:53:36] WARNING[1761] res_config_pgsql.c: Postgresql RealTime: Couldn't establish connection. Check debug.
[Jun 24 09:53:36] WARNING[1761] chan_zap.c: Ignoring switchtype
[Jun 24 09:53:36] WARNING[1761] chan_zap.c: Ignoring signalling
[Jun 24 09:53:36] WARNING[1761] chan_zap.c: Ignoring rxwink
[Jun 24 09:53:36] WARNING[1761] pbx.c: Context 'ael-local' tries includes nonexistent context 'ael-parkedcalls'
[Jun 24 09:53:36] NOTICE[1761] pbx_ael.c: Starting AEL load process.
[Jun 24 09:53:36] NOTICE[1761] pbx_ael.c: AEL load process: calculated config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:53:36] NOTICE[1761] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:53:36] WARNING[1761] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 276-283: The included context 'ael-parkedcalls' cannot be found.
[Jun 24 09:53:36] NOTICE[1761] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:53:36] NOTICE[1761] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:53:36] NOTICE[1761] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:53:36] WARNING[1761] pbx.c: Context 'ael-local' tries includes nonexistent context 'ael-parkedcalls'
[Jun 24 09:53:36] NOTICE[1761] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:53:36] WARNING[1761] chan_misdn.c: chan_misdn is not initialized properly, still reloading ?
[Jun 24 09:53:36] NOTICE[1761] app_playback.c: Reloading say.conf
[Jun 24 09:59:30] NOTICE[2155] cdr.c: CDR simple logging enabled.
[Jun 24 09:59:30] NOTICE[2155] res_odbc.c: Adding ENV var: INFORMIXSERVER=my_special_database
[Jun 24 09:59:30] NOTICE[2155] res_odbc.c: Adding ENV var: INFORMIXDIR=/opt/informix
[Jun 24 09:59:30] NOTICE[2155] res_odbc.c: Refreshing ODBC class 'asterisk' dsn->[asterisk]
[Jun 24 09:59:30] WARNING[2155] res_smdi.c: No SMDI interfaces were specified to listen on, not starting SDMI listener.
[Jun 24 09:59:30] NOTICE[2155] indications.c: Removed default indication country 'us'
[Jun 24 09:59:30] ERROR[2155] res_config_pgsql.c: Postgresql RealTime: Failed to connect database server asterisk on 127.0.0.1. Check debug for more info.
[Jun 24 09:59:30] WARNING[2155] res_config_pgsql.c: Postgresql RealTime: Couldn't establish connection. Check debug.
[Jun 24 09:59:30] WARNING[2155] chan_zap.c: Ignoring switchtype
[Jun 24 09:59:30] WARNING[2155] chan_zap.c: Ignoring signalling
[Jun 24 09:59:30] WARNING[2155] chan_zap.c: Ignoring rxwink
[Jun 24 09:59:30] WARNING[2155] pbx.c: Context 'ael-local' tries includes nonexistent context 'ael-parkedcalls'
[Jun 24 09:59:30] NOTICE[2155] pbx_ael.c: Starting AEL load process.
[Jun 24 09:59:30] NOTICE[2155] pbx_ael.c: AEL load process: calculated config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:59:30] NOTICE[2155] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:59:30] WARNING[2155] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 276-283: The included context 'ael-parkedcalls' cannot be found.
[Jun 24 09:59:30] NOTICE[2155] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:59:30] NOTICE[2155] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:59:30] NOTICE[2155] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:59:30] WARNING[2155] pbx.c: Context 'ael-local' tries includes nonexistent context 'ael-parkedcalls'
[Jun 24 09:59:30] NOTICE[2155] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Jun 24 09:59:30] WARNING[2155] chan_misdn.c: chan_misdn is not initialized properly, still reloading ?
[Jun 24 09:59:30] NOTICE[2155] app_playback.c: Reloading say.conf
[Jun 24 10:05:30] NOTICE[2345] cdr.c: CDR simple logging enabled.
[Jun 24 10:05:30] NOTICE[2345] res_odbc.c: Adding ENV var: INFORMIXSERVER=my_special_database
[Jun 24 10:05:30] NOTICE[2345] res_odbc.c: Adding ENV var: INFORMIXDIR=/opt/informix
[Jun 24 10:05:30] NOTICE[2345] res_odbc.c: Refreshing ODBC class 'asterisk' dsn->[asterisk]
[Jun 24 10:05:30] WARNING[2345] res_smdi.c: No SMDI interfaces were specified to listen on, not starting SDMI listener.
[Jun 24 10:05:30] NOTICE[2345] indications.c: Removed default indication country 'us'
[Jun 24 10:05:30] ERROR[2345] res_config_pgsql.c: Postgresql RealTime: Failed to connect database server asterisk on 127.0.0.1. Check debug for more info.
[Jun 24 10:05:30] WARNING[2345] res_config_pgsql.c: Postgresql RealTime: Couldn't establish connection. Check debug.
[Jun 24 10:05:30] WARNING[2345] chan_zap.c: Ignoring switchtype
[Jun 24 10:05:30] WARNING[2345] chan_zap.c: Ignoring signalling
[Jun 24 10:05:30] WARNING[2345] chan_zap.c: Ignoring rxwink
[Jun 24 10:05:30] WARNING[2345] pbx.c: Unable to register extension '_X.', priority 1 in 'DID_trunk_1', already in use
[Jun 24 10:05:30] WARNING[2345] pbx.c: Context 'ael-local' tries includes nonexistent context 'ael-parkedcalls'
[Jun 24 10:05:30] NOTICE[2345] pbx_ael.c: Starting AEL load process.
[Jun 24 10:05:30] NOTICE[2345] pbx_ael.c: AEL load process: calculated config file name '/etc/asterisk/extensions.ael'.
[Jun 24 10:05:30] NOTICE[2345] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Jun 24 10:05:30] WARNING[2345] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 276-283: The included context 'ael-parkedcalls' cannot be found.
[Jun 24 10:05:30] NOTICE[2345] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Jun 24 10:05:30] NOTICE[2345] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Jun 24 10:05:30] NOTICE[2345] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Jun 24 10:05:30] WARNING[2345] pbx.c: Context 'ael-local' tries includes nonexistent context 'ael-parkedcalls'
[Jun 24 10:05:30] NOTICE[2345] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Jun 24 10:05:30] WARNING[2345] chan_misdn.c: chan_misdn is not initialized properly, still reloading ?
[Jun 24 10:05:30] NOTICE[2345] app_playback.c: Reloading say.conf
[Jun 24 10:07:16] NOTICE[2378] cdr.c: CDR simple logging enabled.
[Jun 24 10:07:16] NOTICE[2378] res_odbc.c: Adding ENV var: INFORMIXSERVER=my_special_database
[Jun 24 10:07:16] NOTICE[2378] res_odbc.c: Adding ENV var: INFORMIXDIR=/opt/informix
[Jun 24 10:07:16] NOTICE[2378] res_odbc.c: Refreshing ODBC class 'asterisk' dsn->[asterisk]
[Jun 24 10:07:16] WARNING[2378] res_smdi.c: No SMDI interfaces were specified to listen on, not starting SDMI listener.
[Jun 24 10:07:16] NOTICE[2378] indications.c: Removed default indication country 'us'
[Jun 24 10:07:16] ERROR[2378] res_config_pgsql.c: Postgresql RealTime: Failed to connect database server asterisk on 127.0.0.1. Check debug for more info.
[Jun 24 10:07:16] WARNING[2378] res_config_pgsql.c: Postgresql RealTime: Couldn't establish connection. Check debug.
[Jun 24 10:07:16] WARNING[2378] chan_zap.c: Ignoring switchtype
[Jun 24 10:07:16] WARNING[2378] chan_zap.c: Ignoring signalling
[Jun 24 10:07:16] WARNING[2378] chan_zap.c: Ignoring rxwink
[Jun 24 10:07:16] WARNING[2378] pbx.c: Unable to register extension '_X.', priority 1 in 'DID_trunk_1', already in use
[Jun 24 10:07:16] WARNING[2378] pbx.c: Context 'ael-local' tries includes nonexistent context 'ael-parkedcalls'
[Jun 24 10:07:16] NOTICE[2378] pbx_ael.c: Starting AEL load process.
[Jun 24 10:07:16] NOTICE[2378] pbx_ael.c: AEL load process: calculated config file name '/etc/asterisk/extensions.ael'.
[Jun 24 10:07:16] NOTICE[2378] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Jun 24 10:07:16] WARNING[2378] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 276-283: The included context 'ael-parkedcalls' cannot be found.
[Jun 24 10:07:16] NOTICE[2378] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Jun 24 10:07:16] NOTICE[2378] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Jun 24 10:07:16] NOTICE[2378] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Jun 24 10:07:16] WARNING[2378] pbx.c: Context 'ael-local' tries includes nonexistent context 'ael-parkedcalls'
[Jun 24 10:07:16] NOTICE[2378] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Jun 24 10:07:16] WARNING[2378] chan_misdn.c: chan_misdn is not initialized properly, still reloading ?
[Jun 24 10:07:16] NOTICE[2378] app_playback.c: Reloading say.conf
[Jun 24 10:10:07] WARNING[1655] chan_sip.c: Remote host can't match request NOTIFY to call '4a5f7cbc4c84dfcd47ce19cb1b91e2f0@87.XXX.XXX.XXX'. Giving up.
[Jun 24 10:25:20] WARNING[1655] chan_sip.c: Remote host can't match request NOTIFY to call '09d065bc61d1c26300a7477013ac8238@87.XXX.XXX.XXX'. Giving up.
[Jun 24 10:40:12] WARNING[1655] chan_sip.c: Remote host can't match request NOTIFY to call '4ae26a0409b81a88128b842d3c5c6354@87.XXX.XXX.XXX'. Giving up.
[Jun 24 10:55:16] WARNING[1655] chan_sip.c: Remote host can't match request NOTIFY to call '1d0c3b8241f7a4b56eb762687f322f04@87.XXX.XXX.XXX'. Giving up.

Which modules i can disable and how can i solve the rest of the problems?

Other problem is that we can call out, but can’t receive calls, what can be the reason for this?
Thanks in advanced!