Начал испытывать utm5_unif для импорта CDR файлов - сразуже получился такой глюк: исходный пример из документации проходит нормально, уменьшаем время разговора со 100 до 10 - получаем Segmentation fault. Меняем session_id c 0000110 на 110 - опять Segmentation fault...
PS. Я правильно понимаю, что поле session_id никак не отражается на статистике?
Код: Выделить всё
[root@xxx bin]# ./utm5_unif
Notice: Jun 30 17:09:43 UTM5 Config: Processing config file: /netup/utm5/utm5_unif.cfg
?Debug : Jun 30 17:09:43 : pbx_pos.pbx_called_sid <1> pbx_pos.pbx_calling_sid <0> pbx_pos.pbx_duration <2> pbx_pos.pbx_session_id <3> pbx_pos.pbx_date_time <4> pbx_quote <"> pbx_pos.pbx_delimiter <,>
?Debug : Jun 30 17:09:43 : Count <0> Processing line:<"666999","73435433333","100","0000110">
?Debug : Jun 30 17:09:43 UNIF: 1 elements to send unif tel data
?Debug : Jun 30 17:09:43 : Count <1> Processing line:<>
?Debug : Jun 30 17:09:43 : Lines sent:<2> working time:<0> sec
[root@xxx bin]# ./utm5_unif
Notice: Jun 30 17:10:06 UTM5 Config: Processing config file: /netup/utm5/utm5_unif.cfg
?Debug : Jun 30 17:10:06 : pbx_pos.pbx_called_sid <1> pbx_pos.pbx_calling_sid <0> pbx_pos.pbx_duration <2> pbx_pos.pbx_session_id <3> pbx_pos.pbx_date_time <4> pbx_quote <"> pbx_pos.pbx_delimiter <,>
?Debug : Jun 30 17:10:06 : Count <0> Processing line:<"666999","73435433333","10","0000110">
Segmentation fault
[root@xxx bin]# ./utm5_unif
Notice: Jun 30 17:12:38 UTM5 Config: Processing config file: /netup/utm5/utm5_unif.cfg
?Debug : Jun 30 17:12:38 : pbx_pos.pbx_called_sid <1> pbx_pos.pbx_calling_sid <0> pbx_pos.pbx_duration <2> pbx_pos.pbx_session_id <3> pbx_pos.pbx_date_time <4> pbx_quote <"> pbx_pos.pbx_delimiter <,>
?Debug : Jun 30 17:12:38 : Count <0> Processing line:<"666999","73435433333","100","110">
Segmentation fault
[root@xxx bin]# ./utm5_unif
Notice: Jun 30 17:13:03 UTM5 Config: Processing config file: /netup/utm5/utm5_unif.cfg
?Debug : Jun 30 17:13:03 : pbx_pos.pbx_called_sid <1> pbx_pos.pbx_calling_sid <0> pbx_pos.pbx_duration <2> pbx_pos.pbx_session_id <3> pbx_pos.pbx_date_time <4> pbx_quote <"> pbx_pos.pbx_delimiter <,>
?Debug : Jun 30 17:13:03 : Count <0> Processing line:<"666999","73435433333","200","0000120">
?Debug : Jun 30 17:13:03 UNIF: 1 elements to send unif tel data
?Debug : Jun 30 17:13:03 : Count <1> Processing line:<>
?Debug : Jun 30 17:13:03 : Lines sent:<2> working time:<0> sec