Asterisk does not answer incoming calls


#1

I am new to * and am trying to setup an * server to replace our existing PBX. I cannot get inbound calls to be answered.

Our configuration is as follows:
Telco (raw T1) -> CSU/DSU + -> 17 Channels Data
|
+ -> 7 Channels voice -> PBX/* -> SIP phones

I am using AAH 2.8 and a Digium TE110P T1 card

I have setup zaptel.conf as follows:

# Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order


# Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0"
# channel 1, WCT1, unhandled for now
# channel 2, WCT1, unhandled for now
# channel 3, WCT1, unhandled for now
# channel 4, WCT1, unhandled for now
# channel 5, WCT1, unhandled for now
# channel 6, WCT1, unhandled for now
# channel 7, WCT1, unhandled for now
# channel 8, WCT1, unhandled for now
# channel 9, WCT1, unhandled for now
# channel 10, WCT1, unhandled for now
# channel 11, WCT1, unhandled for now
# channel 12, WCT1, unhandled for now
# channel 13, WCT1, unhandled for now
# channel 14, WCT1, unhandled for now
# channel 15, WCT1, unhandled for now
# channel 16, WCT1, unhandled for now
# channel 17, WCT1, unhandled for now
# channel 18, WCT1, unhandled for now
# channel 19, WCT1, unhandled for now
# channel 20, WCT1, unhandled for now
# channel 21, WCT1, unhandled for now
# channel 22, WCT1, unhandled for now
# channel 23, WCT1, unhandled for now
# channel 24, WCT1, unhandled for now

# Span 2: ZTDUMMY/1 "ZTDUMMY/1 1"

# Global data

loadzone        = us
defaultzone     = us

span=1,1,0,esf,b8zs
e&m=1-7
#bchan=1-7
#dchan=24

I have setup zapata.conf as follows:

;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-pstn
signalling=em
rxwink=300              ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf
channel => 1-7

I have configured two extensions, SIP/201 and SIP/202

I have configured one Incoming Route to match any DID / any CID and set the destination to be 202

I have configured seven trunks (ZAP/g0 through ZAP/g6), one for each of the voice channels

I updated the “default” route named 9_outside to include each of the seven trunks

I intend later to setup ring groups, automated attendent, conferences, but for now they are not setup

What works:
I can call internally from phone to phone

I can call out to a cell phone

I can monitor the state of the TX/RX signals of the T1 card using zttool

What does not work:
I cannot get any inbound calls from cell phone to be answered by *. I can see the inbound call in zttool as well as in the flash panel but the call is never answered and I get a message from my cell provider that the party I am trying to call cannot be reached. I am trying to use only freePBX for setup if possible as my needs at this point are very minimal. I am sure that I am simply missing a setting in one of the configuration files, but I cannot figure out which setting or file to change. I have read the manuals, as well as many how-to’s, but I am stumped. Any suggestions would be greatly appreciated.

  • Charlie