<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    I don't think so. I think it's a predefined pairs of TON and NPI,
    that could not be set separately.<br>
    <br>
    On 24.05.2011 04:35, Rafael dos Santos Saraiva wrote:
    <blockquote
      cite="mid:BANLkTi=cG8DQfQCmbq_3fF3AmZwGiHp7vQ@mail.gmail.com"
      type="cite"><font class="Apple-style-span" face="arial,
        sans-serif">did not work!! Bug in Asterisk?? :(</font>
      <div><font class="Apple-style-span" face="arial, sans-serif"><br>
        </font></div>
      <div><font class="Apple-style-span" face="arial, sans-serif">Rafael<br>
        </font><br>
        <div class="gmail_quote">2011/5/20 Захаров Антон <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:instnt@mail.ru">instnt@mail.ru</a>&gt;</span><br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div text="#000000" bgcolor="#ffffff"> Yeap, I couldn't set
              Private TON too. Try to set all _prefix variables in
              chan_dahdi.conf and use dynamic prilocaldialplan.<br>
              <br>
              On 19.05.2011 21:30, Rafael dos Santos Saraiva wrote:
              <blockquote type="cite">Hi
                <div><br>
                </div>
                <div>I change the chan_dahdi.conf and restart dahdi:</div>
                <div>prilocaldialplan=private</div>
                <div>pridialplan=private</div>
                <div><br>
                </div>
                <div>But, in debug i see the following informations:</div>
                <div>
                  <div> 1 &gt; Calling Number (len= 8) [ Ext: 0  TON: <b><font
                        color="#ff0000">National Number (2) </font></b> NPI:
                    ISDN/Telephony Numbering Plan (E.164/E.163) (1)</div>
                  <div>1 &gt;                           Presentation:
                    Presentation permitted, user number not screened (0)
                     '1570' ]</div>
                  <div>1 &gt; [70 0a 80 30 38 31 37 34 37 39 35 36]</div>
                  <div>1 &gt; Called Number (len=12) [ Ext: 1  TON:
                    Unknown Number Type (0)  NPI: Unknown Number Plan
                    (0)  '81747956' ]</div>
                  <div><br>
                  </div>
                  I set Private TON, but display National TON.</div>
                <div><br>
                </div>
                <div>Thank's</div>
                <div><br>
                </div>
                <div>Att,</div>
                <div>Rafael Saraiva <br>
                  <div class="gmail_quote">2011/5/19 Захаров Антон <span
                      dir="ltr">&lt;<a moz-do-not-send="true"
                        href="mailto:instnt@mail.ru" target="_blank">instnt@mail.ru</a>&gt;</span><br>
                    <blockquote class="gmail_quote" style="margin: 0pt
                      0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
                      204, 204); padding-left: 1ex;">
                      <div text="#000000" bgcolor="#ffffff"> Hello. <br>
                        <br>
                        To apply this settings you should restart dahdi
                        ("dahdi restart" in CLI). About influence you
                        could read here: <a moz-do-not-send="true"
                          href="http://markmail.org/message/rpd2aewiu2soostz"
                          target="_blank">http://markmail.org/message/rpd2aewiu2soostz</a><br>
                        <br>
                        On 19.05.2011 06:05, Rafael dos Santos Saraiva
                        wrote:
                        <blockquote type="cite">Hi
                          <div><br>
                          </div>
                          <div><br>
                          </div>
                          <div>I'm beginner in list. I have doubts about
                            the options pridialplan and prilocaldiaplan
                            in chan_dahdi.conf. I interconnect the
                            Asterisk with a Siemens PBX, but i saw that
                            the changes in the file do not take effect
                            in debug of the span or calling/called
                            number. How to use this options? In that
                            cases to use?</div>
                          <div>
                            <div><br>
                            </div>
                            <div>Ps.: sorry for the english, i'm
                              brazilian.</div>
                            <div><br>
                            </div>
                            <div>Thanks</div>
                            -- <br>
                            Att,
                            <div>Rafael Saraiva</div>
                            <br>
                          </div>
                          <pre><fieldset></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a moz-do-not-send="true" href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a moz-do-not-send="true" href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a moz-do-not-send="true" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
                        </blockquote>
                        <br>
                      </div>
                      <br>
                      --<br>
_____________________________________________________________________<br>
                      -- Bandwidth and Colocation Provided by <a
                        moz-do-not-send="true"
                        href="http://www.api-digital.com"
                        target="_blank">http://www.api-digital.com</a>
                      --<br>
                      New to Asterisk? Join us for a live introductory
                      webinar every Thurs:<br>
                                    <a moz-do-not-send="true"
                        href="http://www.asterisk.org/hello"
                        target="_blank">http://www.asterisk.org/hello</a><br>
                      <br>
                      asterisk-users mailing list<br>
                      To UNSUBSCRIBE or update options visit:<br>
                        <a moz-do-not-send="true"
                        href="http://lists.digium.com/mailman/listinfo/asterisk-users"
                        target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
                    </blockquote>
                  </div>
                  <br>
                  <br clear="all">
                  <br>
                  -- <br>
                  Att,
                  <div>Rafael Saraiva</div>
                  <br>
                </div>
                <pre><fieldset></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a moz-do-not-send="true" href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a moz-do-not-send="true" href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a moz-do-not-send="true" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
              </blockquote>
              <br>
            </div>
            <br>
            --<br>
_____________________________________________________________________<br>
            -- Bandwidth and Colocation Provided by <a
              moz-do-not-send="true" href="http://www.api-digital.com"
              target="_blank">http://www.api-digital.com</a> --<br>
            New to Asterisk? Join us for a live introductory webinar
            every Thurs:<br>
                          <a moz-do-not-send="true"
              href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
            <br>
            asterisk-users mailing list<br>
            To UNSUBSCRIBE or update options visit:<br>
              <a moz-do-not-send="true"
              href="http://lists.digium.com/mailman/listinfo/asterisk-users"
              target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        Att,
        <div>Rafael Saraiva</div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>

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