<?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[One or the Other - FOP2 or Elastix GUI]]></title><description><![CDATA[<p dir="auto">I am having an issue with the manager passwords, I can have either FOP2 working and the Extensions display goes blank or I can fix the extensions to display in Elastix (2.5) and FOP2 quits working. (bad auth)</p>
<p dir="auto">Note the 2 commented lines in manager.conf (---&gt;&gt;&gt;&gt;) below, changing the admin secret under [admin] section to password1 makes the FOP2 work, but extensions display in elastix goes blank, (see attached image),</p>
<p dir="auto">If I change the password to password2, the extensions inside Elastix start to display correctly but FOP2 quit working..</p>
<p dir="auto">"Failed to connect to asterisk - localhost:5038<br />
Error Message: Login Failed to Asterisk (bad auth) at localhost:5038. Check your manager credentials!"</p>
<p dir="auto">/usr/local/fop2/fop2.cfg</p>
<p dir="auto">[general]<br />
; AMI definitions<br />
manager_host=localhost<br />
manager_port=5038<br />
manager_user=admin<br />
manager_secret=password1<br />
;event_mask=agent,call,command,system,user,dialplan</p>
<p dir="auto">/etc/asterisk/manager.conf</p>
<p dir="auto">[general]<br />
enabled = yes<br />
port = 5038<br />
bindaddr = 0.0.0.0<br />
displayconnects=no ;only effects 1.6+</p>
<p dir="auto">;  ---&gt;&gt;&gt;  CHANGE THIS [admin] secret TO password2 to GET the Extensions to display in elastix working &lt;&lt;---<br />
;  ---&gt;&gt;&gt;  CHANGE THIS [admin] secret TO password1 to GET the FOP2 working display working &lt;&lt;--</p>
<p dir="auto">[admin]<br />
secret = password1<br />
deny=0.0.0.0/0.0.0.0<br />
permit=127.0.0.1/255.255.255.0<br />
read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate<br />
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate<br />
writetimeout = 5000</p>
<p dir="auto">#include manager_additional.conf<br />
#include manager_custom.conf</p>
<p dir="auto">[fop2]<br />
secret = password1<br />
deny=0.0.0.0/0.0.0.0<br />
permit=127.0.0.1/255.255.255.0<br />
read = all<br />
write = all<br />
writetimeout = 1000<br />
eventfilter=!Event: RTCP*<br />
eventfilter=!Event: VarSet<br />
eventfilter=!Event: Cdr<br />
eventfilter=!Event: DTMF<br />
eventfilter=!Event: AGIExec<br />
eventfilter=!Event: ExtensionStatus<br />
eventfilter=!Event: ChannelUpdate<br />
eventfilter=!Event: ChallengeSent<br />
eventfilter=!Event: SuccessfulAuth</p>
<p dir="auto">#include manager_additional.conf<br />
#include manager_custom.conf</p>
]]></description><link>https://forum.fop2.com/topic/2156/one-or-the-other-fop2-or-elastix-gui</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 20:02:31 GMT</lastBuildDate><atom:link href="https://forum.fop2.com/topic/2156.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Feb 2016 23:24:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to One or the Other - FOP2 or Elastix GUI on Tue, 02 Feb 2016 17:47:08 GMT]]></title><description><![CDATA[<p dir="auto">Why change the admin password in /etc/asterisk/manager.conf ? Our documentation never encourages nor tells you to do so. Doing it will break other tools most probably, as you already find out. You should create a special user for FOP2 as we describe in the online documentation,.. A specific user for FOP2 with its own password and set of permissions. So in fop2.cfg use</p>
<p dir="auto">manager_user=fop2<br />
manager_secret=whateverSecretYouSetInManager_custom.conf_for_the_fop2_user</p>
<p dir="auto">So, leave the admin user alone and work with the fop2 user. Be sure to also modify the correct configuration file. If you come from elastix rpm version of FOP2, configuration will default to /etc/asterisk/fop2 and not /usr/local/fop2</p>
<p dir="auto">The error you show is for the latest FOP2 version (not the one from elastix), so be sure that in /etc/sysconfig/fop2 you do not have -c /etc/asterisk/fop2 as a config parameter, so you can use the stock/default location of /usr/local/fop2 for configuration files and scripts.</p>
]]></description><link>https://forum.fop2.com/post/9502</link><guid isPermaLink="true">https://forum.fop2.com/post/9502</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 02 Feb 2016 17:47:08 GMT</pubDate></item></channel></rss>