<?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[Permission Denied...]]></title><description><![CDATA[<p dir="auto">We are not able to use the listen function. In fact, only the dial button actually works.</p>
<p dir="auto">Here is my manager.conf:<br />
;<br />
; Asterisk Call Management support<br />
;<br />
[general]<br />
enabled = yes<br />
port = 5038<br />
bindaddr = 127.0.0.1</p>
<p dir="auto">[admin]<br />
secret = amp111<br />
deny=0.0.0.0/0.0.0.0<br />
permit=127.0.0.1/255.255.255.0<br />
read = all,system,call,log,verbose,command,agent,user,originate<br />
write = all,system,call,log,verbose,command,agent,user,originate</p>
<p dir="auto">#include manager_additional.conf<br />
#include manager_custom.conf</p>
<p dir="auto">I run fop2 in debug mode and get "permission denied" when I try the buttons. The only one that works is the dial button. What else needs to be added here to make this work?</p>
<p dir="auto">127.0.0.1       -&gt; Action: Originate<br />
127.0.0.1       -&gt; Channel: SIP/742<br />
127.0.0.1       -&gt; Application: ChanSpy<br />
127.0.0.1       -&gt; Data: SIP/737<br />
127.0.0.1       -&gt; Async: True</p>
<p dir="auto">127.0.0.1       &lt;- Response: Error<br />
127.0.0.1       &lt;- Message: Permission denied<br />
127.0.0.1       &lt;- Server: 0<br />
Thank You!!</p>
]]></description><link>http://localhost:4567/topic/406/permission-denied...</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 09:14:22 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/406.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 20 May 2010 21:39:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Permission Denied... on Tue, 03 Aug 2010 21:38:46 GMT]]></title><description><![CDATA[<p dir="auto">AHH... sorry, #exec is a FOP2 feature. It is not present in FOP. You can write a shell script too to generate the op_buttons.cfg file, and after the file is generated you can send the HUP signal to op_server.pl so it rereads the config file.</p>
<p dir="auto">#exec on fop2 does that, but internally.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/1853</link><guid isPermaLink="true">http://localhost:4567/post/1853</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 03 Aug 2010 21:38:46 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Tue, 03 Aug 2010 15:01:01 GMT]]></title><description><![CDATA[<p dir="auto">so as i stated before, i'm using FOP not FOP2, therefore i don't know in which file should i execute my script  :?</p>
]]></description><link>http://localhost:4567/post/1852</link><guid isPermaLink="true">http://localhost:4567/post/1852</guid><dc:creator><![CDATA[slowmotion]]></dc:creator><pubDate>Tue, 03 Aug 2010 15:01:01 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Tue, 03 Aug 2010 13:59:03 GMT]]></title><description><![CDATA[<p dir="auto">hello</p>
<p dir="auto">in fact i'm not using freepbx, so i would have to write the conf files myself. i will check where to find examples and build on them</p>
<p dir="auto">thanks for ur reply</p>
]]></description><link>http://localhost:4567/post/1851</link><guid isPermaLink="true">http://localhost:4567/post/1851</guid><dc:creator><![CDATA[slowmotion]]></dc:creator><pubDate>Tue, 03 Aug 2010 13:59:03 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Tue, 03 Aug 2010 12:28:44 GMT]]></title><description><![CDATA[<p dir="auto">fop2 does not "see" configuration, you have to write your own configuration or use the included one that works only for FreePBX. If you do not use FreePBX, you will have to write your own config files manually, or create your own autoconfiguration script.  As I said before, the freepbx autoconfig scripts read data from Mysql, so there is no reason that it should not work in your case. But you will need to write the scripts yourself.</p>
<p dir="auto">Just write a shell script that outputs valid fop2 cfg data as described in the manual, and run those scripts via #exec directives in the config files.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/1850</link><guid isPermaLink="true">http://localhost:4567/post/1850</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 03 Aug 2010 12:28:44 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Tue, 03 Aug 2010 07:22:29 GMT]]></title><description><![CDATA[<p dir="auto">ok it works well now, apparently i forgot to append "all" and "originate" rights to read and write. i also changed the password from the config file.</p>
<p dir="auto">so i still have one problem, FOP isn't "seeing" users since they are binded to asterisk from a realtime mysql database, do you have any idea how can this be fixed?<br />
thank you</p>
]]></description><link>http://localhost:4567/post/1849</link><guid isPermaLink="true">http://localhost:4567/post/1849</guid><dc:creator><![CDATA[slowmotion]]></dc:creator><pubDate>Tue, 03 Aug 2010 07:22:29 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Tue, 03 Aug 2010 07:11:58 GMT]]></title><description><![CDATA[<p dir="auto">i forgot to mention that i'm using fop 0.30, not fop2</p>
]]></description><link>http://localhost:4567/post/1848</link><guid isPermaLink="true">http://localhost:4567/post/1848</guid><dc:creator><![CDATA[slowmotion]]></dc:creator><pubDate>Tue, 03 Aug 2010 07:11:58 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Tue, 03 Aug 2010 07:11:09 GMT]]></title><description><![CDATA[<p dir="auto">hello, thanks for your response<br />
in fact, i get "permission denied" messages for commands issued by the fop server when starting up, so i get these messages even before i log in to the fop client.  the connection is established with asterisk, but for certain commands asterisk is denying access, the commands' IDs sent by FOP server are:<br />
127.0.0.1 -&gt; ActionID: parkedcalls<br />
127.0.0.1 -&gt; ActionID: meetme_10<br />
127.0.0.1 -&gt; ActionID: astdb-DND-SIP/left<br />
127.0.0.1 -&gt; Command: sip show peers<br />
127.0.0.1 -&gt; ActionID: iaxpeers<br />
127.0.0.1 -&gt; ActionID: sccppeers</p>
<p dir="auto">for all the above, asterisk returns the following response:<br />
127.0.0.1 &lt;- Response: Error<br />
127.0.0.1 &lt;- ActionID: sccppeers ;of course the action ID in the response isn't the same for every command<br />
127.0.0.1 &lt;- Message: Permission denied<br />
127.0.0.1 &lt;- Server: 0</p>
<p dir="auto">so i ignored these errors, and started the client. it shows the pannel, but i'm having trouble with the password  :oops:<br />
anyways, the read and write rights in the manager.conf are as follows:</p>
<p dir="auto">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<br />
write = system, call, log, verbose, command, agent, user</p>
<p dir="auto">no idea what could be the problem  :?<br />
thanks</p>
]]></description><link>http://localhost:4567/post/1847</link><guid isPermaLink="true">http://localhost:4567/post/1847</guid><dc:creator><![CDATA[slowmotion]]></dc:creator><pubDate>Tue, 03 Aug 2010 07:11:09 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Mon, 02 Aug 2010 16:01:51 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">If you get permission denied when trying to issue commands with fop2, you have to check the manager user in /etc/asterisk/manager.conf and be sure you have the "originate" or "all" in the read/write permissions line.</p>
<p dir="auto">However, if your fop2 panel is empty, I am not sure how you made it through the logs to have that specific permission denied message.</p>
<p dir="auto">FOP2 can read configuration from anything you can code in a shell script. The autoconfiguration for freepbx does that, it reads text files or queries mysql databases.</p>
<p dir="auto">If you do not use freepbx you will have to write your custom scripts to generate the config files, you can look at the ones included for inspiration.</p>
<p dir="auto">Anyways, where do you get a permission denied message?</p>
]]></description><link>http://localhost:4567/post/1846</link><guid isPermaLink="true">http://localhost:4567/post/1846</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 02 Aug 2010 16:01:51 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Mon, 02 Aug 2010 14:54:01 GMT]]></title><description><![CDATA[<p dir="auto">hello everyone<br />
i'm having the same problem here, "permission denied", but i don't know where to locate the files _custom and _additional you are talking about... could anyone help on this issue please?</p>
<p dir="auto">i also have a question, is it possible for FOP to retrieve users info from mysql database? since i'm using dynamic database with asterisk, the "sip.conf" file is empty, so FOP is listing no users. any how to change this?</p>
<p dir="auto">thank you</p>
]]></description><link>http://localhost:4567/post/1845</link><guid isPermaLink="true">http://localhost:4567/post/1845</guid><dc:creator><![CDATA[slowmotion]]></dc:creator><pubDate>Mon, 02 Aug 2010 14:54:01 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Fri, 21 May 2010 16:55:18 GMT]]></title><description><![CDATA[<p dir="auto">Ok... deleted that _additional and it worked immediately. Thanks again Nicolas!</p>
]]></description><link>http://localhost:4567/post/1844</link><guid isPermaLink="true">http://localhost:4567/post/1844</guid><dc:creator><![CDATA[savoy6]]></dc:creator><pubDate>Fri, 21 May 2010 16:55:18 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Fri, 21 May 2010 16:27:52 GMT]]></title><description><![CDATA[<p dir="auto">You have to remove the extra "admin" user from the freepbx gui, in the tools - asterisk api.</p>
]]></description><link>http://localhost:4567/post/1843</link><guid isPermaLink="true">http://localhost:4567/post/1843</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 21 May 2010 16:27:52 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Fri, 21 May 2010 16:17:20 GMT]]></title><description><![CDATA[<p dir="auto">Ok. I found another admin user in _additional and the permissions did not say "originate". Should I delete the user in _additional or just add the correct permission?  Thank You...</p>
]]></description><link>http://localhost:4567/post/1842</link><guid isPermaLink="true">http://localhost:4567/post/1842</guid><dc:creator><![CDATA[savoy6]]></dc:creator><pubDate>Fri, 21 May 2010 16:17:20 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Fri, 21 May 2010 13:37:07 GMT]]></title><description><![CDATA[<p dir="auto">The module or your fop2 users have nothing to do, the problem is with asterisk manager permissions. You are getting denied from Asterisk, altough the admin user has all permisiones in /etc/asterisk/manager.conf</p>
<p dir="auto">Even you have another admin user defined later on with different permissions (in the _custom or _additional files perhaps?).</p>
<p dir="auto">You might also want to try by changing the host in fop2.cfg from "localhost" to 127.0.0.1 . Normally yt should not make a difference, but that error is not "normal" from what you are posting.</p>
<p dir="auto">And do not forget to reload asterisk if you change its configuration.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/1841</link><guid isPermaLink="true">http://localhost:4567/post/1841</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 21 May 2010 13:37:07 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Fri, 21 May 2010 13:15:36 GMT]]></title><description><![CDATA[<p dir="auto">I'm using the fop2 admin module to add users. Here is fop2 section regarding users. Do I need to add something here?</p>
<p dir="auto">;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:queues<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="🔢" />dial,transfer,pickup:deptA<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<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="🔢" />meetme,pickup<br />
;buttonfile=buttons.cfg<br />
; ------ END SAMPLE ------</p>
<p dir="auto">; This line is NOT commented, it executes<br />
; the autoconfig configuration for FreePBX<br />
#exec <a href="http://autoconfig-users-freepbx.sh" rel="nofollow ugc">autoconfig-users-freepbx.sh</a></p>
<p dir="auto">This is on the top:</p>
<p dir="auto">AMI definitions<br />
manager_host=localhost<br />
manager_port=5038<br />
manager_user=admin<br />
manager_secret=amp111</p>
]]></description><link>http://localhost:4567/post/1840</link><guid isPermaLink="true">http://localhost:4567/post/1840</guid><dc:creator><![CDATA[savoy6]]></dc:creator><pubDate>Fri, 21 May 2010 13:15:36 GMT</pubDate></item><item><title><![CDATA[Reply to Permission Denied... on Fri, 21 May 2010 10:22:14 GMT]]></title><description><![CDATA[<p dir="auto">Are you using the "admin" user in fop2.cfg ? I believe you are not, because the permissions look correct.</p>
]]></description><link>http://localhost:4567/post/1839</link><guid isPermaLink="true">http://localhost:4567/post/1839</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 21 May 2010 10:22:14 GMT</pubDate></item></channel></rss>