You need to make a little patch to functions-freepbx.php to append @from-internal to the extenvoicemail setting:
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<>'novm',concat('$vmprefix',extension),'') AS extenvoicemail";
+ $fields="extension,concat('USER/',extension) AS dial, if(voicemail='novm','',concat(extension,'@',voicemail)) AS mailbox,name,IF(voicemail<>'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<>'novm',concat('$vmprefix',extension),'') AS extenvoicemail ";
+ $fields .= "IF(voicemail='novm','',CONCAT(extension,'@',voicemail)) AS mailbox, IF(voicemail<>'novm',concat('$vmprefix',extension,'\@from-internal'),'') AS extenvoicemail ";
}
$join = "LEFT JOIN $database.devices ON users.extension=devices.id";
Consider the original concat('$vmprefix',extension),'') that needs to be replaced with concat('$vmprefix',extension,'\@from-internal'),'')