<html 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" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[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
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="metricconverter"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<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:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EstiloCorreo17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
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=ES link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>I have tried both inband
and outofband too unsuccessfully. I think the priindication parameter says how
Asterisk reports Busy and Congestion to the PSTN, not the other way around.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>In the Asterisk config
sirrix.conf (http://www.voip-info.org/wiki/index.php?page=Asterisk+config+sirrix.conf)
there is a providetones parameter, witch I think handles the way that interface
receives the signalization from the PSTN, but I think it won&#8217;t work for
zaptel/Zapata.<o:p></o:p></span></font></p>

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

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Today I tried Asterisk <st1:metricconverter
ProductID="1.2 in" w:st="on">1.2 in</st1:metricconverter> another Telco and I
experienced the same behavior. I&#8217;m starting to think this is a bug in the
Asterisk E1 signalization. <o:p></o:p></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'>

<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'>De:</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'>En nombre de </span></b>Joe Pukepail<br>
<b><span style='font-weight:bold'>Enviado el:</span></b> Jueves, 29 de
Diciembre de 2005 15:22<br>
<b><span style='font-weight:bold'>Para:</span></b> <st1:PersonName w:st="on">Asterisk
 Users Mailing List - Non-Commercial Discussion</st1:PersonName><br>
<b><span style='font-weight:bold'>Asunto:</span></b> Re: [Asterisk-Users] PRI:
This number has been disconnected</span></font><o:p></o:p></p>

</div>

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

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>I have tried both inband and outofband, doesn't seem to
make a difference.&nbsp; I added the congension and playtones(congestion) to
the dial plan after the dial, but the users just get a busy instead of
&quot;Do-De-Dah The number of have reached is not&nbsp;in service
&lt;fastbusy&gt;&quot;. PRI Debug below. <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>&nbsp;&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>&#8230;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>&nbsp;<span class=gmailquote>On 12/29/05, <b><span
style='font-weight:bold'>Adam Goryachev</span></b> &lt;</span></span><span
class=gmailquote><a href="mailto:mailinglists@websitemanagers.com.au"><span
lang=EN-US>mailinglists@websitemanagers.com.au</span></a></span></font><span
class=gmailquote><span lang=EN-US>&gt; wrote:</span></span><span lang=EN-US> <o:p></o:p></span></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>On Wed, 2005-12-28 at 14:00 -0300, <st1:PersonName
ProductID="Javier Ergas" w:st="on">Javier Ergas</st1:PersonName> wrote:<br>
&gt; I believe this behavior has nothing to do with the A@H Scripts. I think
the<br>
&gt; problem is in the PRI signalization.<br>
&gt; I can see the zap hangup messages when trying to call a disconnected
number.<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .....<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; -- Executing Dial(&quot;SIP/9349-1787&quot;,
&quot;ZAP/g0/2514990&quot;) in new stack <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; -- Called g0/2514990<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; -- Channel 0/2, span 1 got hangup<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; -- Hungup 'Zap/2-1'<br>
&gt;&nbsp;&nbsp; == No one is available to answer at this time<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; -- Executing Goto(&quot;SIP/9349-1787&quot;,
&quot;s-NOANSWER|1&quot;) in new stack <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; -- Goto (macro-dialout-trunk,s-NOANSWER,1)<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ....<br>
&gt; The telco says they are sending inband information with the status of the<br>
&gt; call, but Asterisk is hanging up the channel instead of connecting it to
let <br>
&gt; hear the audio message.<br>
&gt;<br>
&gt; There is a post with a similar issue here:<br>
&gt; </span><a
href="http://mailgate.supereva.com/comp/comp.dcom.isdn.capi/msg04138.html"><span
lang=EN-US>http://mailgate.supereva.com/comp/comp.dcom.isdn.capi/msg04138.html </span></a></font><span
lang=EN-US><br>
&gt;<br>
&gt; Is anyone experiencing the same behavior?<br>
&gt;<br>
<br>
Sounds like the difference between doing inband signalling or out of<br>
band signalling. I think by default, a PRI uses out of band signalling, <br>
ie, it just sends a message saying &quot;this number if un reachable&quot; so<br>
asterisk just hangs up and plays the local congestion dialplan.<br>
<br>
What you need to do is use inband signalling, so that asterisk won't <br>
hangup, and instead will pass the audio from the telco through.<br>
<br>
See /etc/asterisk/zapata.conf:<br>
; PRI Out of band indications.<br>
; Enable this to report Busy and Congestion on a PRI using out-of-band<br>
; notification. Inband indication, as used by Asterisk doesn't seem to <br>
work<br>
; outofband:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Signal Busy/Congestion out of
band with<br>
RELEASE/DISCONNECT<br>
; inband:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Signal
Busy/Congestion using in-band tones<br>
priindication = outofband<br>
<br>
<br>
Regards,<br>
Adam<br>
<br>
_______________________________________________ <br>
--Bandwidth and Colocation provided by </span><a href="http://Easynews.com"><span
lang=EN-US>Easynews.com</span></a><span lang=EN-US> --<br>
<br>
Asterisk-Users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
&nbsp;&nbsp;</span><a
href="http://lists.digium.com/mailman/listinfo/asterisk-users"><span
lang=EN-US> http://lists.digium.com/mailman/listinfo/asterisk-users</span></a><span
lang=EN-US><o:p></o:p></span></p>

</div>

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

</div>

</body>

</html>