<div dir="ltr">For the purposes of google since i'm sure someone is going encounter the same problem at some point in time...<br><br>I have now fixed the problem, it seems asterisk and swyx refuse to talk properly with euroisdn.. it now works by changing it to use qsig... on the swyx side:<br>
windows device manager > select the isdn card (sx2 dualpri) > advanced > isdn parameters > tick use additional d-channel features > tick enable q.sig<br>restart the server<br><br>asterisk side:<br>modify /etc/asterisk/zapata.conf and set switchtype=qsig for your swyx trunks<br>
<br>and one more thing... for wanpipe you need to set tdmv_dchan = 0 instead of 16<br><br>job done!<br><br>Geraint<br><br><div class="gmail_quote">2008/10/7 Geraint Lee <span dir="ltr"><<a href="mailto:geraint@gmail.com">geraint@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">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...<br>
<br>Cheers<br><br>Geraint<br><br><div class="gmail_quote">2008/10/6 Geraint Lee <span dir="ltr"><<a href="mailto:geraint@gmail.com" target="_blank">geraint@gmail.com</a>></span><div><div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">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:<br>
BT <-> Swyx<br><br>The above setup works fine... what i'm trying to achieve is<br>BT & SIP Trunks <-> Asterisk <-> Swyx<br><br>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...<br>
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:<br>[Oct 6 10:56:20] ERROR[9794]: chan_zap.c:8250 zt_pri_error: !! Unexpected Channel selection 3<br>
<br>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:<br>[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<br>
[Oct 6 10:55:25] WARNING[9794]: chan_zap.c:9245 pri_dchannel: Hangup on bad channel 0/30 on span 3<br>[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<br>
<br>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...<br>
<br>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.<br><br>Thanks!<br><br>Geraint<br><br>pri show spans shows all spans as up and active.<br>
zap show status shows all as ok<br>wanrouter status shows all as connected<br><br>wanpipe1 and 2:<br>[devices]<br>wanpipe1 = WAN_AFT_TE1, Comment<br><br>[interfaces]<br>w1g1 = wanpipe1, , TDM_VOICE, Comment<br><br>[wanpipe1]<br>
CARD_TYPE = AFT<br>S514CPU = A<br>CommPort = PRI<br>AUTO_PCISLOT = NO<br>PCISLOT = 1<br>PCIBUS = 16<br>FE_MEDIA = E1<br>FE_LCODE = HDB3<br>FE_FRAME = CRC4<br>
FE_LINE = 1<br>
TE_CLOCK = NORMAL<br>TE_REF_CLOCK = 0<br>TE_SIG_MODE = CCS<br>TE_HIGHIMPEDANCE = NO<br>LBO = 120OH<br>FE_TXTRISTATE = NO<br>MTU = 1500<br>UDPPORT = 9000<br>TTL = 255<br>
IGNORE_FRONT_END = NO<br>TDMV_SPAN = 1<br>TDMV_DCHAN = 16<br>TDMV_HW_DTMF = NO<br><br>[w1g1]<br>ACTIVE_CH = ALL<br>TDMV_ECHO_OFF = NO<br>TDMV_HWEC = YES<br><br><br>wanpipe3 and 4:<br>[devices]<br>
wanpipe3 = WAN_AFT_TE1, Comment<br><br>[interfaces]<br>w3g1 = wanpipe3, , TDM_VOICE, Comment<br><br>[wanpipe3]<br>CARD_TYPE = AFT<br>S514CPU = A<br>CommPort = PRI<br>AUTO_PCISLOT = NO<br>PCISLOT = 1<br>
PCIBUS = 16<br>FE_MEDIA = E1<br>FE_LCODE = HDB3<br>FE_FRAME = CRC4<br>FE_LINE = 3<br>TE_CLOCK = MASTER<br>TE_REF_CLOCK = 1<br>TE_SIG_MODE = CCS<br>TE_HIGHIMPEDANCE = NO<br>
LBO = 120OH<br>FE_TXTRISTATE = NO<br>MTU = 1500<br>UDPPORT = 9000<br>TTL = 255<br>IGNORE_FRONT_END = NO<br>TDMV_SPAN = 3<br>TDMV_DCHAN = 0<br>TDMV_HW_DTMF = NO<br>
<br>[w3g1]<br>ACTIVE_CH = ALL<br>TDMV_ECHO_OFF = NO<br>TDMV_HWEC = YES<br><br>zaptel.conf:<br>loadzone=uk<br>defaultzone=uk<br><br>#Sangoma A104 port 1 [slot:1 bus:16 span:1] <wanpipe1><br>span=1,0,0,ccs,hdb3,crc4<br>
bchan=1-15,17-31<br>hardhdlc=16<br><br>#Sangoma A104 port 2 [slot:1 bus:16 span:2] <wanpipe2><br>span=2,0,0,ccs,hdb3,crc4<br>bchan=32-46,48-62<br>hardhdlc=47<br><br>#Sangoma A104 port 3 [slot:1 bus:16 span:3] <wanpipe3><br>
span=3,0,0,ccs,hdb3,crc4<br>bchan=63-77,79-93<br>dchan=78<br><br>#Sangoma A104 port 4 [slot:1 bus:16 span:4] <wanpipe4><br>span=4,0,0,ccs,hdb3,crc4<br>bchan=94-108,110-124<br>dchan=109<br><br>I have also tried with hardhdlc=109 and have the same problem.<br>
<br>zapata.conf:<br>[channels]<br>language=en<br>usecallerid=yes<br>hidecallerid=no<br>callwaiting=no<br>callwaitingcallerid=yes<br>restrictcid=no<br>usecallingpres=no<br>threewaycalling=yes<br>callreturn=yes<br>transfer=yes<br>
cancallforward=yes<br>musiconhold=default<br>rxgain=0.0<br>txgain=0.0<br>immediate=no<br><br>; BT<br>switchtype=euroisdn<br>group=1<br>context=from-bt<br>signalling=pri_cpe<br><br>; Port 1 - BT<br>channel => 1-15,17-31<br>
<br>; Port 2 - BT<br>channel => 32-46,48-62<br><br>; Swyx<br>overlapdial=yes<br>group=2<br>context=from-swyx<br>signalling=pri_net<br><br>; Port 3 - Swyx<br>channel => 63-77,79-93<br><br>; Port 4 - Swyx<br>channel => 94-108,110-124<br>
</div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>