[Asterisk-Users] Weird..bridging to Zap channel FXS instead ofbridging to PSTN FXO on outgoing group

Lyle Giese lyle at lcrcomputer.net
Thu Dec 30 14:33:29 MST 2004


You can shorten zapata.conf for one and second, I am assuming that you have
channels 1-24 defined before the group=3 declaration.  If those channels are
declared after these in zapata.conf you have problem.  A varible like the
group number once definced carries down the config file until it's changed.
And with that knowledge the portion of the zapata.conf you showed can be
shortened to:

<definations for channels 1-24 here>

context=from-pstn
signalling=fxs_ks
callerid=asrecieved
;echocancel=yes
;echocancelwhenbridged=yes
;echotraining=400
rxgain=10.0
txgain=-4.5
group=3
channel => 25-28


Lyle

----- Original Message ----- 
From: "James Freire" <james.freire at gmail.com>
To: <Asterisk-Users at lists.digium.com>
Sent: Thursday, December 30, 2004 2:58 PM
Subject: [Asterisk-Users] Weird..bridging to Zap channel FXS instead
ofbridging to PSTN FXO on outgoing group


> Hi All,
>
> Channels 25-28 on a customers PBX are regular Zaptel FXO cards that
> are hooked into 4 incomming phone lines. They are all in a group to do
> automatic rollover for outgoing calls (if channel 25 is being used,
> dial on channel 26, etc.).
> Sometimes when a user is dialing a number, instead of bridging to one
> of the FXO cards it goes and rings to Zap/1-1.
>
> This doesnt occur all the time but some of the time, when it does
> occur, I restart asterisk and it goes away for some time. I have also
> tried changing the group number to something else, this doesnt seem to
> help either.
> I have a wait (w) before the numbers because the phone line doesnt
> pick up right away and its to prevent asterisk from dialing before
> there is a dial tone.
> FYI, I have a rhino channel bank on the system going to a digium T100P
> card, this is why my 4 FXO ports are so high.
>
> Below I have snippets from my extensions.conf dial plan for the
> outgoing context and my zapata.conf along with the error.
>
> Error:
> -- Executing Dial("Zap/6-1", "Zap/g3/ww5632111") in new stack
>   -- Called g3/ww5632111
>   -- Zap/1-1 is ringing
>   -- Zap/1-1 is ringing
>
> Extensions.conf context for outgoing calls
> exten => _1NXXNXXXXXX,1,Dial(Zap/g3/ww${EXTEN})
> exten => _NXXNXXXXXX,1,Dial(Zap/g3/w1${EXTEN})
> exten => _NXXXXXX,1,Dial(Zap/g3/ww${EXTEN})
>
> Zapata.conf snippet for the group
>
> context=from-pstn
> signalling=fxs_ks
> callerid=asrecieved
> ;echocancel=yes
> ;echocancelwhenbridged=yes
> ;echotraining=400
> rxgain=10.0
> txgain=-4.5
> group=3
> channel => 25
>
> context=from-pstn
> signalling=fxs_ks
> callerid=asrecieved
> ;echocancel=yes
> ;echocancelwhenbridged=yes
> ;echotraining=400
> rxgain=12.0
> txgain=-4.5
> group=3
> channel => 26
>
> context=from-pstn
> signalling=fxs_ks
> callerid=asrecieved
> ;echocancel=yes
> ;echocancelwhenbridged=yes
> ;echotraining=400
> rxgain=12.0
> txgain=-4.5
> group=3
> channel => 27
>
> context=from-pstn
> signalling=fxs_ks
> callerid=asrecieved
> ;echocancel=yes
> ;echocancelwhenbridged=yes
> ;echotraining=400
> rxgain=12.0
> txgain=-4.5
> group=3
> channel => 28
>
> Thanks,
>
> James
> _______________________________________________
> 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