<?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[Park Button not Working on FOP2 2.31.32]]></title><description><![CDATA[<p dir="auto">I have FreePBX 16 and Asterisk 18.  When I have a live call, I can click the parkig lot and get the blue line, then click blind transfer and the call is parked and everything is fine.  However, if I click the Park button, I get the following error in the console:<br />
&gt; Uncaught ReferenceError: defcommand is not defined</p>
<blockquote>
<pre><code>    at Object.action_parkcall (eval at plugin (eval at &lt;anonymous&gt; (eval at &lt;anonymous&gt; (VM88 jquery-1.11.3.min.js:2:2622))), &lt;anonymous&gt;:70:71)
    at Object.clicky (eval at &lt;anonymous&gt; (eval at &lt;anonymous&gt; (VM88 jquery-1.11.3.min.js:2:2622)), &lt;anonymous&gt;:1:117806)
    at HTMLDivElement.eval (eval at &lt;anonymous&gt; (eval at &lt;anonymous&gt; (VM88 jquery-1.11.3.min.js:2:2622)), &lt;anonymous&gt;:1:87755)
    at HTMLDivElement.dispatch (jquery-1.11.3.min.js:4:8549)
    at HTMLDivElement.r.handle (jquery-1.11.3.min.js:4:5252)
action_parkcall @ VM122:70
clicky @ VM45:1
eval @ VM45:1
dispatch @ jquery-1.11.3.min.js:4
r.handle @ jquery-1.11.3.min.js:4
</code></pre>
</blockquote>
]]></description><link>http://localhost:4567/topic/3078/park-button-not-working-on-fop2-2.31.32</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 08:06:15 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/3078.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 09 Jul 2022 18:31:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Park Button not Working on FOP2 2.31.32 on Tue, 16 Aug 2022 02:22:09 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/user/jerryriggin" aria-label="Profile: jerryriggin">@<bdi>jerryriggin</bdi></a> , sorta off topic, but I'm trying to get fop2 running on raspbx.  I see you are running asterisk 18 (I'm running 16).  So apparently I should be able to get mine running?<br />
Basically, everything appears to be running for me, except FOP2 says "Skipping user &amp; device queries, not in user device mode", as the CLI command "database show devices" shows 0 devices (but I have enabled deviceanduser mode, and I have multiple devices (?)<br />
Been struggling with this for quite some time now.  I believe I need to have FreePBX/asterisk running in deviceanduser mode?  Is this what you have done?<br />
Any advice/hints/help would be greatly appreciated!<br />
Thanks!</p>
]]></description><link>http://localhost:4567/post/12494</link><guid isPermaLink="true">http://localhost:4567/post/12494</guid><dc:creator><![CDATA[avp]]></dc:creator><pubDate>Tue, 16 Aug 2022 02:22:09 GMT</pubDate></item><item><title><![CDATA[Reply to Park Button not Working on FOP2 2.31.32 on Fri, 12 Aug 2022 18:58:39 GMT]]></title><description><![CDATA[<p dir="auto">You may also have to take the 3rd "m" from "defcommmand" on line 53</p>
]]></description><link>http://localhost:4567/post/12493</link><guid isPermaLink="true">http://localhost:4567/post/12493</guid><dc:creator><![CDATA[jerryriggin]]></dc:creator><pubDate>Fri, 12 Aug 2022 18:58:39 GMT</pubDate></item><item><title><![CDATA[Reply to Park Button not Working on FOP2 2.31.32 on Wed, 10 Aug 2022 21:49:37 GMT]]></title><description><![CDATA[<p dir="auto">You can fix this by changing line 71 in /var/www/html/fop2/admin/plugins/parkbutton/parkbutton.js from<br />
<code>queuedcommand = "&lt;msg data=\"" + myposition + "|"+defcommand+"|" + parkExten + "|" + hash + "\" /&gt;";</code><br />
to<br />
<code>queuedcommand = "&lt;msg data=\"" + myposition + "|" + defcommand + "|" + parkExten + "|" + hash + "\" /&gt;";</code></p>
]]></description><link>http://localhost:4567/post/12492</link><guid isPermaLink="true">http://localhost:4567/post/12492</guid><dc:creator><![CDATA[jerryriggin]]></dc:creator><pubDate>Wed, 10 Aug 2022 21:49:37 GMT</pubDate></item></channel></rss>