<div dir="ltr"><div><div><div><div><div><div>Googling, I found this one-year old  thread about the same subject<br><a href="http://thr3ads.net/asterisk-users/2012/06/1950384-Asterisk-10-1.6.1-and-Dahdi-Libpri-compatilities-in-BRI-PtmP">http://thr3ads.net/asterisk-users/2012/06/1950384-Asterisk-10-1.6.1-and-Dahdi-Libpri-compatilities-in-BRI-PtmP</a><br>
<br></div>If my reading and understanding is correct:<br></div>1. Briging layer 1 down is specific to PtmP (PtP is not concerned).<br></div>2. When a line is down, pri show spans shows it as such, and the one way to check this line can be up is to it an outgoing (easy) or incoming (harder) call.<br>
</div><div><br></div>A workaround is to use layer2_persistence=keep_up which can be forbidden by Telco, as it will keep the line from entering energy saving mode.<br><br></div>An other way to deal with this is to completely forget pri show spans in PtmP installation, forget about beautiful RRDTools graphs and learn to supervise systems with log output (&quot;no failure when trying to output a call = no problem&quot;).<br>
<br></div>Thoughts ?<br><div><div><br><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/6 Olivier <span dir="ltr">&lt;<a href="mailto:oza_4h07@yahoo.fr" target="_blank">oza_4h07@yahoo.fr</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">2013/6/6 jg <span dir="ltr">&lt;<a href="mailto:webaccounts@jgoettgens.de" target="_blank">webaccounts@jgoettgens.de</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On 06/06/2013 05:55 PM, Olivier wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi,<br>
<br>
I need to rebuild a system which has 4 BRI ports and is connected to<br>
Point-to-multiPoint lines, in a country where telco often &quot;drop lines<br>
for energy savings&quot;.<br>
</blockquote>
<br>
I think the dropped D-channel issue should be handled by a very recent DAHDI. If there are still issues file a bug. Don&#39;t know about PtMP.<br></blockquote></div></blockquote><div><br></div></div><div>I think but I&#39;m far from being certain that PtmP lines are the one concerned by  Telco energy savings.<br>

</div><div>If someone could shed some light on this, that would be perfect.<br></div><div class="im"><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div>
I am using ISDN BRI connections for several years now. I have never seen a problem with down states of the D channel. If there is nothing hooked up to the S bus it is very likely that the D channel will be down after a while. When you start the low level driver, the line might still be down. But when you start Asterisk and DAHDI tries to negotiate a TEI value, then the line will connect. So far I have never seen a disconnected state on a BRI-P2MP line while Asterisk is running. To be precise, I always observed periodic RR frames (typically every 10 seconds) when Asterisk is running for apparently idle lines. I have all the docs, but I wasn&#39;t motivate enough so far to read them</blockquote>

<div><br></div></div><div>My case is worse : I didn&#39;t even try to get the docs ;-)<br></div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

 and learn whether disconnected states are possible with active devices.<div><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


I&#39;m planning to use latest 11.4.0 asterisk version along with dahdi and<br>
libpri (no misdn).<br>
<br>
Which version are recommended for Dahdi and Libpri ?<br>
</blockquote>
<br>
Probably the very latest you can find. If the latest stable does not work for you then try an RC of an upcoming version or get master from git.<br>
</blockquote></div>
As I said, any recent version should be fine.<div><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
My main requirements are, beside having calls coming in and out:<br>
- keep a meaningful &quot;pri show spans&quot; status (pri show spans outputs Down<br>
when the line is down (cable unplugged, no q921 traffic, ...))<br>
- avoid sporadic ERROR messages in logs.<br>
</blockquote></blockquote></div>
Did you have any problems with the line status?<span><font color="#888888"><br></font></span></blockquote><div><br></div></div><div>Not exactly but I was thinking about tweaks such as <strong>layer1_presence</strong>=ignore or
layer2_persistence=keep_up.<br></div><div>I wonder if the later one, didn&#39;t mask current line status.<br></div><div class="im"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<span><font color="#888888">
<br>
jg</font></span><div><div><br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</div></div></blockquote></div></div><br></div></div>
</blockquote></div><br></div>