<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:14.0pt;
        font-family:Arial;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.emailstyle17
        {font-family:Arial;
        color:windowtext;}
span.EmailStyle20
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in .5in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'>Well we have PRI on the side receiving the calls (where the toll
frees terminate) but not on the side of Asterisk. Will that work or do both
sides need to be PRI?</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'>&nbsp;</span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Steven<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, September 14, 2006
4:10 PM<br>
<b><span style='font-weight:bold'>To:</span></b>
asterisk-users@lists.digium.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> [asterisk-users] Re:
Detect PBX vs Network message</span></font></p>

</div>

<p class=MsoNormal><font size=4 face=Arial><span style='font-size:14.0pt'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>If
you are using a PRI you should be getting a cause code back.</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>If it
is&nbsp;T1 or analog, you only get audio, which as you stated, is not good
enough for your test.</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'><br>
-- <br>
-- <br>
Steven</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'><a href="http://www.glimasoutheast.org">http://www.glimasoutheast.org</a></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'><br>
&nbsp;</span></font></p>

</div>

<blockquote style='border:none;border-left:solid black 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>&quot;Savoy, Kevin - Williston, ND&quot; &lt;<a href="mailto:ksavoy@novo1.com">ksavoy@novo1.com</a>&gt; wrote in message <a
href="news:D6227FD9A253AD4A867B1484E4EF9BCA4CDBE9@dfwmx1.sherwood.onpointcrm.com">news:D6227FD9A253AD4A867B1484E4EF9BCA4CDBE9@dfwmx1.sherwood.onpointcrm.com</a>...</span></font></p>

</div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>We
are trying to set up a script that will test hundreds of toll free numbers to
ensure that they correctly terminate at our Nortel PBX. We have the perl
scripting written to dial the numbers and it works like a charm except for one
problem. We are not sure how to detect whether a successful call was answered
by our Nortel PBX or was answered by AT&amp;T&#8217;s network telling us the
number is not in service. To Asterisk both are completed successful calls.
Obviously this is not correct. Can Asterisk detect if the answer was by a PBX
or the telco Network? If so how? What should we be looking for? Is there a
variable that contains any data that would indicate the difference?</span></font></p>

<p class=MsoNormal><font size=4 face=Arial><span style='font-size:14.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>Thanks</span></font></p>

<p class=MsoNormal><font size=4 face=Arial><span style='font-size:14.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>_____________________</span></font></p>

<p class=MsoNormal><font size=4 face=Arial><span style='font-size:14.0pt'><img
border=0 width=149 height=37 src="cid:image001.gif@01C6D81A.1809E9D0"
align=baseline>&nbsp;</span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>Kevin Savoy</span></font></b></strong></p>

<p class=MsoNormal><strong><b><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'>Business Unit Telecom
Analyst</span></font></b></strong></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span style='font-size:
  7.5pt;color:black'>2218 4th Ave W</span></font></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span style='font-size:
  7.5pt;color:black'>Williston</span></font><font size=1 color=black><span
 style='font-size:7.5pt;color:black'>, ND 58801</span></font></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span style='font-size:
7.5pt;color:black'>Ph: 701-774-4023</span></font></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span style='font-size:
7.5pt;color:black'>Fax: 701-774-2901</span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;color:blue'><a href="http://www.novo1.com"><font size=1 color=black><span
style='font-size:7.5pt;color:black'>http://www.novo1.com</span></font></a></span></font></p>

<p class=MsoNormal><font size=1 color=black face=Arial><span style='font-size:
7.5pt;color:black'>Novo 1 is a service mark of Novo 1, Inc</span></font></p>

<p class=MsoNormal><font size=4 face=Arial><span style='font-size:14.0pt'>&nbsp;</span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'>_______________________________________________<br>
--Bandwidth and Colocation provided by Easynews.com --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
&nbsp;&nbsp; http://lists.digium.com/mailman/listinfo/asterisk-users</span></font></p>

</blockquote>

</div>

</body>

</html>