Summary: | ASTERISK-07165: [feature request] cdr_custom+mkfifo locks entire asterisk | ||
Reporter: | ameoba32 (ameoba32) | Labels: | |
Date Opened: | 2006-06-14 10:14:03 | Date Closed: | 2011-06-07 14:03:22 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | CDR/cdr_csv |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I am trying to log CDR through the pipe. so i did mkfifo /var/log/asterisk/cdr-custom/Master.csv Asterisk writes fine to this pipe, until reader reads. When i stop reading from pipe anything goes wrong with messages like this: Jun 14 16:48:55 ERROR[13904] chan_sip.c: We could NOT get the channel lock for SIP/888122-5f61! Jun 14 16:48:55 ERROR[13904] chan_sip.c: SIP MESSAGE JUST IGNORED: BYE Jun 14 16:48:55 ERROR[13904] chan_sip.c: BAD! BAD! BAD! Jun 14 16:48:59 ERROR[13904] chan_sip.c: We could NOT get the channel lock for SIP/888122-5f61! Jun 14 16:48:59 ERROR[13904] chan_sip.c: SIP MESSAGE JUST IGNORED: BYE Jun 14 16:48:59 ERROR[13904] chan_sip.c: BAD! BAD! BAD! Jun 14 16:50:38 WARNING[13887] channel.c: Avoided initial deadlock for '0x8257f88', 10 retries! Jun 14 16:50:39 WARNING[13887] channel.c: Avoided initial deadlock for '0x8257f88', 10 retries! so if reading program somehow dies, asterisk will die too. I think it is not good behavior, if i cant write CDR logs - stop working at all. thank you. | ||
Comments: | By: Tilghman Lesher (tilghman) 2006-06-15 07:34:51 Asterisk does not purport to support making a CDR file a fifo. Therefore, this is a feature request, not a block. Feature requests belong on the Wiki in the appropriate section, not on the bugtracker. If and when you have an appropriate, disclaimed patch for this situation, you may ask a bug marshal to reopen this issue and attach the patch. |