rendered paste bodypthread_attr_init(&conf->attr);
pthread_attr_setdetachstate(&conf->attr, PTHREAD_CREATE_DETACHED);
if (ast_pthread_create(&conf->recordthread, &conf->attr, recordthread, conf)) {
ast_verbose(VERBOSE_PREFIX_4 "Starting recording of MeetMe Conference %s into file %s.%s
.\n", conf->confno, conf->recordingfilename, conf->recordingformat);
manager_event(EVENT_FLAG_CALL, "MeetmeRecording",
"Conference: %s\r\n"
"Filename: %s\r\n"
"Format: %s\r\n"
"Real Channel: %s\r\n",
conf->confno, conf->recordingfilename, conf->recordingformat, conf->chan->name);
} else
ast_log(LOG_ERROR, "Unable to spawn thread to record MeetMe conference %s!!\n", conf->co
nfno);