<?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[No Trunk buttons Dahdi]]></title><description><![CDATA[<p dir="auto">I have followed the guide here <a href="http://www.fop2.com/documentation-configuration-2.php#TrunkButtons" rel="nofollow ugc">http://www.fop2.com/documentation-confi ... unkButtons</a></p>
<p dir="auto">but still dosn't pick up my Dahdi trunks, is there an autoconfigure trunks script? To grab the trunks from freepbx, do I have to change anything for Dahdi not Zaptel?</p>
<p dir="auto">I haven't setup SIP Trunks yet either, would they be setup the same way?</p>
<p dir="auto">here is my buttons.cfg file:</p>
<p dir="auto">[DAHDI/1]<br />
type=trunk<br />
label=DAHDI 1-4<br />
channel=DAHDI/1<br />
channel=DAHDI/2<br />
channel=DAHDI/3<br />
channel=DAHDI/4<br />
server=1</p>
<p dir="auto">here is what my chan_dahdi.conf file looks like though</p>
<p dir="auto">signalling = fxs_ks<br />
callerid = asreceived<br />
group = 0<br />
context = from-zaptel<br />
channel = 1<br />
callerid= Free For All Incorporated<br />
group= 0<br />
context = default</p>
<p dir="auto">signalling = fxs_ks<br />
callerid = asreceived<br />
group = 1<br />
context = from-zaptel<br />
channel = 2<br />
callerid=<br />
group=<br />
context = default</p>
<p dir="auto">signalling = fxs_ks<br />
callerid = asreceived<br />
group = 2<br />
context = from-zaptel<br />
channel = 3<br />
callerid=<br />
group=<br />
context = default</p>
<p dir="auto">signalling = fxs_ks<br />
callerid = asreceived<br />
group = 3<br />
context = from-zaptel<br />
channel = 4<br />
callerid=<br />
group=<br />
context = default</p>
<p dir="auto">group = 4<br />
echocancel = yes<br />
signalling = fxo_ks<br />
context = Incoming<br />
channel = 5<br />
callerid = Free For All Incorporated<br />
group = 4<br />
context = default</p>
<p dir="auto">group = 4<br />
echocancel = yes<br />
signalling = fxo_ks<br />
context = Incoming<br />
channel = 6<br />
callerid = Free For All Incorporated<br />
group = 4<br />
context = default</p>
<p dir="auto">group = 4<br />
echocancel = yes<br />
signalling = fxo_ks<br />
context = Incoming<br />
channel = 7<br />
callerid = Free For All Incorporated<br />
group = 4<br />
context = default</p>
<p dir="auto">group = 4<br />
echocancel = yes<br />
signalling = fxo_ks<br />
context = Incoming<br />
channel = 8<br />
callerid = Free For All Incorporated<br />
group = 4<br />
context = default</p>
<p dir="auto">I am certain I have misconfigured the buttons.cfg file, any help would be appreciated.</p>
]]></description><link>http://localhost:4567/topic/173/no-trunk-buttons-dahdi</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 02:23:09 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/173.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Nov 2009 20:46:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to No Trunk buttons Dahdi on Wed, 25 Nov 2009 21:19:11 GMT]]></title><description><![CDATA[<p dir="auto">strange... usually there is no need to reboot for that script to work? anyways, glad it works now.</p>
]]></description><link>http://localhost:4567/post/777</link><guid isPermaLink="true">http://localhost:4567/post/777</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 25 Nov 2009 21:19:11 GMT</pubDate></item><item><title><![CDATA[Reply to No Trunk buttons Dahdi on Wed, 25 Nov 2009 21:16:11 GMT]]></title><description><![CDATA[<p dir="auto">YAY....  <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61b.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--stuck_out_tongue" style="height:1.4em;width:auto;vertical-align:middle" title=":P" alt="😛" /></p>
<p dir="auto">All I had to do was reboot!   :lol:</p>
]]></description><link>http://localhost:4567/post/776</link><guid isPermaLink="true">http://localhost:4567/post/776</guid><dc:creator><![CDATA[jmituzas]]></dc:creator><pubDate>Wed, 25 Nov 2009 21:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to No Trunk buttons Dahdi on Wed, 25 Nov 2009 20:52:41 GMT]]></title><description><![CDATA[<p dir="auto">ok I have done exactly that, i had the buttonfile=XXXXXX.cfg</p>
<p dir="auto">then look inside XXXXXX.cfg, the buttons are there. If you have a file with just an</p>
<p dir="auto">#exec <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a></p>
<p dir="auto">so I have left it alone, and I ran ./autoconfig-buttons-freepbx.sh only to find that it didn't output anything, said it did, to what file I don't know, that was my original question.<br />
What file is fop2 reading from to get the buttons, after you have run the script outputs to where? I have exceeded over 15 so i need to delete some of them that are in call groups anyways... but I have no idea what file to delete these from.</p>
<p dir="auto">I really don't know what is wrong. Would hater to start over again when this is all that I have left.</p>
<p dir="auto">Thanks,</p>
]]></description><link>http://localhost:4567/post/775</link><guid isPermaLink="true">http://localhost:4567/post/775</guid><dc:creator><![CDATA[jmituzas]]></dc:creator><pubDate>Wed, 25 Nov 2009 20:52:41 GMT</pubDate></item><item><title><![CDATA[Reply to No Trunk buttons Dahdi on Wed, 25 Nov 2009 17:49:53 GMT]]></title><description><![CDATA[<p dir="auto">Run:</p>
<p dir="auto">./autoconfig-users-freepbx.sh</p>
<p dir="auto">Look at the output, at the end you will see a line like:</p>
<p dir="auto">buttonfile=XXXXXX.cfg</p>
<p dir="auto">then look inside XXXXXX.cfg, the buttons are there. If you have a file with just an</p>
<p dir="auto">#exec <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a></p>
<p dir="auto">Then leave that file alone and run in the command line:</p>
<p dir="auto">./autoconfig-buttons-freepbx.sh</p>
<p dir="auto">That script will output the button config, if its wrong, you can fix the script to your liking, like adding the full path to the asterisk binary, changing ZAP to DAHDI, etc... The idea is that the script will output the proper FOP2 button configuration for your PBX.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/774</link><guid isPermaLink="true">http://localhost:4567/post/774</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 25 Nov 2009 17:49:53 GMT</pubDate></item><item><title><![CDATA[Reply to No Trunk buttons Dahdi on Wed, 25 Nov 2009 17:03:28 GMT]]></title><description><![CDATA[<p dir="auto">Had rebooted server, still no dahdi trunks, and still showing old extensions, I have deleted 10 of the extensions.</p>
<p dir="auto">my fop2.cfg file looks like this:</p>
<p dir="auto">[general]<br />
; AMI definitions<br />
manager_host=127.0.0.1 ;200.61.177.141<br />
manager_port=5038<br />
manager_user= user<br />
manager_secret=password<br />
;event_mask=call,agent</p>
<p dir="auto">; Daemon definitios<br />
listen_port      = 4444<br />
;restrict_host    = <a href="http://www.asternic.org" rel="nofollow ugc">www.asternic.org</a><br />
web_dir          = /var/www/html/fop2</p>
<p dir="auto">; Global Config<br />
language           = en<br />
poll_interval      = 86400<br />
poll_voicemail     = 1</p>
<p dir="auto">;master_key = 5678</p>
<p dir="auto">; USER LIST<br />
;user=620<img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f522.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--1234" style="height:1.4em;width:auto;vertical-align:middle" title=":1234:" alt="🔢" />all<br />
;user=621<img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f522.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--1234" style="height:1.4em;width:auto;vertical-align:middle" title=":1234:" alt="🔢" />all<br />
;user=622<img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f522.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--1234" style="height:1.4em;width:auto;vertical-align:middle" title=":1234:" alt="🔢" />all<br />
;user=623:1234all</p>
<p dir="auto">buttonfile=buttons.cfg</p>
<p dir="auto">blind_transfer=1</p>
<p dir="auto">#exec <a href="http://autoconfig-users-freepbx.sh" rel="nofollow ugc">autoconfig-users-freepbx.sh</a></p>
<hr />
<p dir="auto">With this pointing to the buttons.cfg for the users shouldn't this work? Where is Fop getting its button info from???<br />
Its not reading this file.</p>
<p dir="auto">Please help... I believe that I am getting close.<br />
What am I doing wrong now...  :lol: These trunks are the last thing to configure within my AsteriskNOW setup..</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>http://localhost:4567/post/773</link><guid isPermaLink="true">http://localhost:4567/post/773</guid><dc:creator><![CDATA[jmituzas]]></dc:creator><pubDate>Wed, 25 Nov 2009 17:03:28 GMT</pubDate></item><item><title><![CDATA[Reply to No Trunk buttons Dahdi on Wed, 25 Nov 2009 17:01:14 GMT]]></title><description><![CDATA[<p dir="auto">Running script on AsteriskNOW box updated new headers, keep getting command not found errors within CentOS. Not FOP2's Fault but encase anyone else is having this problem heres the fix.</p>
<p dir="auto">sh <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> &gt; buttons.cfg<br />
<a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a>: line 45: asterisk: command not found</p>
<p dir="auto">$nano <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a><br />
Referring to First line here :</p>
<hr />
<p dir="auto">DAHDI=<code>asterisk -rx "zap 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=DAHDI"<br />
asterisk -rx "zap 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</p>
<hr />
<p dir="auto">Fix:<br />
change first line where says 'asterisk -rx' to /usr/sbin/asterisk -rx<br />
and also changing the "zap show channels"  to "dahdi show channels"<br />
seems to create the file correctly</p>
]]></description><link>http://localhost:4567/post/772</link><guid isPermaLink="true">http://localhost:4567/post/772</guid><dc:creator><![CDATA[jmituzas]]></dc:creator><pubDate>Wed, 25 Nov 2009 17:01:14 GMT</pubDate></item><item><title><![CDATA[Reply to No Trunk buttons Dahdi on Sun, 22 Nov 2009 14:47:36 GMT]]></title><description><![CDATA[<p dir="auto">You are not going to see any button past the 15 limit in the free version. You can reduce the number of extensions so the other types show up, or you can put the trunk first in the list. If you use the autoconfiguration script move the trunk block at the top so it will list the configuration first.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/771</link><guid isPermaLink="true">http://localhost:4567/post/771</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Sun, 22 Nov 2009 14:47:36 GMT</pubDate></item><item><title><![CDATA[Reply to No Trunk buttons Dahdi on Fri, 20 Nov 2009 15:59:14 GMT]]></title><description><![CDATA[<p dir="auto">Yes I have tried just that, could I not being able to see this be a result of having the free trial and not seeing anymore then 15 buttons.</p>
]]></description><link>http://localhost:4567/post/770</link><guid isPermaLink="true">http://localhost:4567/post/770</guid><dc:creator><![CDATA[jmituzas]]></dc:creator><pubDate>Fri, 20 Nov 2009 15:59:14 GMT</pubDate></item><item><title><![CDATA[Reply to No Trunk buttons Dahdi on Mon, 16 Nov 2009 11:39:15 GMT]]></title><description><![CDATA[<p dir="auto">Just to clarify as there are some incorrect assumptions regarding trunks:</p>
<p dir="auto">Trunk buttons are actually "GROUP" buttons, in the sense that no matter how many channels you list, you will only see ONE button.</p>
<p dir="auto">[DAHDI/1]<br />
type=trunk<br />
channel=DAHDI/2<br />
channel=DAHDI/3</p>
<p dir="auto">.. will show 1 button, not 3.</p>
<p dir="auto">Not sure if you have that problem, but it is a good place to clear this question out.</p>
<p dir="auto">Finally, if you use auto configuration using #exec, you cannot use at the same time static configs.. I will try to fix that on the next release, although is kind of difficult and I do not want to delay the release much longer.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/769</link><guid isPermaLink="true">http://localhost:4567/post/769</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 16 Nov 2009 11:39:15 GMT</pubDate></item><item><title><![CDATA[Reply to No Trunk buttons Dahdi on Fri, 13 Nov 2009 20:08:44 GMT]]></title><description><![CDATA[<p dir="auto">Still having problems with getting dahdi trunks to show up. If anyone could atleast point me in the direction to get this up I would appreciate greatly.</p>
<p dir="auto">Thanks in advance</p>
]]></description><link>http://localhost:4567/post/768</link><guid isPermaLink="true">http://localhost:4567/post/768</guid><dc:creator><![CDATA[jmituzas]]></dc:creator><pubDate>Fri, 13 Nov 2009 20:08:44 GMT</pubDate></item></channel></rss>