<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1">Hi guys,<br>
      <br>
      I hope this email finds you well!<br>
      <br>
      Although I've worked with Asterisk in many forms over the years,
      this is the first time I've been requested to configure SS7 so
      please excuse me if I am sounding a bit off-track! :)<br>
      The box I am using is a new installation of the following versions
      - my E1 hardware is a Sangoma A102 (2 port):<br>
      asterisk-1.6.2.24<br>
      dahdi-linux-complete-2.4.1.2+2.4.1<br>
      libss7-1.0.2<br>
      wanpipe-3.5.27</font><br>
    <br>
    <small>The system I've built will simply be functioning as an IVR
      system so will only deal with inbound calls. <br>
      So far inbound calls make it to this Asterisk system but the
      caller does not hear any audio from my Asterisk system.  For this
      test I've configured the dialplan to answer() the inbound call and
      to playback something using playback() and musiconhold().<br>
      With debugging enabled on my SS7 linkset I see the following in my
      logs. Unfortunately not being familiar with SS7 it doesn't mean
      too much to me. Everything that I've read indicates that a "no
      audio" problem with SS7 generally indicates misaligned CICs but
      according to the operator they are reported to be aligned ok.
      Please may I ask for your assistance with this? My configs are at
      the end of this email under the following log output:<br>
      <br>
      <i>Len = 71 [ d9 d1 3f 85 63 05 42 11 01 00 01 00 60 01 0a 00 02
        07 05 83 90 91 00 0f 0a 06 03 13 67 60 00 59 08 01 00 1d 03 80
        90 a3 31 02 00 5a 3a 06 44 02 68 00 00 00 3f 08 84 93 62 78 06
        00 00 00 39 06 31 d0 3a d0 3f c0 00 ]<br>
        FSN: 81 FIB 1<br>
        BSN: 89 BIB 1<br>
        <[0] MSU<br>
        [ d9 d1 3f ]<br>
                Network Indicator: 2 Priority: 0 User Part: ISUP (5)<br>
                [ 85 ]<br>
                OPC 1288 DPC 1379 SLS 1<br>
                [ 63 05 42 11 ]<br>
                        CIC: 1<br>
                        [ 01 00 ]<br>
                        Message Type: IAM<br>
                        [ 01 ]<br>
                        --FIXED LENGTH PARMS[4]--<br>
                        Nature of Connection Indicator:<br>
                                Satellites in connection: 0<br>
                                Continuity Check: Check not required (0)<br>
                                Outgoing half echo control device: not
        included (0)<br>
                                [ 00 ]<br>
                        Forward Call Indicators:<br>
                                Nat/Intl Call Ind: call to be treated as
        a national call (0)<br>
                                End to End Method Ind: no end-to-end
        method(s) available (0)<br>
                                Interworking Ind: no interworking
        encountered (0)<br>
                                End to End Info Ind: no end-to-end
        information available (0)<br>
                                ISDN User Part Ind: ISDN user part used
        all the way (1)<br>
                                ISDN User Part Pref Ind: ISDN user part
        not preferred all the way (1)<br>
                                ISDN Access Ind: originating access ISDN
        (1)<br>
                                SCCP Method Ind: no indication (0)<br>
                                [ 60 01 ]<br>
                        Calling Party's Category:<br>
                                Category: Ordinary calling subscriber
        (10)<br>
                                [ 0a ]<br>
                        Transmission Medium Requirements:<br>
                                Speech (0)<br>
                                [ 00 ]<br>
                        --VARIABLE LENGTH PARMS[1]--<br>
                        Called Party Number:<br>
                                Nature of address: 3<br>
                                NI: 1<br>
                                Numbering plan: 1<br>
                                Address signals: 1900#<br>
                                [ 05 83 90 91 00 0f ]<br>
                        --OPTIONAL PARMS--<br>
                        Calling Party Number:<br>
                                Nature of address: 3<br>
                                NI: 0<br>
                                Numbering plan: 1<br>
                                Presentation: 0<br>
                                Screening: 3<br>
                                Address signals: 76060095<br>
                                [ 0a 06 03 13 67 60 00 59 ]<br>
                        Optional forward call indicator:<br>
                                [ 08 01 00 ]<br>
                        User Service Information:<br>
                                [ 1d 03 80 90 a3 ]<br>
                        Propagation Delay Counter:<br>
                                Delay: 0ms<br>
                                [ 31 02 00 5a ]<br>
                        Unknown Parameter (0x3a):<br>
                                [ 44 02 68 00 00 00 ]<br>
                        Location Number:<br>
                                [ 3f 08 84 93 62 78 06 00 00 00 ]<br>
                        Parameter Compatibility Information:<br>
                                [ 39 06 31 d0 3a d0 3f c0 ]<br>
        <br>
        Unhandled optional parameter 0x8 'Optional forward call
        indicator'<br>
        [0x0 ]<br>
        Unhandled optional parameter 0x31 'Propagation Delay Counter'<br>
        [0x0 0x5a ]<br>
        Unhandled optional parameter 0x3a 'Unknown'<br>
        [0x44 0x2 0x68 0x0 0x0 0x0 ]<br>
        Unhandled optional parameter 0x3f 'Location Number'<br>
        [0x84 0x93 0x62 0x78 0x6 0x0 0x0 0x0 ]<br>
        Unhandled optional parameter 0x39 'Parameter Compatibility
        Information'<br>
        [0x31 0xd0 0x3a 0xd0 0x3f 0xc0 ]<br>
            -- Accepting call to '01900' on CIC 1<br>
        Len = 14 [ f0 89 0b 85 08 c5 58 11 01 00 06 40 14 00 ]<br>
        FSN: 9 FIB 1<br>
        BSN: 112 BIB 1<br>
        >[1] MSU<br>
        [ f0 89 0b ]<br>
                Network Indicator: 2 Priority: 0 User Part: ISUP (5)<br>
                [ 85 ]<br>
                OPC 1379 DPC 1288 SLS 1<br>
                [ 08 c5 58 11 ]<br>
                        CIC: 1<br>
                        [ 01 00 ]<br>
                        Message Type: ACM<br>
                        [ 06 ]<br>
                        --FIXED LENGTH PARMS[1]--<br>
                        Backward Call Indicator:<br>
                                Charge indicator: 0<br>
                                Called party's status indicator: 0<br>
                                Called party's category indicator: 0<br>
                                End to End method indicator: 1<br>
                                Interworking indicator: 0<br>
                                End to End information indicator: 0<br>
                                ISDN user part indicator: 1<br>
                                Holding indicator: 0<br>
                                ISDN access indicator: 1<br>
                                Echo control device indicator: 0<br>
                                SCCP method indicator: 0<br>
                                [ 40 14 ]<br>
        <br>
            -- Executing [01900@from-ss7:1] Answer("DAHDI/1-1", "") in
        new stack<br>
        Len = 12 [ f0 8a 09 85 08 c5 58 11 01 00 09 00 ]<br>
        FSN: 10 FIB 1<br>
        BSN: 112 BIB 1<br>
        >[1] MSU<br>
        [ f0 8a 09 ]<br>
                Network Indicator: 2 Priority: 0 User Part: ISUP (5)<br>
                [ 85 ]<br>
                OPC 1379 DPC 1288 SLS 1<br>
                [ 08 c5 58 11 ]<br>
                        CIC: 1<br>
                        [ 01 00 ]<br>
                        Message Type: ANM<br>
                        [ 09 ]<br>
        <br>
            -- Executing [01900@from-ss7:2] Playback("DAHDI/1-1",
        "/var/lib/asterisk/sounds/en/followme/pls-hold-while-try") in
        new stack<br>
            -- <DAHDI/1-1> Playing
        '/var/lib/asterisk/sounds/en/followme/pls-hold-while-try.gsm'
        (language 'en')<br>
            -- Executing [01900@from-ss7:3] MusicOnHold("DAHDI/1-1",
        "default,60") in new stack<br>
            -- Started music on hold, class 'default', on DAHDI/1-1<br>
        <br>
        <br>
      </i><b>/etc/dahdi/system.conf</b><i>:<br>
      </i>loadzone=za<br>
      defaultzone=za<br>
      <br>
      span=1,1,0,ccs,hdb3,crc4<br>
      bchan=1-15,17-31<br>
      mtp2=16<br>
      <br>
      span=2,1,0,ccs,hdb3,crc4<br>
      bchan=32-46,48-62<br>
      mtp2=47<br>
      <br>
      <b>/etc/asterisk/chan_dahdi.conf</b>:<br>
      [trunkgroups]<br>
      <br>
      [channels]<br>
      usecallerid=yes<br>
      hidecallerid=no<br>
      callwaiting=yes<br>
      usecallingpres=yes<br>
      callwaitingcallerid=yes<br>
      threewaycalling=yes<br>
      transfer=yes<br>
      canpark=yes<br>
      cancallforward=yes<br>
      callreturn=yes<br>
      echocancel=yes<br>
      echocancelwhenbridged=yes<br>
      relaxdtmf=yes<br>
      rxgain=0.0<br>
      txgain=0.0<br>
      group=1<br>
      callgroup=1<br>
      pickupgroup=1<br>
      immediate=no<br>
      <br>
      ;Sangoma A102 port 1 [slot:4 bus:12 span:1] <wanpipe1><br>
      switchtype=euroisdn<br>
      context=from-ss7<br>
      group=0<br>
      echocancel=no<br>
      signaling=ss7<br>
    </small><small>linkset=1</small><br>
    <small> ss7type=itu<br>
      ss7_called_nai=dynamic<br>
      ss7_calling_nai=dynamic<br>
      ss7_internationalprefix=00<br>
      ss7_nationalprefix=0<br>
      ss7_subscriberprefix=<br>
      ss7_unknownprefix=<br>
      ss7_explicitacm=yes<br>
      pointcode=1379<br>
      adjpointcode=1288<br>
      defaultdpc=1288<br>
      networkindicator=national<br>
      <br>
      ;First E1<br>
      sigchan=16<br>
      cicbeginswith=1<br>
      channel=1-15<br>
      cicbeginswith=17<br>
      channel=17-31<br>
      <br>
      ;Second E1<br>
      sigchan=47<br>
      cicbeginswith=32<br>
      channel=32-46<br>
      cicbeginswith=48<br>
      channel=48-62<br>
      <br>
      <br>
      <br>
      <i><br>
      </i><br>
    </small><br>
    -- <br>
    <div class="moz-signature"> <br>
      <br>
      Get important Linux and industry-related news at: <a
        href="http://facebook.com/dcdata">facebook.com/dcdata</a><br>
      <br>
      <font color="#000000"><font face="arial" size="2">Kind regards,</font><br>
        <br>
         <font color="#000000"><font face="arial"><font size="4">David
              Wilson</font></font></font><br>
         <font color="#000000"><font face="arial"><font size="1">CNS,CLS,
              LINUX+, CLA, DCTS, LPIC3</font></font></font><br>
         <font color="#0779b5"><font face="arial"><font size="3"><b>LinuxTech
                CC t/a DcData</b></font></font></font><br>
         <font color="#0779b5"><font face="arial"><font size="1">CK
              number: 2001/058368/23</font></font></font><br>
        <table border="0">
          <tbody>
            <tr>
              <td width="75"><font color="#000000"><font face="arial"><font
                      size="2"><b>Website:</b></font></font></font></td>
              <td><font color="#000000"><font face="arial"><font
                      size="2"><a class="moz-txt-link-freetext"
                        href="http://www.dcdata.co.za">http://www.dcdata.co.za</a></font></font></font></td>
            </tr>
            <tr>
              <td><font color="#000000"><font face="arial"><font
                      size="2"><b>Support:</b></font></font></font></td>
              <td><font color="#000000"><font face="arial"><font
                      size="2">+27(0)860-1-LINUX</font></font></font></td>
            </tr>
            <tr>
              <td><font color="#000000"><font face="arial"><font
                      size="2"><b>Mobile:</b></font></font></font></td>
              <td><font color="#000000"><font face="arial"><font
                      size="2">+27(0)824147413</font></font></font></td>
            </tr>
            <tr>
              <td><font color="#000000"><font face="arial"><font
                      size="2"><b>Tel:</b></font></font></font></td>
              <td><font color="#000000"><font face="arial"><font
                      size="2">+27(0)333446100</font></font></font></td>
            </tr>
            <tr>
              <td><font color="#000000"><font face="arial"><font
                      size="2"><b>Fax:</b></font></font></font></td>
              <td><font color="#000000"><font face="arial"><font
                      size="2">+27(0)866878971</font></font></font></td>
            </tr>
          </tbody>
        </table>
      </font></div>
  
<br><br>
<p style="font-family: Verdana; font-size:8pt; color:#666666;" align="justify">
Time to evaluate your email security provider? <a href="http://www.mimecast.com/emailsecurity/">Watch the video</a> and take advantage of Mimecast’s first ever limited promotion.
</p>
</body>
</html>