Hi<br> can u find green light on span . If its is red then u try first<br> cross cable<br>1 5<br>2 4<br>4 2<br>5 1<br><br>In case not green then try though led and check the RX and TX .<br>
<br> build its first green the span then try the configure ss7 .<br><br><div class="gmail_quote">On Thu, Jun 3, 2010 at 6:58 AM, Geoffrey Yeoh <span dir="ltr"><<a href="mailto:pbyeoh@gelxis.co.uk">pbyeoh@gelxis.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal">Further to my post last month, I’ve done the following
but still have problem in getting the linkset up..</p>
<p class="MsoNormal"> </p>
<p><span>1.<span style="font-family: "Times New Roman"; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
</span></span>Installed two trixbox PC with trixbox 2.8.0.3 (Dahdi version
2.2.0-4 and Asterisk version 1.6.0.10-5).</p>
<p><span>2.<span style="font-family: "Times New Roman"; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
</span></span>Each trixbox is equipped with a Sangoma A101 card (No
echo cancellation hardware) configured with Sangoma Wanpipe driver version
3.5.11.</p>
<p><span>3.<span style="font-family: "Times New Roman"; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
</span></span>Configured both cards as E1 and TDM as voice protocol.</p>
<p><span>4.<span style="font-family: "Times New Roman"; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
</span></span>Connect both cards with a crossover cable (1-4,2-5 /
4-1,5-2)</p>
<p><span>5.<span style="font-family: "Times New Roman"; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
</span></span>Setup the following configuration files:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">TRIXBOX 1 -</p>
<p>/etc/dahdi/system.conf</p>
<p>span=1,1,0,ccs,hdb3,crc4</p>
<p>bchan=1-15,17-31</p>
<p>dchan=16</p>
<p>echocanceller=mg2,1-15,17-31</p>
<p>loadzone=us</p>
<p>defaultzone=us</p>
<p> </p>
<p>/etc/asterisk/chan_dahdi.conf</p>
<p class="MsoNormal" style="">[channels]</p>
<p class="MsoNormal" style="">echocancel=no</p>
<p class="MsoNormal" style="">echocancelwhenbridged=no</p>
<p class="MsoNormal" style="">group=1</p>
<p class="MsoNormal" style="">signalling=ss7</p>
<p class="MsoNormal" style="">ss7type=itu</p>
<p class="MsoNormal" style="">ss7_called_nai=national</p>
<p class="MsoNormal" style="">ss7_calling_nai=national</p>
<p class="MsoNormal" style="">linkset=1</p>
<p class="MsoNormal" style="">pointcode=1</p>
<p class="MsoNormal" style="">adjpointcode=2</p>
<p class="MsoNormal" style="">defaultdpc=2</p>
<p class="MsoNormal" style="">networkindicator=national</p>
<p class="MsoNormal" style="">sigchan=16</p>
<p class="MsoNormal" style="">cicbeginswith=1</p>
<p class="MsoNormal" style="">channel=1-15</p>
<p class="MsoNormal" style="">cicbeginswith=17</p>
<p class="MsoNormal" style="">channel=17-31</p>
<p class="MsoNormal" style="">ss7_internationalprefix=00</p>
<p class="MsoNormal" style="">ss7_nationalprefix=0</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">TRIXBOX 2 – </p>
<p>/etc/dahdi/system.conf</p>
<p>span=1,1,0,ccs,hdb3,crc4</p>
<p>bchan=1-15,17-31</p>
<p>dchan=16</p>
<p>echocanceller=mg2,1-15,17-31</p>
<p>loadzone=us</p>
<p>defaultzone=us</p>
<p> </p>
<p>/etc/asterisk/chan_dahdi.conf</p>
<p class="MsoNormal" style="">[channels]</p>
<p class="MsoNormal" style="">echocancel=no</p>
<p class="MsoNormal" style="">echocancelwhenbridged=no</p>
<p class="MsoNormal" style="">group=1</p>
<p class="MsoNormal" style="">signalling=ss7</p>
<p class="MsoNormal" style="">ss7type=itu</p>
<p class="MsoNormal" style="">ss7_called_nai=national</p>
<p class="MsoNormal" style="">ss7_calling_nai=national</p>
<p class="MsoNormal" style="">linkset=1</p>
<p class="MsoNormal" style="">pointcode=2</p>
<p class="MsoNormal" style="">adjpointcode=1</p>
<p class="MsoNormal" style="">defaultdpc=1</p>
<p class="MsoNormal" style="">networkindicator=national</p>
<p class="MsoNormal" style="">sigchan=16</p>
<p class="MsoNormal" style="">cicbeginswith=1</p>
<p class="MsoNormal" style="">channel=1-15</p>
<p class="MsoNormal" style="">cicbeginswith=17</p>
<p class="MsoNormal" style="">channel=17-31</p>
<p class="MsoNormal" style="">ss7_internationalprefix=00</p>
<p class="MsoNormal" style="">ss7_nationalprefix=0</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal">With both setup, I’ve ran dahdi_scan on both machines
and got the following result on both machines:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">[trixbox1.localdomain ~]# dahdi_scan</p>
<p class="MsoNormal">[1]</p>
<p class="MsoNormal">active=yes</p>
<p class="MsoNormal">alarms=OK</p>
<p class="MsoNormal">description=wanpipe1 card 0</p>
<p class="MsoNormal">name=WPE1/0</p>
<p class="MsoNormal">manufacturer=</p>
<p class="MsoNormal">devicetype=</p>
<p class="MsoNormal">location=</p>
<p class="MsoNormal">basechan=1</p>
<p class="MsoNormal">totchans=31</p>
<p class="MsoNormal">irq=0</p>
<p class="MsoNormal">type=digital-</p>
<p class="MsoNormal">syncsrc=0</p>
<p class="MsoNormal">lbo=0 db (CSU)/0-133 feet (DSX-1)</p>
<p class="MsoNormal">coding_opts=HDB3</p>
<p class="MsoNormal">framing_opts=CCS,CRC4</p>
<p class="MsoNormal">coding=HDB3</p>
<p class="MsoNormal">framing=CCS</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Visually, I can see both cards status LED is showing green
which means good connection.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">[trixbox1.localdomain ~]# wanrouter status</p>
<p class="MsoNormal">Devices currently active: wanpipe1</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Wanpipe Config:</p>
<p class="MsoNormal">Device name | Protocol Map | Adapter | IRQ | Slot/IO |
If's | CLK | Baud rate |</p>
<p class="MsoNormal">wanpipe1 |
N/A | A101/2
| 201 | 5 | 1 | N/A |
0 |</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Wanrouter Status:</p>
<p class="MsoNormal">Device name | Protocol | Station |
Status |</p>
<p class="MsoNormal">wanpipe1 | AFT TE1 |
N/A | Connected |</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The /etc/wanpipe.conf on both cards is similar:</p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";"> </span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">[devices]</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">wanpipe1 = WAN_AFT, Comment</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">[interfaces]</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">w1g1 = wanpipe1, , TDM_VOICE, Comment</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">[wanpipe1]</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">CARD_TYPE = AFT</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">S514CPU = A</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">CommPort = PRI</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">AUTO_PCISLOT = NO</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">PCISLOT = 5</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">PCIBUS = 2</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">FE_MEDIA = E1</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">FE_LCODE = HDB3</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">FE_FRAME = CRC4</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">FE_LINE =
1</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">TE_CLOCK = MASTER (The
second machine, the card is configured as NORMAL)</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">TE_REF_CLOCK = 0</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">TE_HIGHIMPEDANCE = NO</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">TE_RX_SLEVEL = 430</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">LBO =
120OH</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">TE_SIG_MODE = CCS</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">FE_TXTRISTATE = NO</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">MTU =
1500</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">UDPPORT = 9000</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">TTL =
255</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">IGNORE_FRONT_END = NO</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">TDMV_SPAN = 1</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">TDMV_DCHAN = 16</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">TDMV_HW_DTMF = NO</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">[w1g1]</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">ACTIVE_CH = ALL</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">TDMV_ECHO_OFF = NO</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: "Courier New";">TDMV_HWEC = NO</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The problem is, when I tried to check the status of the SS7
linkset, it’s telling me that the link is still down.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">trixbox1*CLI> ss7 show linkset 1</p>
<p class="MsoNormal">SS7 linkset 1 status: Down</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">trixbox1*CLI> ss7 debug linkset 1</p>
<p class="MsoNormal">Enabled debugging on linkset 1</p>
<p class="MsoNormal">Len = 4 [ ff ff 01 00 ]</p>
<p class="MsoNormal">FSN: 127 FIB 1</p>
<p class="MsoNormal">BSN: 127 BIB 1</p>
<p class="MsoNormal">>[0] LSSU SIO</p>
<p class="MsoNormal">Link state change: NOTALIGNED -> IDLE</p>
<p class="MsoNormal">Link state change: IDLE -> NOTALIGNED</p>
<p class="MsoNormal">Link state change: NOTALIGNED -> IDLE</p>
<p class="MsoNormal">Link state change: IDLE -> NOTALIGNED</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Could someone help me on what else I need to check/configure
to get the link up? Thanks in advance.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Cheers,</p>
<p class="MsoNormal">Geoffrey</p>
</div>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote></div><br><br clear="all"><br>-- <br>BIPIN RAGHUVANSHI<br>OPERATION HEAD<br>
ASTERISK (DEVELOPMENT AND RESEARCH) <br><a href="http://WWW.EHORIZONS.IN">WWW.EHORIZONS.IN</a><br>011-32323262<br>011-46334633<br>