<?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[Vanilla Asterisk - FOP2 and FOP2 Manager Module]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I'm confuse on FOP2 and Vanilla.  I have commented the last line with the exec <a href="http://autoconfig-users.sh" rel="nofollow ugc">autoconfig-users.sh</a> and I have created two users with a button files :</p>
<p dir="auto">user=213:213:all<br />
user=221:221:all<br />
buttonfile=buttons.cfg</p>
<p dir="auto">Then In the button files I have created 6 extensions + 3 queues + 2 trunk. This is all working fine.</p>
<p dir="auto">Now I needed the have the Queue Alarm plugin, from what I understand I needed to use the FOP2 Manager to install the plugin. At first I could install the plugin but when I tried to check the "Globally Enable" check box. It didn't work for some reason. I have created a MySQL database for FOP2 manager and edited the configuration files to use that database. Now it seem to be working, the plugin is installed and enabled. But...</p>
<p dir="auto">Now if I go to the button and users sections, FOP2 Manager imported some of my peers but they are all mess up. For example, like 30% of my user are defined with the type trunk instead of extensions. And I can't seem to edit thoses ???</p>
<p dir="auto">Also, how do I created a new button manually ???<br />
How are the button populated ??? (Which script is run ?)</p>
<p dir="auto">Anyway, I decided to try to login in FOP2 as a user to see the result, but it's not working. Which context is fop2 manager using to create the buttons/users ? How to access the "tenant" created by FOP2 Manager 9 (<a href="http://192.168.1.X/fop2/?context=XXXX" rel="nofollow ugc">http://192.168.1.X/fop2/?context=XXXX</a>) ?</p>
<p dir="auto">Finally, how to I enable a plugin on a user if I'm using command line (no fop2 manager) to a user ?</p>
<p dir="auto">Thx for reading my wall of text but I'm sure if some take the time to answer my questions, this will help a lots of people because the documentation is not complete if you want to use fop2 manager + Vanilla Asterisk.</p>
<p dir="auto">Thx</p>
]]></description><link>http://localhost:4567/topic/2353/vanilla-asterisk-fop2-and-fop2-manager-module</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 13:08:54 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/2353.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 17 Sep 2016 17:16:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Vanilla Asterisk - FOP2 and FOP2 Manager Module on Fri, 23 Sep 2016 21:39:49 GMT]]></title><description><![CDATA[<p dir="auto">If you see 150 buttons imported, then the fop2 manager custom functions (probably functions-astdb.php) are picking them up from standard locations, and doing a good job by default in your case. Are those buttons totally random? Or something you know in your system?</p>
<p dir="auto">Why you want to run <a href="http://autoconfig-users.sh" rel="nofollow ugc">autoconfig-users.sh</a> ? Because you want to use the FOP2 Manager...  I recommend to use the FOP2 Manager myself as you will be able to use the full potential of FOP2, including permissions, groups and plugins, without the need to do everything by hand.</p>
<p dir="auto">The only thing you must finally decide is how to get the buttons populated. And that is done with simple php functions that can be tweaked, and if you do not like them, change them.</p>
<p dir="auto">Look at functions-astdb.php (probably the auto detected function it is being used, you can see that on the engine part on the fop 2manager dashboard). You can edit config.php and change the engine to "custom" and  i twill use functions-custom.php instead... in that way you can edit that file and tweak it, like modify it to read peers from a database, or from sip.conf, or a combination, or NEITHER.</p>
<p dir="auto">The manager also reads buttons_custom.cfg and will insert those into its database, so that is the way to add custom buttons in the manager, by adding them into buttons_custom.cfg.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/10337</link><guid isPermaLink="true">http://localhost:4567/post/10337</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 23 Sep 2016 21:39:49 GMT</pubDate></item><item><title><![CDATA[Reply to Vanilla Asterisk - FOP2 and FOP2 Manager Module on Fri, 23 Sep 2016 21:29:11 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have done what you said but I still see 150 buttons (which see to be imported from somewhere.</p>
<ol>
<li>
<p dir="auto">Why do I need to have #exec <a href="http://autoconfig-users.sh" rel="nofollow ugc">autoconfig-users.sh</a> ? I'm running a vanilla Asterisk and this script doesn't really seem to understand the way I create my peer. Can't I just disable this script completely and create the button in the fop2manager ?</p>
</li>
<li>
<p dir="auto">If I understand well, the button need to be generated by script and the fop2manager is using the file button-custom.cfg to load the button ?</p>
</li>
</ol>
<p dir="auto">Thx !</p>
]]></description><link>http://localhost:4567/post/10336</link><guid isPermaLink="true">http://localhost:4567/post/10336</guid><dc:creator><![CDATA[Dimitripietro]]></dc:creator><pubDate>Fri, 23 Sep 2016 21:29:11 GMT</pubDate></item><item><title><![CDATA[Reply to Vanilla Asterisk - FOP2 and FOP2 Manager Module on Fri, 23 Sep 2016 13:58:51 GMT]]></title><description><![CDATA[<p dir="auto">You cannot expect nothing done in the manager to work if you use manual configuration.</p>
<p dir="auto">My suggestion is you change your fop2.cfg back to use #exec <a href="http://autoconfig-users.sh" rel="nofollow ugc">autoconfig-users.sh</a> instead of any manual entries you had defined. Remove your user=xxx lines, remove your buttonfile=xxx line.</p>
<p dir="auto">Then if you have a buttons.cfg, rename it to buttons-custom.cfg</p>
<p dir="auto">Then log into the fop2 manager and you should see the buttons defined in the buttons tab.</p>
<p dir="auto">Go ahead and  create some users, enable plugins for them.</p>
<p dir="auto">Restart fop2 , and everything (including plugins) will work fine.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/10335</link><guid isPermaLink="true">http://localhost:4567/post/10335</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 23 Sep 2016 13:58:51 GMT</pubDate></item></channel></rss>