Yeap, I couldn't set Private TON too. Try to set all _prefix variables in chan_dahdi.conf and use dynamic prilocaldialplan.

On 19.05.2011 21:30, Rafael dos Santos Saraiva wrote:
Hi

I change the chan_dahdi.conf and restart dahdi:
prilocaldialplan=private
pridialplan=private

But, in debug i see the following informations:
1 > Calling Number (len= 8) [ Ext: 0 TON: *National Number (2) * NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) 1 > Presentation: Presentation permitted, user number not screened (0) '1570' ]
1 > [70 0a 80 30 38 31 37 34 37 39 35 36]
1 > Called Number (len=12) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '81747956' ]

I set Private TON, but display National TON.

Thank's

Att,
Rafael Saraiva
2011/5/19 Захаров Антон <[email protected] <mailto:[email protected]>>

    Hello.

    To apply this settings you should restart dahdi ("dahdi restart"
    in CLI). About influence you could read here:
    http://markmail.org/message/rpd2aewiu2soostz

    On 19.05.2011 06:05, Rafael dos Santos Saraiva wrote:
    Hi


    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?

    Ps.: sorry for the english, i'm brazilian.

    Thanks
-- Att,
    Rafael Saraiva


    --
    _____________________________________________________________________
    -- Bandwidth and Colocation Provided byhttp://www.api-digital.com  --
    New to Asterisk? Join us for a live introductory webinar every Thurs:
                    http://www.asterisk.org/hello

    asterisk-users mailing list
    To UNSUBSCRIBE or update options visit:
        http://lists.digium.com/mailman/listinfo/asterisk-users


    --
    _____________________________________________________________________
    -- Bandwidth and Colocation Provided by http://www.api-digital.com --
    New to Asterisk? Join us for a live introductory webinar every Thurs:
    http://www.asterisk.org/hello

    asterisk-users mailing list
    To UNSUBSCRIBE or update options visit:
    http://lists.digium.com/mailman/listinfo/asterisk-users




--
Att,
Rafael Saraiva


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
                http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
    http://lists.digium.com/mailman/listinfo/asterisk-users

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to