Incoming pstn call problem


#1

I am having problems getting incoming calls from the PSTN to route to extensions, digital receptionist and even voicemail.

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).

When I dial 7777 it goes to the digital receptionist without any problems.

The system setup is simple;

I have 8 PSTN lines incoming to an Adtran 750, which is then connected to a TE110P via a crossover T-1 cable.

I am running Asterisk 1.2.1 and AMP to help with basic configuration.

Inside AMP, I have the inbound routing set to redirect to the digital receptionist.

I have 4 SoundPoint 501 SIP phones and a SoundPoint 601 SIP phone.

I can successfully call between extensions and make outbound calls.

The “full” log for Asterisk shows the following:

Jan 19 15:17:57 VERBOSE[24046] logger.c: – Starting simple switch on 'Zap/1-1’
Jan 19 15:18:01 NOTICE[24046] chan_zap.c: Got event 18 (Ring Begin)…
Jan 19 15:18:03 NOTICE[24046] chan_zap.c: Got event 2 (Ring/Answered)…
Jan 19 15:18:03 VERBOSE[24046] logger.c: – Executing Playback(“Zap/1-1”, “vm-goodbye”) in new stack
Jan 19 15:18:03 DEBUG[24046] chan_zap.c: Took Zap/1-1 off hook
Jan 19 15:18:03 DEBUG[24046] chan_zap.c: Enabled echo cancellation on channel 1
Jan 19 15:18:03 DEBUG[24046] chan_zap.c: No echo training requested
Jan 19 15:18:03 DEBUG[24046] channel.c: Scheduling timer at 160 sample intervals
Jan 19 15:18:03 VERBOSE[24046] logger.c: – Playing ‘vm-goodbye’ (language ‘en’)
Jan 19 15:18:04 DEBUG[24046] channel.c: Scheduling timer at 0 sample intervals
Jan 19 15:18:04 DEBUG[24046] channel.c: Scheduling timer at 0 sample intervals
Jan 19 15:18:04 VERBOSE[24046] logger.c: – Executing Macro(“Zap/1-1”, “hangupcall”) in new stack
Jan 19 15:18:04 VERBOSE[24046] logger.c: – Executing ResetCDR(“Zap/1-1”, “w”) in new stack
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is '(null)'
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is '(null)'
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is 's’
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is 'default’
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is 'Zap/1-1’
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is '(null)'
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is 'ResetCDR’
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is 'w’
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is '2006-01-19 15:18:03’
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is '2006-01-19 15:18:03’
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is '2006-01-19 15:18:04’
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is '1’
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is '1’
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is 'ANSWERED’
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is 'DOCUMENTATION’
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is '(null)'
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is '1137701877.38’
Jan 19 15:18:04 DEBUG[24046] pbx.c: Function result is '(null)'
Jan 19 15:18:04 VERBOSE[24046] logger.c: – Executing NoCDR(“Zap/1-1”, “”) in new stack
Jan 19 15:18:04 WARNING[24046] cdr.c: CDR on channel ‘Zap/1-1’ not posted
Jan 19 15:18:04 WARNING[24046] cdr.c: CDR on channel ‘Zap/1-1’ lacks end
Jan 19 15:18:04 VERBOSE[24046] logger.c: – Executing Wait(“Zap/1-1”, “5”) in new stack
Jan 19 15:18:05 DEBUG[24046] chan_zap.c: Exception on 28, channel 1
Jan 19 15:18:05 DEBUG[24046] chan_zap.c: Got event On hook(1) on channel 1 (index 0)
Jan 19 15:18:05 DEBUG[24046] chan_zap.c: disabled echo cancellation on channel 1
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’
Jan 19 15:18:05 VERBOSE[24046] logger.c: == Spawn extension (default, s, 2) exited non-zero on 'Zap/1-1’
Jan 19 15:18:05 DEBUG[24046] chan_zap.c: Hangup: channel: 1 index = 0, normal = 28, callwait = -1, thirdcall = -1
Jan 19 15:18:05 DEBUG[24046] chan_zap.c: disabled echo cancellation on channel 1
Jan 19 15:18:05 DEBUG[24046] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/1-1
Jan 19 15:18:05 DEBUG[24046] chan_zap.c: Updated conferencing on 1, with 0 conference users
Jan 19 15:18:05 VERBOSE[24046] logger.c: – Hungup ‘Zap/1-1’

Thanks,