<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType name="PersonName"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 2.0cm 2.0cm 2.0cm; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
PRE {
        FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Courier New"
}
SPAN.StileMessaggioDiPostaElettronica18 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.StileMessaggioDiPostaElettronica20 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=IT vLink=purple link=blue>
<DIV><SPAN class=297160415-29092005><FONT face=Arial color=#0000ff size=2>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:</FONT></SPAN></DIV>
<DIV><SPAN class=297160415-29092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=297160415-29092005><FONT face=Arial color=#0000ff size=2>--
Making new call for cr 32773<BR>> Protocol Discriminator: Q.931 (8)
len=54<BR>> Call Ref: len= 2 (reference 5/0x5) (Originator)<BR>> Message
type: SETUP (5)<BR>> [04 03 80 90 a2]<BR>> Bearer Capability (len= 5) [
Ext: 1 Q.931 Std: 0 Info transfer capability: Speech
(0)<BR>>
Ext: 1 Trans mode/rate: 64kbps, circuit-mode
(16)<BR>>
Ext: 1 User information layer 1: u-Law (34)<BR>> [18 03 a9 83
81]<BR>> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0,
Exclusive Dchan:
0<BR>>
ChanSel:
Reserved<BR>>
Ext: 1 Coding: 0 Number Specified Channel Type:
3<BR>>
Ext: 1 Channel: 1 ]<BR>> [1e 02 80 83]<BR>> Progress Indicator (len=
4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location:
User
(0)<BR>>
Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ]<BR>>
[28 0f b1 43 6f 6c 69 6e 20 41 6e 64 65 72 73 6f 6e]<BR>> Display (len=15)
Charset: 31 [ Colin Anderson ]</FONT></SPAN></DIV>
<DIV><SPAN class=297160415-29092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=297160415-29092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=297160415-29092005><FONT face=Arial color=#0000ff
size=2>--important part below--</FONT></SPAN></DIV>
<DIV><SPAN class=297160415-29092005><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR><FONT face=Arial
color=#0000ff size=2>> [6c 06 21 81 31 30 30 31]<BR>> Calling Number (len=
8) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering
Plan (E.164/E.163)
(1)<BR>>
Presentation: Presentation permitted, user number passed network screening (1)
'1001' ]<BR>> [70 08 80 37 30 32 33 30 31 37]<BR>> Called Number (len=10)
[ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0)
'7023017' ]<BR> -- Called g0/7023017<BR>< Protocol
Discriminator: Q.931 (8) len=10<BR>< Call Ref: len= 2 (reference
32773/0x8005) (Terminator)<BR>< Message type: CALL PROCEEDING
(2)</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=297160415-29092005><FONT face=Arial color=#0000ff
size=2>--import part above ---</FONT></SPAN></DIV>
<DIV><SPAN class=297160415-29092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=297160415-29092005><FONT face=Arial color=#0000ff size=2>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. </FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV></SPAN>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Giordano Grandis
[mailto:g.grandis@invidea.it]<BR><B>Sent:</B> Thursday, September 29, 2005
8:45 AM<BR><B>To:</B> Asterisk Users Mailing List - Non-Commercial
Discussion<BR><B>Subject:</B> R: [Asterisk-Users] PRI
value<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Perfect, thanks very
much hth. I just set it to unknown, but it doesn't
work.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Have I to use also
prilocaldialplan ?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanks
again<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><STRONG><B><FONT face="Times New Roman" color=teal
size=3><SPAN
style="FONT-SIZE: 12pt; COLOR: teal">Giordano</SPAN></FONT></B></STRONG><o:p></o:p></P></DIV>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Da:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B><SPAN
style="FONT-WEIGHT: bold">Per conto di </SPAN></B>Colin Anderson<BR><B><SPAN
style="FONT-WEIGHT: bold">Inviato:</SPAN></B> giovedì 29 settembre 2005
16.22<BR><B><SPAN style="FONT-WEIGHT: bold">A:</SPAN></B> 'Asterisk Users
Mailing List - Non-Commercial Discussion'<BR><B><SPAN
style="FONT-WEIGHT: bold">Oggetto:</SPAN></B> RE: [Asterisk-Users] PRI
value</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">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.</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">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"</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">hth</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt; MARGIN-RIGHT: 0cm">
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><FONT face=Tahoma
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original
Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B>
<st1:PersonName w:st="on" ProductID="Giordano Grandis">Giordano
Grandis</st1:PersonName> [mailto:g.grandis@invidea.it]<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, September 29, 2005 2:11
AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Asterisk Users
Mailing List - Non-Commercial Discussion<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [Asterisk-Users] PRI
value</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi
group,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">anyone can explain me the exact
difference between pri value in zapata.conf ?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P><PRE style="BACKGROUND: white"><FONT face="Courier New" color=black size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black">; PRI Dialplan: Only RARELY used for PRI.<o:p></o:p></SPAN></FONT></PRE><PRE style="BACKGROUND: white"><FONT face="Courier New" color=black size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black">;<o:p></o:p></SPAN></FONT></PRE><PRE style="BACKGROUND: white"><FONT face="Courier New" color=black size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black">; unknown: Unknown<o:p></o:p></SPAN></FONT></PRE><PRE style="BACKGROUND: white"><FONT face="Courier New" color=black size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black">; private: Private ISDN<o:p></o:p></SPAN></FONT></PRE><PRE style="BACKGROUND: white"><FONT face="Courier New" color=black size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black">; local: Local ISDN<o:p></o:p></SPAN></FONT></PRE><PRE style="BACKGROUND: white"><FONT face="Courier New" color=black size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black">; national: National ISDN<o:p></o:p></SPAN></FONT></PRE><PRE style="BACKGROUND: white"><FONT face="Courier New" color=black size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; COLOR: black">; international: International ISDN<o:p></o:p></SPAN></FONT></PRE>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">If I use it, I also must use
prilocaldialplan = local ?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><STRONG><B><FONT face="Times New Roman" color=teal
size=3><SPAN
style="FONT-SIZE: 12pt; COLOR: teal">Giordano</SPAN></FONT></B></STRONG><SPAN
lang=EN-GB><o:p></o:p></SPAN></P></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>