[Asterisk-Users] FXO not picking up; baffled

Karl S. Katzke karl at streetlampsoftware.com
Fri Aug 19 18:30:19 MST 2005


Of course, after spending a full 12 hours bashing my head against the 
problem, I found my low voltage contractor had reversed the tip and the 
ring. *bashes head against the wiring cabinet*...

-K

Karl S. Katzke wrote:

> I'm a newbie to Asterisk, but I'm moderately knowledgeable about phone 
> systems. Right now, I'm most certainly confused.
>
> I have a TDM-04B (four FXO) and four analog FXO lines running into it 
> from an AdTran 616. I have Asterisk working internally, although I 
> could use some help getting incoming calls to answer properly and 
> configuring my outbound dialplan.
>
> Here's where I'm stuck. When I dial one of the four phone #'s that run 
> into the TDM-04B from my cell phone, the TDM-04B is supposed to 
> answer, play some sounds, and hang up. The TDM-04B detects the ring, 
> but doesn't actually answer -- my cell phone never stops ringing, and 
> the call plan loops the following information even after I've hung up 
> the cell phone:
>
>    -- Starting simple switch on 'Zap/1-1'
>    -- Executing Answer("Zap/1-1", "") in new stack
>    -- Executing DigitTimeout("Zap/1-1", "5") in new stack
>    -- Set Digit Timeout to 5
>    -- Executing ResponseTimeout("Zap/1-1", "10") in new stack
>    -- Set Response Timeout to 10
>    -- Executing Playback("Zap/1-1", "groovy") in new stack
>    -- Playing 'groovy' (language 'en')
>    -- Executing Playback("Zap/1-1", "goodbye") in new stack
>    -- Playing 'goodbye' (language 'en')
>    -- Executing Hangup("Zap/1-1", "") in new stack
>  == Spawn extension (incoming, s, 6) exited non-zero on 'Zap/1-1'
>    -- Hungup 'Zap/1-1'
>    -- Starting simple switch on 'Zap/1-1'
>    -- Executing Answer("Zap/1-1", "") in new stack
>    -- Executing DigitTimeout("Zap/1-1", "5") in new stack
>    -- Set Digit Timeout to 5
>    -- Executing ResponseTimeout("Zap/1-1", "10") in new stack
>    -- Set Response Timeout to 10
>    -- Executing Playback("Zap/1-1", "groovy") in new stack
>    -- Playing 'groovy' (language 'en')
>    -- Executing Playback("Zap/1-1", "goodbye") in new stack
>    -- Playing 'goodbye' (language 'en')
>    -- Executing Hangup("Zap/1-1", "") in new stack
>  == Spawn extension (incoming, s, 6) exited non-zero on 'Zap/1-1'
>    -- Hungup 'Zap/1-1'
>    -- Starting simple switch on 'Zap/1-1'
>    -- Executing Answer("Zap/1-1", "") in new stack
>    -- Executing DigitTimeout("Zap/1-1", "5") in new stack
>    -- Set Digit Timeout to 5
>    -- Executing ResponseTimeout("Zap/1-1", "10") in new stack
>    -- Set Response Timeout to 10
>    -- Executing Playback("Zap/1-1", "groovy") in new stack
>    -- Playing 'groovy' (language 'en')
>    -- Executing Playback("Zap/1-1", "goodbye") in new stack
>    -- Playing 'goodbye' (language 'en')
>    -- Executing Hangup("Zap/1-1", "") in new stack
>  == Spawn extension (incoming, s, 6) exited non-zero on 'Zap/1-1'
>    -- Hungup 'Zap/1-1'
>    -- Starting simple switch on 'Zap/1-1'
>    -- Executing Answer("Zap/1-1", "") in new stack
>    -- Executing DigitTimeout("Zap/1-1", "5") in new stack
>    -- Set Digit Timeout to 5
>    -- Executing ResponseTimeout("Zap/1-1", "10") in new stack
>    -- Set Response Timeout to 10
>    -- Executing Playback("Zap/1-1", "groovy") in new stack
>    -- Playing 'groovy' (language 'en')
>    -- Executing Playback("Zap/1-1", "goodbye") in new stack
>    -- Playing 'goodbye' (language 'en')
>    -- Executing Hangup("Zap/1-1", "") in new stack
>
> I've read the docs and googled pretty thoroughly, but I can't figure 
> out what I'm missing. Most likely due to inexperience. Here's my 
> zapata.conf:
>
> [channels]
> context=default
> switchtype=national
> signalling=fxs_ks
> usecallerid=no
> ;callwaiting=yes
> ;usecallingpres=yes
> ;callwaitingcallerid=yes
> echocancel=yes
> echocancelwhenbridged=yes
> rxgain=0.0
> txgain=0.0
> group=1
> callgroup=1
> pickupgroup=1
> busydetect=yes
> busycount=6
>
> context=incoming
> callprogress=yes
> group=1
> channel=>1-4
>
> And here's my incoming context from extensions.conf:
>
> [incoming]
> exten => s,1,Answer
> exten => s,2,DigitTimeout,5
> exten => s,3,ResponseTimeout,10
> exten => s,4,Playback(groovy)
> exten => s,5,Playback(goodbye)
> exten => s,6,Hangup
>
> Turning on CallerID gets me an extra error saying that CallerID on 
> channel Zap/1-1 returned an error.
>
> Any suggestions on what I need to do to get incoming calling working 
> properly?
>
> Thanks,
> Karl Katzke
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list