Discussion:
[Asterisk-Users] Location of MeetMe Recordings
Gavin Adams
2006-03-08 17:23:41 UTC
Permalink
In Asterisk 1.2.4 is love being able to recording conferences. However,
using the default variables, the files are being written to
/var/lib/asterisk/sounds instead of /var/spool/asterisk/meetme.

If I change MEETME_RECORDINGFILE variable to something different in works,
bit I lose the ability to define CONFNO as part of the file name, which is
handy when sorting for users to review. I call meetme using (,r,) so the
conference number is not defined yet.

My /etc/asterisk/asterisk.conf file is set to point to /var/spool/asterisk
for recording related bits, and voicemail and general recordings are being
stored in the appropriate subdirectories. It's only meetme that is going to
a different place.


Regards,

--- Gavin Adams
VP Operations
PARC Inc.

E-mail: ***@gavinadams.org
Office: +1 678.281.6402
Fax: +1 678.281.6401
Mobile: +1 404.933.8183
Skype: gadams999
Mike Clark
2006-03-09 16:32:07 UTC
Permalink
Post by Gavin Adams
In Asterisk 1.2.4 is love being able to recording conferences. However,
using the default variables, the files are being written to
/var/lib/asterisk/sounds instead of /var/spool/asterisk/meetme.
If I change MEETME_RECORDINGFILE variable to something different in works,
bit I lose the ability to define CONFNO as part of the file name, which is
handy when sorting for users to review. I call meetme using (,r,) so the
conference number is not defined yet.
My /etc/asterisk/asterisk.conf file is set to point to /var/spool/asterisk
for recording related bits, and voicemail and general recordings are being
stored in the appropriate subdirectories. It's only meetme that is going to
a different place.
Gavin:

It doesn't appear that you can do this by simply changing an option via
the meetme command. If you are comfortable enough with c code, you can
change the following line in app_meetme.c (it is line number 2247 in my
copy) and then rebuild Asterisk:


snprintf(recordingtmp, sizeof(recordingtmp), "meetme-conf-rec-%s-%s",
conf->confno, chan->uniqueid);

change to

snprintf(recordingtmp, sizeof(recordingtmp),
"%s/meetme/meetme-conf-rec-%s-%s", ast_config_AST_SPOOL_DIR,
conf->confno, chan->uniqueid);


I just tested and this does work on my system.

Thanks,

Mike Clark

Loading...