include line name in recording file name
This commit is contained in:
parent
7ac9a88199
commit
1688ffc615
|
@ -451,8 +451,8 @@ static int isdntap_open_file(struct isdntap_ts *ts, const char *call_label, cons
|
|||
char buf[PATH_MAX];
|
||||
int rc;
|
||||
|
||||
snprintf(buf, sizeof(buf), "%s/isdntap-%s-%u-%s.raw", ts->line->inst->cfg.output_path,
|
||||
call_label, ts->num, suffix);
|
||||
snprintf(buf, sizeof(buf), "%s/isdntap-%s-%s-%u-%s.raw", ts->line->name,
|
||||
ts->line->inst->cfg.output_path, call_label, ts->num, suffix);
|
||||
|
||||
rc = open(buf, O_CREAT|O_WRONLY|O_TRUNC|O_NONBLOCK, 0640);
|
||||
if (rc < 0) {
|
||||
|
|
Loading…
Reference in New Issue