The values are mutually exclusive so you can only set it once. What you want
to do is from the Asterisk console type in PRI DEBUG SPAN 1 (if you only
have 1 PRI) and place a call. PRI DEBUG will throw up everything on the
screen concerning call setup and teardown at the PRI network layer. A good
debug looks like this:
-- Making new call for cr 32773> Protocol Discriminator: Q.931 (8) len=54
> Call Ref: len= 2 (reference 5/0x5) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a2]
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer
capability: Speech (0)> Ext: 1 Trans mode/rate: 64kbps, circuit-mode
(16)> Ext: 1 User information layer 1: u-Law (34)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified Channel Type:
3> Ext: 1 Channel: 1 ]
> [1e 02 80 83]
> Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0:
0 Location: User (0)> Ext: 1 Progress Description: Calling
equipment is non-ISDN. (3) ]> [28 0f b1 43 6f 6c 69 6e 20 41 6e 64 65 72 73 6f 6e]
> Display (len=15) Charset: 31 [ Colin Anderson ]
--important part below--
> [6c 06 21 81 31 30 30 31]
> Calling Number (len= 8) [ Ext: 0 TON: National Number (2) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)> Presentation: Presentation permitted, user
number passed network screening (1) '1001' ]> [70 08 80 37 30 32 33 30 31 37]
> Called Number (len=10) [ Ext: 1 TON: Unknown Number Type (0) NPI:
Unknown Number Plan (0) '7023017' ]
-- Called g0/7023017
< Protocol Discriminator: Q.931 (8) len=10
< Call Ref: len= 2 (reference 32773/0x8005) (Terminator)
< Message type: CALL PROCEEDING (2)
--import part above ---
The sections in the "important part" are going to give you clues as to
what's going on under the hood. If you can't get to this part above with
a
PRI debug, for example, you have a misonconfiguration in your * setup. Post
your debug and let's look at it.
-----Original Message-----
From: Giordano Grandis [mailto:g.grandis@invidea.it]
Sent: Thursday, September 29, 2005 8:45 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: R: [Asterisk-Users] PRI value
Perfect, thanks very much hth. I just set it to unknown, but it doesn't
work.
Have I to use also prilocaldialplan ?
Thanks again
Giordano
_____
Da: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] Per conto di Colin Anderson
Inviato: gioved? 29 settembre 2005 16.22
A: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Oggetto: RE: [Asterisk-Users] PRI value
PRI dialplan, in a nutshell, sets dialled digits from your Asterisk box to a
pattern that your telco expects. For example, if your telco expects numbers
in XXX-XXXX format ALWAYS, then you would set it to Local so the MSD of
whatever your user dials is stripped off by Asterisk, leaving only a pattern
that the PRI expects. 99% of the time, you want to set this to
"unknown" and
this will allow your Asterisk box to send the digits unaltered to the PRI
which is what you want.
I see you are in Europe so I can't comment on the numbering pattern your
telco expects there, but I suspect that "unknown" will work fine for
you
here. However, it should be explicitly set and not ignored, if only to
"unknown"
hth
-----Original Message-----
From: Giordano Grandis [mailto:g.grandis@invidea.it]
Sent: Thursday, September 29, 2005 2:11 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] PRI value
Hi group,
anyone can explain me the exact difference between pri value in zapata.conf
?
; PRI Dialplan: Only RARELY used for PRI.
;
; unknown: Unknown
; private: Private ISDN
; local: Local ISDN
; national: National ISDN
; international: International ISDN
If I use it, I also must use prilocaldialplan = local ?
Thanks
Giordano
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050929/fe80cfb6/attachment.htm