<?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[Recent upgrade to 1.8 - No trunk display]]></title><description><![CDATA[<p dir="auto">FOP2 Engineer:</p>
<p dir="auto">I recently upgraded the following:<br />
Asterisk 1.6 -&gt; 1.8.4<br />
FreePBX 2.8 -&gt; 2.9.0.4</p>
<p dir="auto">Unfortunately, following my upgrade, my FOP2 no longer dynamically display calls on the respective channels.  I've checked the FOP2Admin to make sure that "1-24" was listed next to the trunk specification, as well as ran the "<a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a>" script.  Still, to no prevail, the calls don't display on the trunk.</p>
<p dir="auto">Some guidance on how to make this feature work would be appreciated.  Also, would it be in my best interest to upgrade my FOP2 version?  I believe I only have version 2 (instead of 2.2).  Please lend me your guidance.</p>
<p dir="auto">Thanks, Josh</p>
]]></description><link>http://localhost:4567/topic/777/recent-upgrade-to-1.8-no-trunk-display</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 15:01:22 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/777.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 May 2011 20:21:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Recent upgrade to 1.8 - No trunk display on Fri, 10 Jun 2011 19:57:38 GMT]]></title><description><![CDATA[<p dir="auto">Seems fine, but re reading your first post it seems you are using FOP 2.0, I am not sure if that version will display trunk details at all. Please contact me via the live help if possible to see if we can upgrade your version and try with it.<br />
Best regards,</p>
]]></description><link>http://localhost:4567/post/3451</link><guid isPermaLink="true">http://localhost:4567/post/3451</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 10 Jun 2011 19:57:38 GMT</pubDate></item><item><title><![CDATA[Reply to Recent upgrade to 1.8 - No trunk display on Fri, 10 Jun 2011 16:18:15 GMT]]></title><description><![CDATA[<p dir="auto">Nicolás,</p>
<p dir="auto">Here is the output from the <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> script:</p>
<pre><code>[DAHDI/g0]
type=trunk
label=Cox PRI
queuecontext=from-queue
extenvoicemail=*
email=splitme-1-24
channel=DAHDI/i1
channel=DAHDI/1
channel=ZAP/1
channel=DAHDI/i2
channel=DAHDI/2
channel=ZAP/2
channel=DAHDI/i3
channel=DAHDI/3
channel=ZAP/3
channel=DAHDI/i4
channel=DAHDI/4
channel=ZAP/4
channel=DAHDI/i5
channel=DAHDI/5
channel=ZAP/5
channel=DAHDI/i6
channel=DAHDI/6
channel=ZAP/6
channel=DAHDI/i7
channel=DAHDI/7
channel=ZAP/7
channel=DAHDI/i8
channel=DAHDI/8
channel=ZAP/8
channel=DAHDI/i9
channel=DAHDI/9
channel=ZAP/9
channel=DAHDI/i10
channel=DAHDI/10
channel=ZAP/10
channel=DAHDI/i11
channel=DAHDI/11
channel=ZAP/11
channel=DAHDI/i12
channel=DAHDI/12
channel=ZAP/12
channel=DAHDI/i13
channel=DAHDI/13
channel=ZAP/13
channel=DAHDI/i14
channel=DAHDI/14
channel=ZAP/14
channel=DAHDI/i15
channel=DAHDI/15
channel=ZAP/15
channel=DAHDI/i16
channel=DAHDI/16
channel=ZAP/16
channel=DAHDI/i17
channel=DAHDI/17
channel=ZAP/17
channel=DAHDI/i18
channel=DAHDI/18
channel=ZAP/18
channel=DAHDI/i19
channel=DAHDI/19
channel=ZAP/19
channel=DAHDI/i20
channel=DAHDI/20
channel=ZAP/20
channel=DAHDI/i21
channel=DAHDI/21
channel=ZAP/21
channel=DAHDI/i22
channel=DAHDI/22
channel=ZAP/22
channel=DAHDI/i23
channel=DAHDI/23
channel=ZAP/23
channel=DAHDI/i24
channel=DAHDI/24
channel=ZAP/24
</code></pre>
]]></description><link>http://localhost:4567/post/3450</link><guid isPermaLink="true">http://localhost:4567/post/3450</guid><dc:creator><![CDATA[ADRsysEngineer]]></dc:creator><pubDate>Fri, 10 Jun 2011 16:18:15 GMT</pubDate></item><item><title><![CDATA[Reply to Recent upgrade to 1.8 - No trunk display on Fri, 10 Jun 2011 00:30:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi Josh,</p>
<p dir="auto">What is the output now when you run <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a>  for your trunk?</p>
]]></description><link>http://localhost:4567/post/3449</link><guid isPermaLink="true">http://localhost:4567/post/3449</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 10 Jun 2011 00:30:23 GMT</pubDate></item><item><title><![CDATA[Reply to Recent upgrade to 1.8 - No trunk display on Thu, 09 Jun 2011 23:45:14 GMT]]></title><description><![CDATA[<p dir="auto">Nicolás,</p>
<p dir="auto">That didn't work.  There were two places that I had to change it.  The calls on the respective channels of the trunk are still not appearing.  Here is the code after I made the requested adjustments:</p>
<pre><code>echo $LINEA | sed 's/^channel=\(.*\)/\n[\1]/g'
echo $LINEA | grep -qi "^email=splitme"
if [ $? = 0 ]; then
RANGE=`echo $LINEA | sed 's/^email=splitme-//g' | sed 's/-/ /g'`
for ZAPNUM in `seq $RANGE`
do
echo "channel=DAHDI/i$ZAPNUM"
echo "channel=DAHDI/$ZAPNUM"
echo "channel=ZAP/$ZAPNUM"
done
fi
done

else

mysql -ENB -u $DBUSER -p$DBPASS -h $DBHOST $DBNAME -e \
    "SELECT if(type='extension',CONCAT('USER/',exten),device) AS channel,type,if(type&lt;&gt;'trunk',exten,' ') AS extension,\
    label,mailbox,context,'$QUEUECONTEXT' as queuecontext,concat('*',mailbox) AS extenvoicemail, \
    privacy,\`group\`,IF(type='trunk',IF(email&lt;&gt;'',concat('splitme-',email),''),email) as email, \
    queuechannel,originatechannel FROM fop2buttons WHERE device&lt;&gt;'' ORDER BY type,exten" | \
    sed '/\*\*/d' | sed 's/: /=/g' | sed '/.*=$/d' | while read LINEA
do
echo $LINEA | sed 's/^channel=\(.*\)/\n[\1]/g'
echo $LINEA | grep -qi "^email=splitme"
if [ $? = 0 ]; then
RANGE=`echo $LINEA | sed 's/^email=splitme-//g' | sed 's/-/ /g'`
for ZAPNUM in `seq $RANGE`
do
echo "channel=DAHDI/i$ZAPNUM"
echo "channel=DAHDI/$ZAPNUM"
echo "channel=ZAP/$ZAPNUM"
done
fi
done
fi
</code></pre>
<p dir="auto">Did I execute the code change correctly?  Let me know if there are other steps we can take.  Is there an upgrade?  Would installing the latest version or even re-installing the version I have resolve this problem?</p>
<p dir="auto">Thanks, Josh</p>
]]></description><link>http://localhost:4567/post/3448</link><guid isPermaLink="true">http://localhost:4567/post/3448</guid><dc:creator><![CDATA[ADRsysEngineer]]></dc:creator><pubDate>Thu, 09 Jun 2011 23:45:14 GMT</pubDate></item><item><title><![CDATA[Reply to Recent upgrade to 1.8 - No trunk display on Wed, 01 Jun 2011 11:36:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi Josh,</p>
<p dir="auto">Edit the script /usr/local/fop2/autoconfig-buttons-freepbx.sh, line 58 or so, that looks like this:</p>
<pre><code>do
echo "channel=DAHDI/$ZAPNUM"
echo "channel=ZAP/$ZAPNUM"
done
</code></pre>
<p dir="auto">Just add one option like:</p>
<pre><code>do
echo "channel=DAHDI/i$ZAPNUM"
echo "channel=DAHDI/$ZAPNUM"
echo "channel=ZAP/$ZAPNUM"
done
</code></pre>
<p dir="auto">Save the file, restart fop2, and see if it works.</p>
]]></description><link>http://localhost:4567/post/3447</link><guid isPermaLink="true">http://localhost:4567/post/3447</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 01 Jun 2011 11:36:00 GMT</pubDate></item><item><title><![CDATA[Reply to Recent upgrade to 1.8 - No trunk display on Tue, 31 May 2011 20:26:04 GMT]]></title><description><![CDATA[<p dir="auto">Admin,</p>
<p dir="auto">Thanks for your reply.  I'm still not able to resolve this.  It appears that FreePBX is using the <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> script to set up the items and trunks lines.  What I believe to be the problem is that Asterisk 1.8 now refers to incoming DAHDI calls as "DAHDI/i1/..." (see example)</p>
<pre><code>voip01*CLI&gt; core show channels
Channel              Location             State   Application(Data)
DAHDI/i1/18774092379 (None)               Up      AppDial((Outgoing Line))
SIP/6403-000003ae    s@macro-dialout-trun Up      Dial(DAHDI/g0/18774092379,300,
2 active channels
1 active call
903 calls processed
</code></pre>
<p dir="auto">Here is what is processed by the autoconfig script:</p>
<pre><code>[DAHDI/g0]
type=trunk
label=Cox PRI
queuecontext=from-queue
extenvoicemail=*
email=splitme-1-24
channel=DAHDI/1
channel=ZAP/1
channel=DAHDI/2
channel=ZAP/2
channel=DAHDI/3
channel=ZAP/3
channel=DAHDI/4
channel=ZAP/4
channel=DAHDI/5
channel=ZAP/5
channel=DAHDI/6
...
</code></pre>
<p dir="auto">I don't believe there are static config files for FOP2 that are used to match the DAHDI group to the FOP2 group config.  I believe that Asterisk used to refer to each channel as 'g1', but there may have been an adjustment in the recent releases.  Are there any additional suggestions you may be able to provide to help me resolve this issue?  Thanks.</p>
<p dir="auto">Josh</p>
]]></description><link>http://localhost:4567/post/3446</link><guid isPermaLink="true">http://localhost:4567/post/3446</guid><dc:creator><![CDATA[ADRsysEngineer]]></dc:creator><pubDate>Tue, 31 May 2011 20:26:04 GMT</pubDate></item><item><title><![CDATA[Reply to Recent upgrade to 1.8 - No trunk display on Fri, 27 May 2011 12:46:46 GMT]]></title><description><![CDATA[<p dir="auto">Hello Josh,</p>
<p dir="auto">Running the <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> script will do nothing, except show <em>you</em> what the button configuration is, including the trunks. It will not modify behavior in any way nor alter configuration. But what you see when running the script is useful for troubleshooting.</p>
<p dir="auto">So, run the script, and look at the trunk configuration that is generated. Look at the channel name (between brackets) and the channel lines that are inside, will be something like:</p>
<p dir="auto">[DAHDI/1]<br />
type=trunk<br />
channel=DAHDI/2<br />
channel=DAHDI/3</p>
<p dir="auto">or similar... look at all the channel lines there, those are the names that fop2 will track on that button.</p>
<p dir="auto">Then make a call, and do an</p>
<p dir="auto">asterisk -rx "core show channels"</p>
<p dir="auto">Look for the channel names there, do they match? If so, it will work, if not, then you must make fop2 button configuration match the name of the channels in asterisk</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/3445</link><guid isPermaLink="true">http://localhost:4567/post/3445</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 27 May 2011 12:46:46 GMT</pubDate></item></channel></rss>