<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">No, THATS A BAD SS7 EXPERIENCE.<br>
      You must learn this BEFORE trying to mess around with ISUP.<br>
      ISUP is serious stuff, do it right.<br>
      If you haven't spent at least 2 full days studying ISUP and SS7,
      than you're not even close to ready to mess around with ISUP in
      production.<br>
      <br>
      On 08/02/12 14:38, David Wilson wrote:<br>
    </div>
    <blockquote cite="mid:501ABB13.5040008@dcdata.co.za" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <font size="-1">FINALLY after many hours and much hair pulling,
        emailing and assistance from this asterisk-ss7 list we've
        finally got it working!!<br>
        It turns out that the E1 links were swapped around on the
        provider's side which means that CICs were swapped around..<br>
        A BIG thank you to everyone that responded. Thank you for your
        assistance and guidance. I've definitely had a good SS7 learning
        experience! :)<br>
        <br>
        <br>
      </font>
      <div class="moz-signature"> <br>
        Get important Linux and industry-related news at: <a
          moz-do-not-send="true" href="http://facebook.com/dcdata">facebook.com/dcdata</a><br>
        <br>
        <font color="#000000"><font face="arial" size="2">Kind regards,</font><br>
          <br>
          &nbsp;<font color="#000000"><font face="arial"><font size="4">David
                Wilson</font></font></font><br>
          &nbsp;<font color="#000000"><font face="arial"><font size="1">CNS,CLS,

                LINUX+, CLA, DCTS, LPIC3</font></font></font><br>
          &nbsp;<font color="#0779b5"><font face="arial"><font size="3"><b>LinuxTech

                  CC t/a DcData</b></font></font></font><br>
          &nbsp;<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 moz-do-not-send="true"
                          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>
      On 08/02/2012 02:07 PM, David Wilson wrote:
      <blockquote cite="mid:501A6D97.4090904@dcdata.co.za" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <font size="-1">OK. An inbound call was placed to our system
          which landed on CIC1.<br>
          <br>
          <i><br>
          </i></font><font size="-1"><i>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>
            &nbsp;&nbsp;&nbsp; -- Accepting call to '01900' on CIC 1<br>
            &nbsp;&nbsp;&nbsp; -- Executing [01900@from-ss7:1] Answer("DAHDI/1-1", "")
            in new stack<br>
            &nbsp;&nbsp;&nbsp; -- Executing [01900@from-ss7:2] Monitor("DAHDI/1-1",
            "wav,1343909018.3,m") in new stack<br>
            &nbsp;&nbsp;&nbsp; -- Executing [01900@from-ss7:3] Playback("DAHDI/1-1",
            "/var/lib/asterisk/sounds/en/followme/pls-hold-while-try")
            in new stack<br>
            &nbsp;&nbsp;&nbsp; -- &lt;DAHDI/1-1&gt; Playing
            '/var/lib/asterisk/sounds/en/followme/pls-hold-while-try.gsm'
            (language 'en')<br>
            &nbsp;&nbsp;&nbsp; -- Executing [01900@from-ss7:4] MusicOnHold("DAHDI/1-1",
            "default,60") in new stack<br>
            &nbsp;&nbsp;&nbsp; -- Started music on hold, class 'default', on DAHDI/1-1<br>
            &nbsp;&nbsp;&nbsp; -- Stopped music on hold on DAHDI/1-1</i><br>
          <br>
          <br>
          I ran "dahdi_monitor 1 -vv" and could see my music on hold
          traffic being transmitted as under (TX).<br>
          <br>
          I've tried downgrading asterisk to asterisk-1.6.0 as suggested
          by some posts but I still get the same result. The calling in
          person does not hear my music on hold.<br>
          <br>
        </font>
        <div class="moz-signature"> </div>
        <br>
        <div class="moz-signature"> <br>
          <br>
          Get important Linux and industry-related news at: <a
            moz-do-not-send="true" href="http://facebook.com/dcdata">facebook.com/dcdata</a><br>
          <br>
          <font color="#000000"><font face="arial" size="2">Kind
              regards,</font><br>
            <br>
            &nbsp;<font color="#000000"><font face="arial"><font size="4">David

                  Wilson</font></font></font><br>
            &nbsp;<font color="#000000"><font face="arial"><font size="1">CNS,CLS,


                  LINUX+, CLA, DCTS, LPIC3</font></font></font><br>
            &nbsp;<font color="#0779b5"><font face="arial"><font size="3"><b>LinuxTech


                    CC t/a DcData</b></font></font></font><br>
            &nbsp;<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 moz-do-not-send="true"
                            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>
        On 08/02/2012 01:34 PM, David Wilson wrote:
        <blockquote cite="mid:501A65CA.2070703@dcdata.co.za" type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          <font size="-1">Thank you for your reply Kalolyan.</font><br>
          <br>
          <small>I've made the adjustments that you've suggested and
            will retest shortly.<br>
            A quick check though with regards to dahdi_monitor syntax.
            May I use dahdi_monitor as follows to show the CIC?<br>
            <i>dahdi_monitor 1 -v</i><br>
            <br>
            For monitoring channel 1.<br>
          </small><br>
          <br>
          <br>
          <br>
          <div class="moz-signature"> <br>
            <br>
            Get important Linux and industry-related news at: <a
              moz-do-not-send="true" href="http://facebook.com/dcdata">facebook.com/dcdata</a><br>
            <br>
            <font color="#000000"><font face="arial" size="2">Kind
                regards,</font><br>
              <br>
              &nbsp;<font color="#000000"><font face="arial"><font size="4">David


                    Wilson</font></font></font><br>
              &nbsp;<font color="#000000"><font face="arial"><font size="1">CNS,CLS,



                    LINUX+, CLA, DCTS, LPIC3</font></font></font><br>
              &nbsp;<font color="#0779b5"><font face="arial"><font size="3"><b>LinuxTech



                      CC t/a DcData</b></font></font></font><br>
              &nbsp;<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 moz-do-not-send="true"
                              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>
          On 08/02/2012 01:02 PM, Kaloyan Kovachev wrote:
          <blockquote
            cite="mid:10ad2d3e271423c0cfd11a7b7e8c7470@mx.varna.net"
            type="cite">
            <pre wrap="">Hi,

On Thu, 02 Aug 2012 12:19:06 +0200, David Wilson <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:dave@dcdata.co.za">&lt;dave@dcdata.co.za&gt;</a>
wrote:
</pre>
            <blockquote type="cite">
              <pre wrap="">*/etc/asterisk/chan_dahdi.conf*:
[trunkgroups]

[channels]
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

;Sangoma A102 port 1 [slot:4 bus:12 span:1] &lt;wanpipe1&gt;
switchtype=euroisdn
</pre>
            </blockquote>
            <pre wrap="">you should not define switchtype with ss7 - it is only for PRI signaling

</pre>
            <blockquote type="cite">
              <pre wrap="">context=from-ss7
group=0
echocancel=no
signaling=ss7
linkset=1
ss7type=itu
ss7_called_nai=dynamic
ss7_calling_nai=dynamic
ss7_internationalprefix=00
ss7_nationalprefix=0
ss7_subscriberprefix=
ss7_unknownprefix=
;ss7_explicitacm=yes
pointcode=1379
adjpointcode=1288
defaultdpc=1288
networkindicator=national

;First E1
sigchan=16
cicbeginswith=1
channel=1-15
cicbeginswith=17
channel=17-31

;Second E1
sigchan=47
cicbeginswith=33
channel=32-46
cicbeginswith=49
channel=48-62

</pre>
            </blockquote>
            <pre wrap="">please define your sigchans last.

you may use dahdi_monitor to check on which CIC you are receiving the
audio from the other side and if it is not the one on which you are sending
it - you can be sure about the misalignment. You may comment out the second
E1 and check with the telco if they get the signaling on their first link
or (as you can't swap the cables) just swap them in your config and see if
the audio is working:

;First E1
cicbeginswith=1
channel=32-46
cicbeginswith=17
channel=48-62

;Second E1
cicbeginswith=33
channel=1-15
cicbeginswith=49
channel=17-31
sigchan=16
sigchan=47


</pre>
            <blockquote type="cite">
              <pre wrap="">*/etc/asterisk/extensions.conf*
[general]

[from-ss7]
exten =&gt; _X.,1,Answer
exten =&gt; _X.,n,Monitor(wav,${UNIQUEID},m)
exten =&gt; 
_X.,n,Playback(/var/lib/asterisk/sounds/en/followme/pls-hold-while-try)
exten =&gt; _X.,n,MusicOnHold(default,60)

Get important Linux and industry-related news at: facebook.com/dcdata 
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="http://facebook.com/dcdata">&lt;http://facebook.com/dcdata&gt;</a>

Kind regards,

David Wilson
CNS,CLS, LINUX+, CLA, DCTS, LPIC3
*LinuxTech CC t/a DcData*
CK number: 2001/058368/23
*Website:*         <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.dcdata.co.za">http://www.dcdata.co.za</a>
*Support:*         +27(0)860-1-LINUX
*Mobile:*         +27(0)824147413
*Tel:*         +27(0)333446100
*Fax:*         +27(0)866878971
</pre>
            </blockquote>
            <pre wrap="">--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
   <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-ss7">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a>

</pre>
          </blockquote>
        </blockquote>
      </blockquote>
      <br>
      <br>
      <p style="font-family: Verdana; font-size:8pt; color:#666666;"
        align="justify">
        Time to evaluate your email security provider? <a
          moz-do-not-send="true"
          href="http://www.mimecast.com/emailsecurity/">Watch the video</a>
        and take advantage of Mimecast&#8217;s first ever limited promotion.
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-ss7">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a></pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>