Re: [asterisk-users] Pridialplan/ prilocaldialplan

2011-05-26 Thread Rafael dos Santos Saraiva
Hi
I made a mistake. I was putting the lines pridialplan and
prilocaldialplan after
the line channel in chan_dahdi.conf. The Asterisk does not read the
lines after channel.

Thank's

Att,
Rafael Saraiva


2011/5/23 Rafael dos Santos Saraiva rafaels...@gmail.com

 did not work!! Bug in Asterisk?? :(

 Rafael

 2011/5/20 Захаров Антон ins...@mail.ru

  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)
 1Presentation: 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 Захаров Антон ins...@mail.ru

  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 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




 --
 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




 --
 Att,
 Rafael Saraiva




-- 
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

Re: [asterisk-users] Pridialplan/ prilocaldialplan

2011-05-24 Thread Захаров Антон
I don't think so. I think it's a predefined pairs of TON and NPI, that 
could not be set separately.


On 24.05.2011 04:35, Rafael dos Santos Saraiva wrote:

did not work!! Bug in Asterisk?? :(

Rafael

2011/5/20 Захаров Антон ins...@mail.ru mailto:ins...@mail.ru

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)
1Presentation: 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 Захаров Антон ins...@mail.ru mailto:ins...@mail.ru

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 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

Re: [asterisk-users] Pridialplan/ prilocaldialplan

2011-05-23 Thread Rafael dos Santos Saraiva
did not work!! Bug in Asterisk?? :(

Rafael

2011/5/20 Захаров Антон ins...@mail.ru

  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)
 1Presentation: 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 Захаров Антон ins...@mail.ru

  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 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




 --
 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




-- 
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

Re: [asterisk-users] Pridialplan/ prilocaldialplan

2011-05-19 Thread Rafael dos Santos Saraiva
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)
1Presentation: 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 Захаров Антон ins...@mail.ru

  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 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




-- 
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

Re: [asterisk-users] Pridialplan/ prilocaldialplan

2011-05-19 Thread Захаров Антон
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)
1Presentation: 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 Захаров Антон ins...@mail.ru mailto:ins...@mail.ru

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

[asterisk-users] Pridialplan/ prilocaldialplan

2011-05-18 Thread Rafael dos Santos Saraiva
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 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

Re: [asterisk-users] Pridialplan/ prilocaldialplan

2011-05-18 Thread Захаров Антон

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 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

Re: [asterisk-users] pridialplan/prilocaldialplan

2007-02-07 Thread Johann Steinwendtner

Christoph Fürstaller schrieb:


Can someone explain what the parameters pridialplan and prilocaldialplan
are? What do they do and do I need them?

I've connected an asterisk box via E1 (sangoma) to an alcatel 4200 pbx.
The pbx technican complains about the format of the nr asterisk sends.
Asterisk sends all numbers in on piece the pbx expects the numbers
devided into international prefix, national prefix, phone number and
extension. How can I set this behaviour? Is this possible with the above
mentioned parameters? Or do I need something else/different?

I hope someone can explain that to me.


Hello !

pridialplan/prilocaldialplan sets the type of number information for
the called/calling number.
You need to be more specific which number you mean (called or calling)
The pbx technican is wrong unless the alcatel uses a different protocol
than EuroISDN or QSIG.

Regards

Hans
___
--Bandwidth and Colocation provided by Easynews.com --

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


R: [asterisk-users] pridialplan/prilocaldialplan

2007-02-07 Thread Giordano Grandis
Look at here

http://lists.digium.com/pipermail/asterisk-users/2005-May/102837.html

Giordano

-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Johann 
Steinwendtner
Inviato: mercoledì 7 febbraio 2007 14.56
A: Asterisk Users Mailing List - Non-Commercial Discussion
Oggetto: Re: [asterisk-users] pridialplan/prilocaldialplan

Christoph Fürstaller schrieb:

 Can someone explain what the parameters pridialplan and prilocaldialplan
 are? What do they do and do I need them?
 
 I've connected an asterisk box via E1 (sangoma) to an alcatel 4200 pbx.
 The pbx technican complains about the format of the nr asterisk sends.
 Asterisk sends all numbers in on piece the pbx expects the numbers
 devided into international prefix, national prefix, phone number and
 extension. How can I set this behaviour? Is this possible with the above
 mentioned parameters? Or do I need something else/different?
 
 I hope someone can explain that to me.
 
Hello !

pridialplan/prilocaldialplan sets the type of number information for
the called/calling number.
You need to be more specific which number you mean (called or calling)
The pbx technican is wrong unless the alcatel uses a different protocol
than EuroISDN or QSIG.

Regards

Hans
___
--Bandwidth and Colocation provided by Easynews.com --

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

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.29/673 - Release Date: 06/02/2007 
17.52
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.29/673 - Release Date: 06/02/2007 
17.52
 
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] pridialplan/prilocaldialplan

2007-02-06 Thread Christoph Fürstaller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Can someone explain what the parameters pridialplan and prilocaldialplan
are? What do they do and do I need them?

I've connected an asterisk box via E1 (sangoma) to an alcatel 4200 pbx.
The pbx technican complains about the format of the nr asterisk sends.
Asterisk sends all numbers in on piece the pbx expects the numbers
devided into international prefix, national prefix, phone number and
extension. How can I set this behaviour? Is this possible with the above
mentioned parameters? Or do I need something else/different?

I hope someone can explain that to me.

Thanks in advance,

Christoph

- --
Dipl.-Ing. Kurt Krenn  -  IT-Beratung
Franz-Josef-Strasse 33/4/43, 5020 Salzburg
Tel: +43 662 879512  Fax: +43 662 875960
IP-Tel: +43 780 kkrenn (557366)
Email: [EMAIL PROTECTED]
sip: [EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFyGDXR0exH8dhr/YRAgxxAKCsren0xCF4K+8yfLBpfF8BeCSFJwCeKzkh
hoOSPICBGr9mEctSw19/fUs=
=PM9C
-END PGP SIGNATURE-
___
--Bandwidth and Colocation provided by Easynews.com --

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


[Asterisk-Users] pridialplan prilocaldialplan

2005-05-30 Thread Remco Barende

Hi list!

What exactly is the meaning / function of the pridialplan  
prilocaldialplan?


I've been trying to find out what the different possibilities for these 
settings are but couldn't find a clear answer.


The possible parameters I could find are are : 
local,unknown,dynamic,national,international

and maybe there are more?

Thanks!
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] pridialplan prilocaldialplan

2005-05-30 Thread Colin Anderson
It defines the number pattern that is sent to the PRI. 90% of the time, best
practice is to set this to 'unknown' and then Asterisk will dump the dialled
digits to the PRI as the user dials them, not in some predefined pattern,
UNLESS your telco expects digits to be dialled in a certain pattern. 

hth

-Original Message-
From: Remco Barende [mailto:[EMAIL PROTECTED]
Sent: Monday, May 30, 2005 12:41 PM
To: Asterisk Users List
Subject: [Asterisk-Users] pridialplan  prilocaldialplan


Hi list!

What exactly is the meaning / function of the pridialplan  
prilocaldialplan?

I've been trying to find out what the different possibilities for these 
settings are but couldn't find a clear answer.

The possible parameters I could find are are : 
local,unknown,dynamic,national,international
and maybe there are more?

Thanks!
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] pridialplan prilocaldialplan

2005-05-30 Thread Peter Svensson
On Mon, 30 May 2005, Remco Barende wrote:

 What exactly is the meaning / function of the pridialplan  
 prilocaldialplan?

Both set the two fields Type Of Number (TON) and Numbering Plan (NPI)
markers on an outgoing isdn call. These two tell a receiving isdn switch 
how to interpret the accompanying digits. 

The pridialplan option controls the TON+NPI associated with the Called
Party information element. This is the recipient of the call.

The prilocaldialplan option controls the TON+NPI associated with the
Calling Party information element. This is the originator to be presented 
to the receiving user (think CallerId).

 I've been trying to find out what the different possibilities for these 
 settings are but couldn't find a clear answer.
 
 The possible parameters I could find are are : 
 local,unknown,dynamic,national,international
 and maybe there are more?

unknown : set TON to unknown and NPI to unknown. This instructs the 
receiving switch to interpret the digits according to the 
standard used by the pstn in that country, leading zeroes
etc included. E.g. 00461234567 for a call to Sweden.
This is what one should normally use

local: Almost never used unless requested by your pstn provider.

national : Interpret the digits as a national number, i.e. with an 
 area code at the beginning, but without any escape digits.
 I.e. no leading zero or similar for the area code. 
 International dial is not possible. 
 This is the default in Asterisk and almost always wrong. In
 some pstn networks in the USA this is actually interpreted 
 like unknown above and not according to the specification.

international : 
 A fully formed E.164 phone number. 461234567 would be a 
 call to Sweden. Usable.

dynamic  : Parse the dialed number and try to find a matching prefix in 
 the settings internationalprefix, nationalprefix,
 localprefix, privateprefix, unknownprefix. If matched, 
 set the TON/NPI to the matched setting and strip the prefix. 
 Having set nationalprefix=0 allows you to call Dial with e.g. 
 0461234567 and have it sent as TON=national, digits=461234567.

Setting the *prefix variables listed in dynamic above will _add_ the 
prefix on inbound calls. This can make the parsing of incoming calls 
easier.

Peter


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