<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>hello:<div>this table is sangoma ss7. you are using chan_ss7. &nbsp;I think you have to<font size="3">&nbsp;catch that values(DNI,RNI, ANI) in chan_ss7,&nbsp;</font>source<font size="3">&nbsp;code is:</font></div><div><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; font-size: 12px; font-family: Consolas, 'Liberation Mono', Courier, monospace; color: rgb(51, 51, 51); line-height: 18px;"><div class="line" id="LC117" style="margin: 0px; padding: 0px 0px 0px 10px; border: 0px;"><span class="cm" style="margin: 0px; padding: 0px; border: 0px; color: rgb(153, 153, 136); font-style: italic;">/* Possible values for generic number. */</span></div><div class="line" id="LC118" style="margin: 0px; padding: 0px 0px 0px 10px; border: 0px;"><span class="k" style="margin: 0px; padding: 0px; border: 0px; font-weight: bold;">struct</span> <span class="n" style="margin: 0px; padding: 0px; border: 0px;">generic_number</span> <span class="p" style="margin: 0px; padding: 0px; border: 0px;">{</span></div><div class="line" id="LC119" style="margin: 0px; padding: 0px 0px 0px 10px; border: 0px;">&nbsp;&nbsp;<span class="k" style="margin: 0px; padding: 0px; border: 0px; font-weight: bold;">struct</span> <span class="n" style="margin: 0px; padding: 0px; border: 0px;">isup_phonenum</span> <span class="n" style="margin: 0px; padding: 0px; border: 0px;">dni</span><span class="p" style="margin: 0px; padding: 0px; border: 0px;">;</span></div><div class="line" id="LC120" style="margin: 0px; padding: 0px 0px 0px 10px; border: 0px;">&nbsp;&nbsp;<span class="k" style="margin: 0px; padding: 0px; border: 0px; font-weight: bold;">struct</span> <span class="n" style="margin: 0px; padding: 0px; border: 0px;">isup_phonenum</span> <span class="n" style="margin: 0px; padding: 0px; border: 0px;">ani</span><span class="p" style="margin: 0px; padding: 0px; border: 0px;">;</span></div><div class="line" id="LC121" style="margin: 0px; padding: 0px 0px 0px 10px; border: 0px;">&nbsp;&nbsp;<span class="k" style="margin: 0px; padding: 0px; border: 0px; font-weight: bold;">struct</span> <span class="n" style="margin: 0px; padding: 0px; border: 0px;">isup_phonenum</span> <span class="n" style="margin: 0px; padding: 0px; border: 0px;">rni</span><span class="p" style="margin: 0px; padding: 0px; border: 0px;">;</span></div><div class="line" id="LC122" style="margin: 0px; padding: 0px 0px 0px 10px; border: 0px;"><span class="p" style="margin: 0px; padding: 0px; border: 0px;">};</span></div></pre><br>Best regards,<br>James.zhu<br>website: www.hiastar.com <br><br><br><div><hr id="stopSpelling">Date: Wed, 5 Jun 2013 14:36:36 +0200<br>From: cervajs@fpf.slu.cz<br>To: asterisk-ss7@lists.digium.com<br>Subject: Re: [asterisk-ss7] chan_ss7 and Generic Number<br><br>
  
    
  
  
    <div class="ecxmoz-cite-prefix">
      <pre>the problem is incomplete calling party number
check the "Address signal" attribute

sangoma fills the X-Freetdm-GN parameter
<a class="ecxmoz-txt-link-freetext" href="http://wiki.sangoma.com/ftmod-sangoma-ss7-generic-number" target="_blank">http://wiki.sangoma.com/ftmod-sangoma-ss7-generic-number</a>

SS7 IAM
---------|--------------------------------------------------|--------------------------------------------
00001010 |                                   Parameter name |                        Calling party number
00000111 |                              Length of parameter |                                   7 Byte(s)
-0000100 |                      Nature of address indicator |                        international number
0------- |                               Odd/even indicator |              even number of address signals
------11 |                              Screening indicator |                            network provided
----00-- |        Address presentation restricted indicator |                        presentation allowed
-001---- |                          Numbering plan idicator |                 ISDN numbering plan (E.164)
0------- |                 Number Incomplete indicator (NI) |                                    complete
XXXXXXXX |                                   Address signal |                                  1234567890
---------|--------------------------------------------------|--------------------------------------------

---------|--------------------------------------------------|--------------------------------------------
11000000 |                                   Parameter name |                              Generic number
00001010 |                              Length of parameter |                                  10 Byte(s)
00000110 |                       Number qualifier indicator |             additional calling party number
-0000100 |                      Nature of address indicator |                        international number
1------- |                               Odd/even indicator |               odd number of address signals
------00 |                              Screening indicator |                  user provided,not verified
----00-- |        Address presentation restricted indicator |                        presentation allowed
-001---- |                         Numbering plan indicator |                 ISDN numbering plan (E.164)
0------- |                 Number Incomplete indicator (NI) |                             number complete
XXXXXXXX |                                   Address signal |                               1234567890111
---------|--------------------------------------------------|--------------------------------------------</pre>
      <br>
      <br>
      <br>
      <br>
      Dne 5.6.2013 5:43, James zhu napsal(a):<br>
    </div>
    <blockquote cite="mid:BLU171-W5102ECAAB037564282095BB59F0@phx.gbl">
      <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
      <div dir="ltr">what you mean receiving by sip. can you show debug
        info?<br>
        <br>
        Best regards,<br>
        James.zhu<br>
        website: <a class="ecxmoz-txt-link-abbreviated" href="http://www.hiastar.com" target="_blank">www.hiastar.com</a> <br>
        <br>
        <br>
        <div>&gt; Date: Mon, 3 Jun 2013 17:42:13 +0200<br>
          &gt; From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:cervajs@fpf.slu.cz">cervajs@fpf.slu.cz</a><br>
          &gt; To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:asterisk-ss7@lists.digium.com">asterisk-ss7@lists.digium.com</a><br>
          &gt; Subject: Re: [asterisk-ss7] chan_ss7 and Generic Number<br>
          &gt; <br>
          &gt; try this patch and report to the mailing list<br>
          &gt;
          <a class="ecxmoz-txt-link-freetext" href="http://lists.digium.com/pipermail/asterisk-ss7/2011-October/004611.html" target="_blank">http://lists.digium.com/pipermail/asterisk-ss7/2011-October/004611.html</a><br>
          &gt; <br>
          &gt; Dne 3.6.2013 13:34, Simon Handschin napsal(a):<br>
          &gt; &gt; Hi Everybody<br>
          &gt; &gt;<br>
          &gt; &gt; I use chan_ss7 2.1.0 with asterisk 1.8.9.3 and
          Sangoma wanpipe 3.5.25.<br>
          &gt; &gt;<br>
          &gt; &gt; I receive a Generic Number from our Carrier but I
          cant see anything in<br>
          &gt; &gt; SIP, is there a way to get the Generic Number
          through chan_ss7?<br>
          &gt; &gt;<br>
          &gt; &gt; Regards,
        </div>
      </div>
    </blockquote>
  

<br>--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-ss7</div></div>                                               </div></body>
</html>