>From your zapata.conf file below, I see you have configured for a PRI.
PRI by default is treated like a DID. You MUST define a extension entry
for every incoming call. If you had looked at the console error messages
this would have been fairly easy to diagnose. Most likely you will need
the full 10 digit number if you are in the USA to make it work.
On Wed, 2004-02-11 at 17:04, Mike Fryer wrote:> Hey guys,
>
> I have an Asterisk system here and have it on a single-span T1 card.
> Got everything on the T1 side squared away, no warning lights on the
> smart jack and the carrier is able to see the D-Channel. However,
> when you call the numbers associated with the T1 all you get is a busy
> tone from the Asterisk. I've tried coding a small auto-attendant
> script so the Asterisk can answer the outside lines, but it still
> gives me busy rather than running the script. This is what it looks
> like
>
> [default]
> ResponseTimeout=10
> exten => s,1,Answer
> exten => s,2,Background(greeting)
> .....
> exten => t,1,Hangup
> exten => i,1,Background(invalid)
> exten => i,2,Goto(default|s|2)
>
> This is just the basics of the script but Asterisk never even
> answers. I've even included default in the users context but still
> nothing. I know there are no problems with my script because I can
> connect a SiP phone, and put an extension in that just has a goto
> statement that points to the above script and it works perfectly.
>
> Is there something special I have to do to make Asterisk know how to
> answer an incoming T1 line? I was thinking that since there are DINS
> digits coming across the PRI that Asterisk is seeing them
> as extensions, but the i rule should take care of that if we don't
> have them defined as extensions, right?
>
> This is how my zapata.conf and zapetl.conf files are setup.
>
> zapata.conf
> ----------------------------------------------
> [channels]
> context = users
> signalling = pri_cpe
> switchype = 5ess
> group = 1
> channel => 1-23
> pridialplan = national
>
> zaptel.conf
> ----------------------------------------------
> span = 1,1,0,esf,b8zs
> bchan = 1-23
> dchan = 24
>
> Thanks,
>
> Mike Fryer
--
Steven Critchfield <critch@basesys.com>