<?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[ZAP Buttons]]></title><description><![CDATA[<p dir="auto">I use a digium card with 4 lines<br />
How can I make a ZAP button for each of our incoming lines where the label would say the number:<br />
I try this but did not work too well<br />
[ZAP/1]<br />
type=trunk<br />
label=(123)456-7890</p>
<p dir="auto">[ZAP/2]<br />
type=trunk<br />
label=(123)456-7891</p>
]]></description><link>http://localhost:4567/topic/233/zap-buttons</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 06:41:01 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/233.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Jan 2010 00:48:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ZAP Buttons on Thu, 14 Jan 2010 12:16:11 GMT]]></title><description><![CDATA[<pre><code>[ZAP/2]
channel=DAHDI/11
</code></pre>
<p dir="auto">the above does not make much sense. Dahdi replaced Zap, so you can just remove the channel line, if you want to catch both zap/dahdi appeareances in ami events , you might want to set the channel number the same as the button itself.. (zap/2, dahdi/2).</p>
<p dir="auto">Now, the <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> script will override the changes you add by hand in the buttons.cfg file. Either add your zap lines manually by modifying the script, or you can also go "all manual" and write your own buttons.cfg file.</p>
<p dir="auto">The #exec line will execute the script/program you put there, and it will read stdout and parse it as regular configs for fop2. So it is not STORED anywhere, it is executed and parsed when you start or reload fop2.</p>
<p dir="auto">You can add a bunch of</p>
<p dir="auto">echo "[ZAP/2]"<br />
echo "type=trunk"<br />
echo "label=line 2"</p>
<p dir="auto">at the end of the <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> script for example.</p>
<p dir="auto">One last thing: the latest beta lets you mix #exec and static configs with no problems.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/1095</link><guid isPermaLink="true">http://localhost:4567/post/1095</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 14 Jan 2010 12:16:11 GMT</pubDate></item><item><title><![CDATA[Reply to ZAP Buttons on Wed, 13 Jan 2010 00:10:18 GMT]]></title><description><![CDATA[<p dir="auto">I just discovered that the ZAP will show as DAHDI. looking at the code in <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> I see all has the DAHDI heading, is there a reason for it?</p>
<p dir="auto">Where does it create the button.cfg file when it runs?</p>
<p dir="auto">I need to show it each line separate with the number as the line label, something like this maybe but this does not work.<br />
[DAHDI/2]<br />
type=trunk<br />
label=123-456-7890<br />
channel=ZAP/11</p>
]]></description><link>http://localhost:4567/post/1094</link><guid isPermaLink="true">http://localhost:4567/post/1094</guid><dc:creator><![CDATA[sergiocesar]]></dc:creator><pubDate>Wed, 13 Jan 2010 00:10:18 GMT</pubDate></item></channel></rss>