Can not receive or dial out using Xten

hank you in prior.

I have 2 questions.
One is very simple and the other not so simple (at least to me).

  1. On my Xten eyebeam soft phone, I am getting "peer to peer mode"
    Can someone tell me what this exactly means, commenting on external/internal calling.

  2. My Asterick is registering with the DID and service provider. However when i dial it it says “you have just dialed a number that is not in use”. I can see my IAX connected at their side

I have created an extension on my Xten and get a peer to peer status.
I think there is a problem with the (incoming/outgoing ) route pattern.

To provide you with more detail here is my Asterisk Log:

Aug 29 09:23:41] NOTICE[2516] cdr.c: CDR simple logging enabled.
[Aug 29 09:23:41] NOTICE[2516] loader.c: 157 modules will be loaded.
[Aug 29 09:23:42] NOTICE[2516] config.c: Registered Config Engine odbc
[Aug 29 09:23:42] WARNING[2516] res_config_pgsql.c: Postgresql RealTime: No database socket found, using ‘/tmp/pgsql.sock’ as default.
[Aug 29 09:23:42] ERROR[2516] res_config_pgsql.c: Postgresql RealTime: Failed to connect database server asterisk on 127.0.0.1. Check debug for more info.
[Aug 29 09:23:42] WARNING[2516] res_config_pgsql.c: Postgresql RealTime: Couldn’t establish connection. Check debug.
[Aug 29 09:23:42] NOTICE[2516] config.c: Registered Config Engine pgsql
[Aug 29 09:23:44] NOTICE[2516] res_odbc.c: Adding ENV var: INFORMIXSERVER=my_special_database
[Aug 29 09:23:44] NOTICE[2516] res_odbc.c: Adding ENV var: INFORMIXDIR=/opt/informix
[Aug 29 09:23:44] NOTICE[2516] res_odbc.c: Connecting asterisk
[Aug 29 09:23:44] WARNING[2516] res_odbc.c: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified
[Aug 29 09:23:44] WARNING[2516] res_odbc.c: Failed to connect to asterisk
[Aug 29 09:23:44] NOTICE[2516] res_odbc.c: Registered ODBC class ‘asterisk’ dsn->[asterisk]
[Aug 29 09:23:44] NOTICE[2516] res_odbc.c: res_odbc loaded.
[Aug 29 09:23:44] WARNING[2516] res_smdi.c: No SMDI interfaces are available to listen on, not starting SDMI listener.
[Aug 29 09:23:44] ERROR[2516] chan_misdn.c: Unable to initialize mISDN
[Aug 29 09:23:44] NOTICE[2516] pbx_ael.c: Starting AEL load process.
[Aug 29 09:23:44] NOTICE[2516] pbx_ael.c: AEL load process: calculated config file name ‘/etc/asterisk/extensions.ael’.
[Aug 29 09:23:44] WARNING[2516] ael.y: ==== File: /etc/asterisk/extensions.ael, Line 112, Cols: 34-34: Warning! The empty context ael-dundi-e164-canonical will be IGNORED!
[Aug 29 09:23:44] WARNING[2516] ael.y: ==== File: /etc/asterisk/extensions.ael, Line 120, Cols: 34-34: Warning! The empty context ael-dundi-e164-customers will be IGNORED!
[Aug 29 09:23:44] WARNING[2516] ael.y: ==== File: /etc/asterisk/extensions.ael, Line 128, Cols: 33-33: Warning! The empty context ael-dundi-e164-via-pstn will be IGNORED!
[Aug 29 09:23:44] NOTICE[2516] pbx_ael.c: AEL load process: parsed config file name ‘/etc/asterisk/extensions.ael’.
[Aug 29 09:23:45] WARNING[2516] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 141-145: The included context ‘ael-dundi-e164-canonical’ cannot be found.
[Aug 29 09:23:45] WARNING[2516] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 141-145: The included context ‘ael-dundi-e164-customers’ cannot be found.
[Aug 29 09:23:45] WARNING[2516] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 141-145: The included context ‘ael-dundi-e164-via-pstn’ cannot be found.
[Aug 29 09:23:45] WARNING[2516] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 276-283: The included context ‘ael-parkedcalls’ cannot be found.
[Aug 29 09:23:45] NOTICE[2516] pbx_ael.c: AEL load process: checked config file name ‘/etc/asterisk/extensions.ael’.
[Aug 29 09:23:45] NOTICE[2516] pbx_ael.c: AEL load process: compiled config file name ‘/etc/asterisk/extensions.ael’.
[Aug 29 09:23:45] NOTICE[2516] pbx_ael.c: AEL load process: merged config file name ‘/etc/asterisk/extensions.ael’.
[Aug 29 09:23:45] WARNING[2516] pbx.c: Context ‘ael-local’ tries includes nonexistent context ‘ael-parkedcalls’
[Aug 29 09:23:45] WARNING[2516] pbx.c: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-canonical’
[Aug 29 09:23:45] WARNING[2516] pbx.c: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-customers’
[Aug 29 09:23:45] WARNING[2516] pbx.c: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-via-pstn’
[Aug 29 09:23:45] NOTICE[2516] pbx_ael.c: AEL load process: verified config file name ‘/etc/asterisk/extensions.ael’.
[Aug 29 09:23:45] WARNING[2516] frame.c: Cannot disallow unknown format ‘’
[Aug 29 09:23:45] WARNING[2516] frame.c: Cannot disallow unknown format ‘’
[Aug 29 09:24:25] WARNING[2516] pbx.c: Context ‘ael-local’ tries includes nonexistent context ‘ael-parkedcalls’
[Aug 29 09:24:25] WARNING[2516] pbx.c: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-canonical’
[Aug 29 09:24:25] WARNING[2516] pbx.c: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-customers’
[Aug 29 09:24:25] WARNING[2516] pbx.c: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-via-pstn’
[Aug 29 12:12:31] NOTICE[2511] cdr.c: CDR simple logging enabled.
[Aug 29 12:12:31] NOTICE[2511] loader.c: 157 modules will be loaded.
[Aug 29 12:12:32] NOTICE[2511] config.c: Registered Config Engine odbc
[Aug 29 12:12:33] WARNING[2511] res_config_pgsql.c: Postgresql RealTime: No database socket found, using ‘/tmp/pgsql.sock’ as default.
[Aug 29 12:12:33] ERROR[2511] res_config_pgsql.c: Postgresql RealTime: Failed to connect database server asterisk on 127.0.0.1. Check debug for more info.
[Aug 29 12:12:33] WARNING[2511] res_config_pgsql.c: Postgresql RealTime: Couldn’t establish connection. Check debug.
[Aug 29 12:12:33] NOTICE[2511] config.c: Registered Config Engine pgsql
[Aug 29 12:12:35] NOTICE[2511] res_odbc.c: Adding ENV var: INFORMIXSERVER=my_special_database
[Aug 29 12:12:35] NOTICE[2511] res_odbc.c: Adding ENV var: INFORMIXDIR=/opt/informix
[Aug 29 12:12:35] NOTICE[2511] res_odbc.c: Connecting asterisk
[Aug 29 12:12:35] WARNING[2511] res_odbc.c: res_odbc: Error SQLConnect=-1 errno=0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified
[Aug 29 12:12:35] WARNING[2511] res_odbc.c: Failed to connect to asterisk
[Aug 29 12:12:35] NOTICE[2511] res_odbc.c: Registered ODBC class ‘asterisk’ dsn->[asterisk]
[Aug 29 12:12:35] NOTICE[2511] res_odbc.c: res_odbc loaded.
[Aug 29 12:12:35] WARNING[2511] res_smdi.c: No SMDI interfaces are available to listen on, not starting SDMI listener.
[Aug 29 12:12:36] ERROR[2511] chan_misdn.c: Unable to initialize mISDN
[Aug 29 12:12:36] NOTICE[2511] pbx_ael.c: Starting AEL load process.
[Aug 29 12:12:36] NOTICE[2511] pbx_ael.c: AEL load process: calculated config file name ‘/etc/asterisk/extensions.ael’.
[Aug 29 12:12:36] WARNING[2511] ael.y: ==== File: /etc/asterisk/extensions.ael, Line 112, Cols: 34-34: Warning! The empty context ael-dundi-e164-canonical will be IGNORED!
[Aug 29 12:12:36] WARNING[2511] ael.y: ==== File: /etc/asterisk/extensions.ael, Line 120, Cols: 34-34: Warning! The empty context ael-dundi-e164-customers will be IGNORED!
[Aug 29 12:12:36] WARNING[2511] ael.y: ==== File: /etc/asterisk/extensions.ael, Line 128, Cols: 33-33: Warning! The empty context ael-dundi-e164-via-pstn will be IGNORED!
[Aug 29 12:12:36] NOTICE[2511] pbx_ael.c: AEL load process: parsed config file name ‘/etc/asterisk/extensions.ael’.
[Aug 29 12:12:36] WARNING[2511] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 141-145: The included context ‘ael-dundi-e164-canonical’ cannot be found.
[Aug 29 12:12:36] WARNING[2511] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 141-145: The included context ‘ael-dundi-e164-customers’ cannot be found.
[Aug 29 12:12:36] WARNING[2511] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 141-145: The included context ‘ael-dundi-e164-via-pstn’ cannot be found.
[Aug 29 12:12:36] WARNING[2511] pbx_ael.c: Warning: file /etc/asterisk/extensions.ael, line 276-283: The included context ‘ael-parkedcalls’ cannot be found.
[Aug 29 12:12:36] NOTICE[2511] pbx_ael.c: AEL load process: checked config file name ‘/etc/asterisk/extensions.ael’.
[Aug 29 12:12:36] NOTICE[2511] pbx_ael.c: AEL load process: compiled config file name ‘/etc/asterisk/extensions.ael’.
[Aug 29 12:12:36] NOTICE[2511] pbx_ael.c: AEL load process: merged config file name ‘/etc/asterisk/extensions.ael’.
[Aug 29 12:12:36] WARNING[2511] pbx.c: Context ‘ael-local’ tries includes nonexistent context ‘ael-parkedcalls’
[Aug 29 12:12:36] WARNING[2511] pbx.c: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-canonical’
[Aug 29 12:12:36] WARNING[2511] pbx.c: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-customers’
[Aug 29 12:12:36] WARNING[2511] pbx.c: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-via-pstn’
[Aug 29 12:12:36] NOTICE[2511] pbx_ael.c: AEL load process: verified config file name ‘/etc/asterisk/extensions.ael’.
[Aug 29 12:12:36] WARNING[2511] frame.c: Cannot disallow unknown format ‘’
[Aug 29 12:12:36] WARNING[2511] frame.c: Cannot disallow unknown format ‘’
[Aug 29 12:12:37] WARNING[2511] pbx.c: Context ‘ael-local’ tries includes nonexistent context ‘ael-parkedcalls’
[Aug 29 12:12:37] WARNING[2511] pbx.c: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-canonical’
[Aug 29 12:12:37] WARNING[2511] pbx.c: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-customers’
[Aug 29 12:12:37] WARNING[2511] pbx.c: Context ‘ael-dundi-e164-local’ tries includes nonexistent context ‘ael-dundi-e164-via-pstn’

astetcdir=/etc/asterisk
astmoddir=/usr/lib/asterisk/modules
astvarlibdir=/var/lib/asterisk
astdatadir=/var/lib/asterisk
astagidir=/var/lib/asterisk/agi-bin
astspooldir=/var/spool/asterisk
astrundir=/var/run
astlogdir=/var/log/asterisk