[Asterisk-Users] Asterisk ---Toshiba

Daniel Burget dburget at browz.com
Fri Mar 4 07:54:16 MST 2005


I set up a TE405P to go T1---*---Toshiba.

I have the channels configured, and can place calls from the Toshiba,
through * to the t1. Incoming calls work great to *, but if they go to
the Toshiba, I get a hangup. I think the * is sending the call to the
wrong span. I have 2 spans, span 1 from the T1, span 2 to the Toshiba.
The bchannels show as 0/1 through 0/23 on both spans in * when it
starts. Should the span 2 be different, since the channels are 25-47?
Ztcfg -vv show no errors, and shows all channels. Group 0 is the T1,
group 1 is the Toshiba.

Here is what I am getting, and my confs...

Executing Ringing("Zap/1-1", "") in new stack
    -- Accepting call from '8016947881' to '6018' on channel 0/1, span 1
    -- Executing Dial("Zap/1-1", "ZAP/g1/8016196000") in new stack
    -- Called g1/8016196000
    -- Zap/25-1 is making progress passing it to Zap/1-1
    -- Zap/25-1 is ringing
    -- Zap/25-1 answered Zap/1-1
    -- Hungup 'Zap/25-1'
 I also see this error 

Mar  4 06:07:21 WARNING[13946]: chan_zap.c:7069 pri_fixup_principle:
Call specified, but not found?
Mar  4 06:07:21 WARNING[13946]: chan_zap.c:7711 pri_dchannel: Ringing
requested on channel 0/1 not in use on span 1

Extensions.conf

exten => _6XXX,1,Answer
exten => _6XXX,2,Dial(ZAP/g1/${EXTEN})
exten => _6XXX,3,congestion()

Zapata.conf 

[channels]
switchtype=national
context=from-pstn
signalling=pri_cpe
pridialplan=unknown
usecallerid=asreceived
echocancel=no
echocancelwhenbridged=no
echotraining=400
overlapdial=yes
immediate=no
group=0
channel => 1-23


context=from-ctx
switchtype=national
pridialplan=unknown
signalling=pri_net
usercallerid=asreceived
echocancel=yes
busydetect=yes
overlapdial=yes
immediate=no
echocancelwhenbridged=no
echotraining=400
group=1
channel => 25-46

Zaptel.conf

span=1,0,0,esf,b8zs
bchan=1-23
dchan=24

span=2,0,0,esf,b8zs
bchan=25-47
dchan=48

Thanks guys!!

Dan



More information about the asterisk-users mailing list