<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to show two different dahdi channels on FOP2 web panel]]></title><description><![CDATA[<p dir="auto">On my 2.8.0.3 TB server is installed a Sangoma A200 card with two FXO each connected to a differente PSTN line.<br />
In my FOP2 panel only one DAHADI channel is showed even if all the two channels works well in my phone system.<br />
This is an extraxt of <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> :</p>
<p dir="auto"><em>DAHDI=<code>asterisk -rx "dahdi show channels" | grep -v from-internal | grep -v pseudo | grep -v Language | awk '{print $1}' | head -n 1</code><br />
if [ "X${DAHDI}" != "X" ]; then<br />
echo<br />
echo "[DAHDI/$DAHDI]"<br />
echo "type=trunk"<br />
echo "label=Telecom Italia 1"<br />
asterisk -rx "dahdi show channels" | grep -v from-internal | grep -v pseudo | grep -v Language | awk '{print $1}' | tail -n +2 | while read LINEA<br />
do<br />
echo "channel=DAHDI/$LINEA"<br />
done<br />
fi</em><br />
Is needed any different configuration in the <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> to show even the second dahdi channel?<br />
Thanks in advance.<br />
Ing. Cosimo MERCURO<br />
Mercuro for Business</p>
]]></description><link>http://localhost:4567/topic/238/how-to-show-two-different-dahdi-channels-on-fop2-web-panel</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 08:35:28 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/238.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Jan 2010 15:05:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to show two different dahdi channels on FOP2 web panel on Thu, 14 Jan 2010 12:20:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">You have to modify the script to show individual channels instead of grouping them as the current one. Something similar to this: (have not tested it)</p>
<p dir="auto">asterisk -rx "dahdi show channels" | grep -v from-internal | grep -v pseudo | grep -v Language | awk '{print $1}' | tail -n +1 | while read LINEA<br />
do<br />
echo "[DAHDI/$LINEA]"<br />
echo "type=trunk"<br />
echo "label=line $LINEA"<br />
done<br />
fi</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/1117</link><guid isPermaLink="true">http://localhost:4567/post/1117</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 14 Jan 2010 12:20:36 GMT</pubDate></item></channel></rss>