<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=postbody><FONT size=2>I am having problems getting incoming
calls from the PSTN to route to extensions, digital receptionist and even
voicemail. <BR><BR>When I call a DID number for one of the lines, it rings twice
then says: "Goodbye" and hangs up. (logs to follow below configuration info).
<BR><BR>When I dial 7777 it goes to the digital receptionist without any
problems. <BR><BR>The system setup is simple; <BR><BR>I have 8 PSTN lines
incoming to an Adtran 750, which is then connected to a TE110P via a crossover
T-1 cable. <BR><BR>I am running Asterisk 1.2.1 and AMP to help with basic
configuration. <BR><BR>Inside AMP, I have the inbound routing set to redirect to
the digital receptionist. <BR><BR>I have 4 SoundPoint 501 SIP phones and a
SoundPoint 601 SIP phone. <BR><BR>I can successfully call between extensions and
make outbound calls. <BR><BR>The "full" log for Asterisk shows the following:
<BR><BR>Jan 19 15:17:57 VERBOSE[24046] logger.c: -- Starting simple switch on
'Zap/1-1' <BR>Jan 19 15:18:01 NOTICE[24046] chan_zap.c: Got event 18 (Ring
Begin)... <BR>Jan 19 15:18:03 NOTICE[24046] chan_zap.c: Got event 2
(Ring/Answered)... <BR>Jan 19 15:18:03 VERBOSE[24046] logger.c: -- Executing
Playback("Zap/1-1", "vm-goodbye") in new stack <BR>Jan 19 15:18:03 DEBUG[24046]
chan_zap.c: Took Zap/1-1 off hook <BR>Jan 19 15:18:03 DEBUG[24046] chan_zap.c:
Enabled echo cancellation on channel 1 <BR>Jan 19 15:18:03 DEBUG[24046]
chan_zap.c: No echo training requested <BR>Jan 19 15:18:03 DEBUG[24046]
channel.c: Scheduling timer at 160 sample intervals <BR>Jan 19 15:18:03
VERBOSE[24046] logger.c: -- Playing 'vm-goodbye' (language 'en') <BR>Jan 19
15:18:04 DEBUG[24046] channel.c: Scheduling timer at 0 sample intervals <BR>Jan
19 15:18:04 DEBUG[24046] channel.c: Scheduling timer at 0 sample intervals
<BR>Jan 19 15:18:04 VERBOSE[24046] logger.c: -- Executing Macro("Zap/1-1",
"hangupcall") in new stack <BR>Jan 19 15:18:04 VERBOSE[24046] logger.c: --
Executing ResetCDR("Zap/1-1", "w") in new stack <BR>Jan 19 15:18:04 DEBUG[24046]
pbx.c: Function result is '(null)' <BR>Jan 19 15:18:04 DEBUG[24046] pbx.c:
Function result is '(null)' <BR>Jan 19 15:18:04 DEBUG[24046] pbx.c: Function
result is 's' <BR>Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is
'default' <BR>Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is 'Zap/1-1'
<BR>Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is '(null)' <BR>Jan 19
15:18:04 DEBUG[24046] pbx.c: Function result is 'ResetCDR' <BR>Jan 19 15:18:04
DEBUG[24046] pbx.c: Function result is 'w' <BR>Jan 19 15:18:04 DEBUG[24046]
pbx.c: Function result is '2006-01-19 15:18:03' <BR>Jan 19 15:18:04 DEBUG[24046]
pbx.c: Function result is '2006-01-19 15:18:03' <BR>Jan 19 15:18:04 DEBUG[24046]
pbx.c: Function result is '2006-01-19 15:18:04' <BR>Jan 19 15:18:04 DEBUG[24046]
pbx.c: Function result is '1' <BR>Jan 19 15:18:04 DEBUG[24046] pbx.c: Function
result is '1' <BR>Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is
'ANSWERED' <BR>Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is
'DOCUMENTATION' <BR>Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is
'(null)' <BR>Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is
'1137701877.38' <BR>Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is
'(null)' <BR>Jan 19 15:18:04 VERBOSE[24046] logger.c: -- Executing
NoCDR("Zap/1-1", "") in new stack <BR>Jan 19 15:18:04 WARNING[24046] cdr.c: CDR
on channel 'Zap/1-1' not posted <BR>Jan 19 15:18:04 WARNING[24046] cdr.c: CDR on
channel 'Zap/1-1' lacks end <BR>Jan 19 15:18:04 VERBOSE[24046] logger.c: --
Executing Wait("Zap/1-1", "5") in new stack <BR>Jan 19 15:18:05 DEBUG[24046]
chan_zap.c: Exception on 28, channel 1 <BR>Jan 19 15:18:05 DEBUG[24046]
chan_zap.c: Got event On hook(1) on channel 1 (index 0) <BR>Jan 19 15:18:05
DEBUG[24046] chan_zap.c: disabled echo cancellation on channel 1 <BR>Jan 19
15:18:05 VERBOSE[24046] logger.c: == Spawn extension (macro-hangupcall, s, 3)
exited non-zero on 'Zap/1-1' in macro 'hangupcall' <BR>Jan 19 15:18:05
VERBOSE[24046] logger.c: == Spawn extension (default, s, 2) exited non-zero on
'Zap/1-1' <BR>Jan 19 15:18:05 DEBUG[24046] chan_zap.c: Hangup: channel: 1 index
= 0, normal = 28, callwait = -1, thirdcall = -1 <BR>Jan 19 15:18:05 DEBUG[24046]
chan_zap.c: disabled echo cancellation on channel 1 <BR>Jan 19 15:18:05
DEBUG[24046] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/1-1 <BR>Jan
19 15:18:05 DEBUG[24046] chan_zap.c: Updated conferencing on 1, with 0
conference users <BR>Jan 19 15:18:05 VERBOSE[24046] logger.c: -- Hungup
'Zap/1-1' <BR><BR><BR>Thanks,</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial size=2>Daryl
</FONT></DIV></BODY></HTML>