<?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[Transfer to Voicemail Fails]]></title><description><![CDATA[<p dir="auto">When I attempt Transfer to Voicemail I don't get any response from the phone.  Watching FOP2 server debug I get this error.</p>
<pre><code>Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 3919.
Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 3926.
127.0.0.1            -&gt; Action: Redirect
127.0.0.1            -&gt; Channel: SIP/flowroute-00000033
127.0.0.1            -&gt; Exten: *965004
127.0.0.1            -&gt; Context:
127.0.0.1            -&gt; Priority: 1
127.0.0.1            -&gt; Async: True

127.0.0.1            &lt;- Response: Error
127.0.0.1            &lt;- Message: Context not specified
</code></pre>
]]></description><link>http://localhost:4567/topic/1799/transfer-to-voicemail-fails</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 13:09:00 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1799.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Aug 2014 11:59:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Transfer to Voicemail Fails on Wed, 20 Aug 2014 22:42:12 GMT]]></title><description><![CDATA[<p dir="auto">I use mysql workbench.  I updated those that already had something in extenvoicemail with this command it it works now.</p>
<pre><code>update asterisk.fop2buttons set extenvoicemail = concat('*96',exten,'\@from-internal') where extenvoicemail  &lt;&gt; '';
</code></pre>
]]></description><link>http://localhost:4567/post/7782</link><guid isPermaLink="true">http://localhost:4567/post/7782</guid><dc:creator><![CDATA[joe1981alAPR]]></dc:creator><pubDate>Wed, 20 Aug 2014 22:42:12 GMT</pubDate></item><item><title><![CDATA[Reply to Transfer to Voicemail Fails on Wed, 20 Aug 2014 20:53:11 GMT]]></title><description><![CDATA[<p dir="auto">Then something like this might work (have not tested it, I am writing it directly here)</p>
<pre><code>mysql -u root -p asterisk -e "update fop2buttons set mailbox=concat(mailbox,'@from-internal') where type='extension'"
</code></pre>
]]></description><link>http://localhost:4567/post/7781</link><guid isPermaLink="true">http://localhost:4567/post/7781</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 20 Aug 2014 20:53:11 GMT</pubDate></item><item><title><![CDATA[Reply to Transfer to Voicemail Fails on Wed, 20 Aug 2014 20:49:34 GMT]]></title><description><![CDATA[<p dir="auto">ah, thank you.  I will use database access to update that field for all current buttons that have voicemail then let it create new ones going forward properly.  I have assigned groups to buttons and don't want to have to recreate that.</p>
]]></description><link>http://localhost:4567/post/7780</link><guid isPermaLink="true">http://localhost:4567/post/7780</guid><dc:creator><![CDATA[joe1981alAPR]]></dc:creator><pubDate>Wed, 20 Aug 2014 20:49:34 GMT</pubDate></item><item><title><![CDATA[Reply to Transfer to Voicemail Fails on Wed, 20 Aug 2014 20:30:36 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, you need to regenerate the fop2buttons table. In order to do so it needs to be truncated first, and then you must browse the fop2 buttons admin page so it gets recreated again.</p>
<p dir="auto">To empty the fop2 buttons table run:</p>
<pre><code>mysql -u root -p asterisk -e "truncate table fop2buttons"
</code></pre>
]]></description><link>http://localhost:4567/post/7779</link><guid isPermaLink="true">http://localhost:4567/post/7779</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 20 Aug 2014 20:30:36 GMT</pubDate></item><item><title><![CDATA[Reply to Transfer to Voicemail Fails on Wed, 20 Aug 2014 20:08:16 GMT]]></title><description><![CDATA[<p dir="auto">Patched functions-freepbx.php but this does not seem to have an affect.  I have reloaded FOP2 service, and done synchronize labels and reload asterisk in FOP2 Manager.  I again launched fop2_server with debug and still receive the no context error.</p>
<p dir="auto">Is there something I need to do to get this to reload?</p>
]]></description><link>http://localhost:4567/post/7778</link><guid isPermaLink="true">http://localhost:4567/post/7778</guid><dc:creator><![CDATA[joe1981alAPR]]></dc:creator><pubDate>Wed, 20 Aug 2014 20:08:16 GMT</pubDate></item><item><title><![CDATA[Reply to Transfer to Voicemail Fails on Wed, 20 Aug 2014 19:28:56 GMT]]></title><description><![CDATA[<p dir="auto">You need to make a little patch to functions-freepbx.php to append @from-internal to the extenvoicemail setting:</p>
<pre><code>diff -r c6f68c76f108 -r d6cec276c590 fop2manager/admin/functions-freepbx.php
--- a/fop2manager/admin/functions-freepbx.php	Wed Aug 13 13:17:31 2014 -0300
+++ b/fop2manager/admin/functions-freepbx.php	Wed Aug 13 13:22:55 2014 -0300
@@ -186,10 +186,10 @@
     }
 
     if ($conf['EXTENSIONS'] == "deviceanduser") {
-        $fields="extension,concat('USER/',extension) AS dial, if(voicemail='novm','',concat(extension,'@',voicemail)) AS mailbox,name,IF(voicemail&lt;&gt;'novm',concat('$vmprefix',extension),'') AS extenvoicemail";
+        $fields="extension,concat('USER/',extension) AS dial, if(voicemail='novm','',concat(extension,'@',voicemail)) AS mailbox,name,IF(voicemail&lt;&gt;'novm',concat('$vmprefix',extension,'\@from-internal'),'') AS extenvoicemail";
     } else {
         $fields  = "extension, name, IF(dial IS null,CONCAT('VIRTUAL/',extension),dial) AS dial, ";
-        $fields .= "IF(voicemail='novm','',CONCAT(extension,'@',voicemail)) AS mailbox, IF(voicemail&lt;&gt;'novm',concat('$vmprefix',extension),'') AS extenvoicemail ";
+        $fields .= "IF(voicemail='novm','',CONCAT(extension,'@',voicemail)) AS mailbox, IF(voicemail&lt;&gt;'novm',concat('$vmprefix',extension,'\@from-internal'),'') AS extenvoicemail ";
     }
     $join = "LEFT JOIN $database.devices ON users.extension=devices.id";
 
</code></pre>
<p dir="auto">Consider the original <em>concat('$vmprefix',extension),'')</em> that needs to be replaced with <em>concat('$vmprefix',extension,'@from-internal'),'')</em></p>
]]></description><link>http://localhost:4567/post/7777</link><guid isPermaLink="true">http://localhost:4567/post/7777</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 20 Aug 2014 19:28:56 GMT</pubDate></item><item><title><![CDATA[Reply to Transfer to Voicemail Fails on Tue, 19 Aug 2014 21:25:49 GMT]]></title><description><![CDATA[<p dir="auto">Through fop2manager.  Since it was bundled with 2.28 and this is a fresh install of 2.28, I never added the FreePBX module.</p>
]]></description><link>http://localhost:4567/post/7776</link><guid isPermaLink="true">http://localhost:4567/post/7776</guid><dc:creator><![CDATA[joe1981alAPR]]></dc:creator><pubDate>Tue, 19 Aug 2014 21:25:49 GMT</pubDate></item><item><title><![CDATA[Reply to Transfer to Voicemail Fails on Tue, 19 Aug 2014 17:39:25 GMT]]></title><description><![CDATA[<p dir="auto">There is a missing context in the extenvoicemail definition for the button config. There are two tools that are used to tweak configuration, the fop2admin freepbx module (now deprecated), and the fop2manager that is bundled with FOP 2.28. It seems there is a problem with any of those tools, and I wanted to find out which one is it so I can help you fix it.</p>
<p dir="auto">How do you configure fop2 users? From FreePBX, or going to <a href="http://your.server/fop2/admin" rel="nofollow ugc">http://your.server/fop2/admin</a> ?</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/7775</link><guid isPermaLink="true">http://localhost:4567/post/7775</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 19 Aug 2014 17:39:25 GMT</pubDate></item><item><title><![CDATA[Reply to Transfer to Voicemail Fails on Tue, 19 Aug 2014 14:55:27 GMT]]></title><description><![CDATA[<p dir="auto">They were brought in from FreePBX automatically.  Only thing I have done to buttons was to add Groups to separate departments in the panel.</p>
<p dir="auto">I am running FreePBX Distro with all updates version 5.211.65-15.<br />
I did change Direct Dial Voice-mail to *96 since it conflicted with other feature codes.  (Dialing *52XX would change call waiting for XX and not send to voice-mail for 52XX).</p>
]]></description><link>http://localhost:4567/post/7774</link><guid isPermaLink="true">http://localhost:4567/post/7774</guid><dc:creator><![CDATA[joe1981alAPR]]></dc:creator><pubDate>Tue, 19 Aug 2014 14:55:27 GMT</pubDate></item><item><title><![CDATA[Reply to Transfer to Voicemail Fails on Wed, 13 Aug 2014 16:11:31 GMT]]></title><description><![CDATA[<p dir="auto">How are fop2 buttons configured? Via admin/manager or manually?</p>
]]></description><link>http://localhost:4567/post/7773</link><guid isPermaLink="true">http://localhost:4567/post/7773</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 13 Aug 2014 16:11:31 GMT</pubDate></item></channel></rss>