THE PROBLEM:
-------------------
I cannot place any outgoing calls on our new T1 line. I can call other extensions without any trouble.
THE SPECS (most of them copied and pasted from the GUI):
--------------------------
----------
----------
----------
----------
------
Asterisk 1.4.18.1 (running AsteriskNOW - the 64-bit version)
Wildcard (Digium) TE121 with VPMADT032, Card 1 - Port undefined (span_1) - current config:
Alarms: OK
Framing/Coding: ESF/B8ZS
Channels: 23/24 (T1)
Signalling: PRI - CPE
Switch Type: National ISDN 2 (default)
Sync/Clock Source: 0
Line Build Out: 0 db (CSU)/0-133 feet (DSX-1)
Channels: Use 23
The server is plugged into the local network as 192.168.1.80, and we hacked together a T1 crossover cable to connect it to the Cisco hardware router that came with the new T1 line. I watched the T1 tech guy place an outgoing call using his toolkit after installing everything, so I know outgoing is working.
THE SETUP SO FAR:
-------------------------
I went to the shell, SU-ed to root, and ran register, then registered 23 channels for G.729 codec (purchased from Digium today).
I've set up one user (extension 1109 - I changed the starting extension range to 1000) in the system and used the X-Lite softphone on my desktop to successfully log in.
I've also been able to use X-Lite to dial 1109 and also dial 7000 (the default IVR). Both extensions connect successfully.
I've updated the Calling Rules in the GUI to look like this:
International - begins with 9011 and followed by 7 or more digits - Call using Span 1
Local - begins with 9 and followed by 7 or more digits - Call using Span 1
911 - begins with 911 anad followed by 0 or more digits - Call using Span 1
Longdistance - Begins with 91 and followed by 10 or more digits - Call using Span 1
I've set up one Incoming Call rule to point to the default IVR.
The /etc/asterisk/zapata.conf file contains almost nothing. It just looks like this:
[trunkgroups]
[channels]
Here are the last several lines from the Asterisk Logs after a reboot:
[Jun 11 14:56:08] NOTICE[4187] loader.c: 1 modules will be loaded.
[Jun 11 14:56:08] NOTICE[4187] cdr.c: CDR simple logging enabled.
[Jun 11 14:56:08] NOTICE[4187] loader.c: 158 modules will be loaded.
[Jun 11 14:56:08] NOTICE[4187] res_odbc.c: Adding ENV var: INFORMIXSERVER=my_special_
database
[Jun 11 14:56:08] NOTICE[4187] res_odbc.c: Adding ENV var: INFORMIXDIR=/opt/informix
[Jun 11 14:56:08] NOTICE[4187] res_odbc.c: res_odbc loaded.
[Jun 11 14:56:08] NOTICE[4187] config.c: Registered Config Engine odbc
[Jun 11 14:56:09] ERROR[4187] res_config_pgsql.c: Postgresql RealTime: Failed to connect database server asterisk on 127.0.0.1. Check debug for more info.
[Jun 11 14:56:09] WARNING[4187] res_config_pgsql.c: Postgresql RealTime: Couldn't establish connection. Check debug.
[Jun 11 14:56:09] NOTICE[4187] config.c: Registered Config Engine pgsql
[Jun 11 14:56:09] WARNING[4187] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Jun 11 14:56:10] WARNING[4187] pbx.c: Unable to register extension 's-BUSY', priority 1 in 'macro-trunkdial', already in use
[Jun 11 14:56:10] WARNING[4187] pbx.c: Unable to register extension '_s-.', priority 1 in 'macro-trunkdial', already in use
[Jun 11 14:56:10] NOTICE[4187] pbx_ael.c: Starting AEL load process.
[Jun 11 14:56:10] NOTICE[4187] pbx_ael.c: AEL load process: calculated config file name '/etc/asterisk/extensions.
ael'.
[Jun 11 14:56:10] NOTICE[4187] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.
ael'.
[Jun 11 14:56:10] NOTICE[4187] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.
ael'.
[Jun 11 14:56:10] NOTICE[4187] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.
ael'.
[Jun 11 14:56:10] NOTICE[4187] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.
ael'.
[Jun 11 14:56:10] NOTICE[4187] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.
ael'.
[Jun 11 14:56:10] ERROR[4187] chan_misdn.c: Unable to initialize mISDN
[Jun 11 14:56:10] NOTICE[4187] codec_g729a.c: G.729 transcoding module version 35, Copyright (C) 1999-2007 Digium, Inc.
[Jun 11 14:56:10] NOTICE[4187] codec_g729a.c: This module is supplied under a commercial license granted by Digium, Inc.
[Jun 11 14:56:10] NOTICE[4187] codec_g729a.c: Please see the full license text supplied by the accompanying
[Jun 11 14:56:10] NOTICE[4187] codec_g729a.c: "register" utility, or ask for a copy from Digium.
And that's where we are right now. I'm not sure what to do next.
Start Free Trial