<?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[Auto Buttons. Can I use on FOP2?]]></title><description><![CDATA[<p dir="auto">Hi there.</p>
<p dir="auto">In FOP1 I used to setup FOP buttons using AUTO BUTTONS, like, [AUTO/SIP/.<em>] ; matches SIP/</em>.</p>
<p dir="auto">Is this feature still available on FOP2?</p>
<p dir="auto">Thanks in advance.</p>
<p dir="auto">PS.: I do not use FreePBX, Elastix, or any other Asterisk in a Box Distro.</p>
]]></description><link>http://localhost:4567/topic/1125/auto-buttons.-can-i-use-on-fop2</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 12:44:56 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1125.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Apr 2012 17:51:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Auto Buttons. Can I use on FOP2? on Sat, 28 Apr 2012 12:18:16 GMT]]></title><description><![CDATA[<p dir="auto">In the original announcement I mentioned clearly the difference and that fop2 actually had less features (at that time) than fop1, this was on june 2009:</p>
<p dir="auto"><a href="http://forum.fop2.com/esotalk/index.php/2" rel="nofollow ugc">View Post 2</a></p>
<p dir="auto">There is a strong reason not to use regular expressions, just run fop1 and fop2 servers side by side and compare cpu usage. The benefits of regexp buttons are limited and do not justify at all their existance. You can substitute the AUTO/SIP with a proper autoconfig script.</p>
<p dir="auto">Here is a rather crude example, there are other in the online doc:</p>
<p dir="auto">#!/bin/bash<br />
for A in <code>asterisk -rx "sip show peers" | awk '{print $1}' | cut -d/ -f1 | sed -e '1d'</code><br />
do<br />
echo "[SIP/$A]"<br />
echo "type=extension"<br />
echo "extension=$A"<br />
echo "context=from-internal"<br />
echo "label=Extension $A"<br />
echo "mailbox=$A@default"<br />
echo "extenvoicemail=*$A@from-internal"<br />
done</p>
<p dir="auto">(Not tested, just typed it here as is), then you execute this in your button configuration file via an #exec command, and you will have automatic sip buttons for your panel.</p>
]]></description><link>http://localhost:4567/post/5060</link><guid isPermaLink="true">http://localhost:4567/post/5060</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Sat, 28 Apr 2012 12:18:16 GMT</pubDate></item><item><title><![CDATA[Reply to Auto Buttons. Can I use on FOP2? on Sat, 28 Apr 2012 12:03:25 GMT]]></title><description><![CDATA[<p dir="auto">I thought FOP2 would keep backward compatibility.</p>
<p dir="auto">But OK.</p>
<p dir="auto">Thanks.</p>
]]></description><link>http://localhost:4567/post/5059</link><guid isPermaLink="true">http://localhost:4567/post/5059</guid><dc:creator><![CDATA[alexandrekeller]]></dc:creator><pubDate>Sat, 28 Apr 2012 12:03:25 GMT</pubDate></item><item><title><![CDATA[Reply to Auto Buttons. Can I use on FOP2? on Fri, 27 Apr 2012 19:35:30 GMT]]></title><description><![CDATA[<p dir="auto">No, fop2 does not uses regexp matching any more. But it supports a really powerful method of doing autoconfiguration using your own scripts, it is not hard to create a script to create buttons based on anything you could get from a command line script, being a database result set, an ldap query, asterisk queries to the manager, etc.</p>
]]></description><link>http://localhost:4567/post/5058</link><guid isPermaLink="true">http://localhost:4567/post/5058</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 27 Apr 2012 19:35:30 GMT</pubDate></item></channel></rss>