[Asterisk-Users] Location of MeetMe Recordings

Mike Clark mike at infoanywhere.com
Thu Mar 9 09:32:07 MST 2006


Gavin Adams wrote:

>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

 



More information about the asterisk-users mailing list