I'm using MTE 6.0.1.71 on Ubuntu 8.10. My issue is that when I set a user to record all calls the calls do not show up under call recordings. The recordings are in the /var/spool/asterisk/monitor directory but I do not see them in the users portal. Here is a sample filename present in the directory, please let me know if you have any thoughts.
in-6000-2009-04-27-12:46:08-5416806163-thirdlane.WAV
it shouldn't, in fact I just
it shouldn't, in fact I just did a copy of your filename and used the 'touch' command.. it shows up in my list of recorded calls on a heartbeat+drbd build I am doing (that also uses drbdlinks) for another customer in the admin portal.
I then made a voicemail recording files and confirmed that both voicemail and recorded calls were visible from the user portal.
It might be a permissions issue. what are the attributes of /opt/var/spool/asterisk and its sub directories?
atributes for
atributes for /opt/var/spool/asterisk
drwxr-x--- 9 asterisk asterisk 56 2009-04-20 08:47 asterisk
for sub directories.
drwxr-x--- 2 asterisk asterisk 1 2008-09-29 18:21 tmp
drwxr-x--- 2 asterisk asterisk 1 2008-09-29 18:21 system
drwxr-x--- 2 asterisk asterisk 1 2008-09-29 18:21 outgoing
drwxr-x--- 2 asterisk asterisk 1 2008-09-29 18:21 meetme
drwxr-x--- 2 asterisk asterisk 1 2008-09-29 18:21 dictate
drwxr-x--- 3 asterisk asterisk 8 2009-04-24 15:17 voicemail
drwxr-x--- 2 asterisk asterisk 24 2009-04-27 12:46 monitor
I can listen to vmails just fine from the phone just not able to see them in the web gui.
drbdlinks.conf file.
#usebinddmount(1)
mountpoint('/opt')
#Apache Files
link('/etc/apache2')
link('/var/log/apache2')
link('/var/www')
#Asterisk Files
link('/etc/asterisk')
link('/var/spool/asterisk')
link('/var/lib/asterisk')
#MySQL
link('/var/lib/mysql')
your missing a few things
your missing a few things but that shouldn't result in the problems you're experiencing. But dont forget you want to replicate /etc/webmin /usr/libexec/webmin otherwise users cant log in on the standby machine. and probably your provisioning directory as well.
Good Idea, so far I've just
Good Idea, so far I've just added the same admin users on both machines. I've also added the /usr/lib/asterisk/modules directory as well. Noticed that when I did a failover and some of my modules weren't there. Same thing seems to happen on both servers, asterisk see's the voicemail but the web gui does not.
it may have something to do
it may have something to do with asterisk running as user 'asterisk' and the files being owned by asterisk. I cant remember the specifics but I did run across something that made me mental-note that HA designs are going to have to require asterisk run as root. If that doesnt solve your problem its going to require a more in depth look since my admin portal see's everything correctly.
ok, looks like the install
ok, looks like the install of thirdlane has but the sub folders of /var/spool/asterisk directly under the / directory. not sure if this was do to the permissions issues but I installed thirdlane prior to setting up drbd and heartbeat. Do you know the thirdlane configuration file that would deal with the location of the recordings. It also put a /tl folder in as well, I'm assuming I need to move it to /var/spool/asterisk as well.
Recordings are now visible, but...
Ok,
I can now see the recordings as long as I select record all calls, if I use the key sequence the do not show up. I'm assuming it has to do with the way the files are named, how do I change the naming convention for the on demand recordings to match the record all calls. Below is the files in the /var/spool/asterisk /monitor directory.
On demand files
-rw-r--r-- 1 root root 21K 2009-05-13 12:50 auto-1242244244-in-3028-2009-05-13-12:50:38-5416806163-RioNetworks-in.WAV
-rw-r--r-- 1 root root 21K 2009-05-13 12:50 auto-1242244244-in-3028-2009-05-13-12:50:38-5416806163-RioNetworks-out.WAV
Record always
-rw-r--r-- 1 root root 15K 2009-05-13 12:52 in-3028-2009-05-13-12:52:29-5416806163-RioNetworks.WAV
It appears as though voicemail has suffered the same fate. Perhaps this is due to the fact that this is a drbd-heartbeat cluster. /var/spool/asterisk is actually at /opt/var/spool/asterisk. I'm using drbdlinks to point the /var/spool/asterisk directory to its proper location but could this be confusing the UI?