[Asterisk-Users] Re: TDM04B problems

Rich Adamson radamson at routers.com
Wed Jul 6 20:07:18 MST 2005


> Okay, so I believe I've gotten rid of the IRQ conflict, and it's still
> not working.
> 
> What concerns me is that even channels with absolutely nothing connected
> to the slots will say "answered."
> 
> The log output looks like this:
>     -- Executing Dial("SIP/2000-401a", "Zap/2/w9w15554014809") in new stack
>     -- Called 2/w9w15554014809
>     -- Zap/2-1 answered SIP/2000-401a
>     -- Hungup 'Zap/2-1'
>   == Spawn extension (home, 12, 1) exited non-zero on 'SIP/2000-401a'
> 
> The phone number has been modified of course. There are no wires
> connected to channel 2. In fact, I disconnected all of the analog lines
> to test this out.
> 
> // zapata.conf
> [channels]
> signalling=fxs_ks
> echocancel=yes
> echocancelwhenbridged=yes
> echotraining=400
> callerid=asreceived
> group=1
> context=home
> channel=>1-4
> 
> // extensions.conf
> [general]
> static=yes
> writeprotect=no
> 
> [home]
> exten => 12,1,Dial(Zap/2/w9w14044014809)
> exten => 12,2,Congestion
> exten => 12,3,Hangup
> exten => 12,102,Congestion
> exten => 12,103,Hangup

If I'm reading the above correctly, it will never work as expected.

Your zapata.conf entries look fine. However, an inbound pstn call 
(arriving on the TDM04b) will be handed to the [home] context with
"no digits" provided, not even a "12". You want something like this:

[home]
exten => s,1,NoOp,${CALLERID}
exten => s,2,Dial(Sip/12,15)






More information about the asterisk-users mailing list