Archive for Травень, 2011

Trixbox, not working export statistics to cvs…

export trixbox statistics to cvs.

Ищем в файле cdr.php
(строка 828)

foreach($this->getrowsfromdbihatelongfunctionnames($this->input->post(‘startdate’), $this->input->post(‘enddate’), $this->input->post(‘source’), $this->input->post(‘srctype’), $this->input->post(‘destination’), $this->input->post(‘desttype’), $this->input->post(‘channel’), $this->input->post(‘duration’), $this->input->post(‘durationend’), $this->input->post(‘durstarttype’), $this->input->post(‘durendtype’), 0, 0, $this->input->post(‘datasort’), $this->input->post(‘datadir’)) as $row) {

Меняем 0 на 999999

foreach($this->getrowsfromdbihatelongfunctionnames($this->input->post(‘startdate’), $this->input->post(‘enddate’), $this->input->post(‘source’), $this->input->post(‘srctype’), $this->input->post(‘destination’), $this->input->post(‘desttype’), $this->input->post(‘channel’), $this->input->post(‘duration’), $this->input->post(‘durationend’), $this->input->post(‘durstarttype’), $this->input->post(‘durendtype’), 0, 999999, $this->input->post(‘datasort’), $this->input->post(‘datadir’)) as $row) {