[asterisk-users] Conneting Asterisk to Swyx pri
Geraint Lee
geraint at gmail.com
Tue Oct 7 11:39:24 CDT 2008
I don't mean to be a pain, but i could really do with a heads up on this...
does anyone have ANY ideas? I've trawled through google and come up with
nothing except for questions with no answers...
Cheers
Geraint
2008/10/6 Geraint Lee <geraint at gmail.com>
> Hi all, I've done this a few times with other PBX's but swyx has stumped
> me! I'm having some trouble getting Asterisk connected to a Swyx system
> using a sangoma A104dx... currently the setup is:
> BT <-> Swyx
>
> The above setup works fine... what i'm trying to achieve is
> BT & SIP Trunks <-> Asterisk <-> Swyx
>
> I have connected to our BT (2 x ISDN30 UK) with asterisk and have no errors
> and can make and receive calls and it never dies... the problem comes when i
> try and connect asterisk to swyx...
> I can make calls from asterisk to the swyx system with no problems or
> errors, but... when i try and place a call from Swyx to asterisk i receive
> the following error:
> [Oct 6 10:56:20] ERROR[9794]: chan_zap.c:8250 zt_pri_error: !! Unexpected
> Channel selection 3
>
> The call does complete as normal but after about 2 or 3 hours of calls
> passing through this setup i start receiving errors like the following:
> [Oct 6 10:55:25] WARNING[9794]: chan_zap.c:8074 pri_fixup_principle: Can't
> fix up channel from 63 to 92 because 92 is already in use
> [Oct 6 10:55:25] WARNING[9794]: chan_zap.c:9245 pri_dchannel: Hangup on
> bad channel 0/30 on span 3
> [Oct 6 10:55:55] WARNING[9794]: chan_zap.c:8074 pri_fixup_principle: Can't
> fix up channel from 63 to 92 because 92 is already in use
>
> And eventually no more calls can be placed from swyx to asterisk... time
> for some configs... and before anyone says something about wanpipe3 and 4
> having dchan=0, i tried with dchan=16 and no calls can be placed...
>
> I hope someone can point me in the right direction as we're trying to get
> rid of swyx since we're tied down by limiting software and excessive
> licensing costs.
>
> Thanks!
>
> Geraint
>
> pri show spans shows all spans as up and active.
> zap show status shows all as ok
> wanrouter status shows all as connected
>
> wanpipe1 and 2:
> [devices]
> wanpipe1 = WAN_AFT_TE1, Comment
>
> [interfaces]
> w1g1 = wanpipe1, , TDM_VOICE, Comment
>
> [wanpipe1]
> CARD_TYPE = AFT
> S514CPU = A
> CommPort = PRI
> AUTO_PCISLOT = NO
> PCISLOT = 1
> PCIBUS = 16
> FE_MEDIA = E1
> FE_LCODE = HDB3
> FE_FRAME = CRC4
> FE_LINE = 1
> TE_CLOCK = NORMAL
> TE_REF_CLOCK = 0
> TE_SIG_MODE = CCS
> TE_HIGHIMPEDANCE = NO
> LBO = 120OH
> FE_TXTRISTATE = NO
> MTU = 1500
> UDPPORT = 9000
> TTL = 255
> IGNORE_FRONT_END = NO
> TDMV_SPAN = 1
> TDMV_DCHAN = 16
> TDMV_HW_DTMF = NO
>
> [w1g1]
> ACTIVE_CH = ALL
> TDMV_ECHO_OFF = NO
> TDMV_HWEC = YES
>
>
> wanpipe3 and 4:
> [devices]
> wanpipe3 = WAN_AFT_TE1, Comment
>
> [interfaces]
> w3g1 = wanpipe3, , TDM_VOICE, Comment
>
> [wanpipe3]
> CARD_TYPE = AFT
> S514CPU = A
> CommPort = PRI
> AUTO_PCISLOT = NO
> PCISLOT = 1
> PCIBUS = 16
> FE_MEDIA = E1
> FE_LCODE = HDB3
> FE_FRAME = CRC4
> FE_LINE = 3
> TE_CLOCK = MASTER
> TE_REF_CLOCK = 1
> TE_SIG_MODE = CCS
> TE_HIGHIMPEDANCE = NO
> LBO = 120OH
> FE_TXTRISTATE = NO
> MTU = 1500
> UDPPORT = 9000
> TTL = 255
> IGNORE_FRONT_END = NO
> TDMV_SPAN = 3
> TDMV_DCHAN = 0
> TDMV_HW_DTMF = NO
>
> [w3g1]
> ACTIVE_CH = ALL
> TDMV_ECHO_OFF = NO
> TDMV_HWEC = YES
>
> zaptel.conf:
> loadzone=uk
> defaultzone=uk
>
> #Sangoma A104 port 1 [slot:1 bus:16 span:1] <wanpipe1>
> span=1,0,0,ccs,hdb3,crc4
> bchan=1-15,17-31
> hardhdlc=16
>
> #Sangoma A104 port 2 [slot:1 bus:16 span:2] <wanpipe2>
> span=2,0,0,ccs,hdb3,crc4
> bchan=32-46,48-62
> hardhdlc=47
>
> #Sangoma A104 port 3 [slot:1 bus:16 span:3] <wanpipe3>
> span=3,0,0,ccs,hdb3,crc4
> bchan=63-77,79-93
> dchan=78
>
> #Sangoma A104 port 4 [slot:1 bus:16 span:4] <wanpipe4>
> span=4,0,0,ccs,hdb3,crc4
> bchan=94-108,110-124
> dchan=109
>
> I have also tried with hardhdlc=109 and have the same problem.
>
> zapata.conf:
> [channels]
> language=en
> usecallerid=yes
> hidecallerid=no
> callwaiting=no
> callwaitingcallerid=yes
> restrictcid=no
> usecallingpres=no
> threewaycalling=yes
> callreturn=yes
> transfer=yes
> cancallforward=yes
> musiconhold=default
> rxgain=0.0
> txgain=0.0
> immediate=no
>
> ; BT
> switchtype=euroisdn
> group=1
> context=from-bt
> signalling=pri_cpe
>
> ; Port 1 - BT
> channel => 1-15,17-31
>
> ; Port 2 - BT
> channel => 32-46,48-62
>
> ; Swyx
> overlapdial=yes
> group=2
> context=from-swyx
> signalling=pri_net
>
> ; Port 3 - Swyx
> channel => 63-77,79-93
>
> ; Port 4 - Swyx
> channel => 94-108,110-124
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081007/dbd3d7bd/attachment.htm
More information about the asterisk-users
mailing list