Asterisk cel_pgsql插入重复列

Asterisk cel_pgsql插入重复列,asterisk,pbx,freepbx,Asterisk,Pbx,Freepbx,日志显示有重复的列,插入将失败 [Aug 29 08:14:42] DEBUG[8683] cel_pgsql.c: Inserting a CEL record: [INSERT INTO cel ("id","eventtype","eventtime","userdeftype","cid_name","cid_num","cid_ani","cid_rdnis","cid_dnid","exten","context","channame","appname","appdata","am

日志显示有重复的列,插入将失败

[Aug 29 08:14:42] DEBUG[8683] cel_pgsql.c: Inserting a CEL record: [INSERT INTO cel ("id","eventtype","eventtime","userdeftype","cid_name","cid_num","cid_ani","cid_rdnis","cid_dnid","exten","context","channame","appname","appdata","amaflags","accountcode","peeraccount","uniqueid","linkedid","userfield","peer","id","eventtype","eventtime","userdeftype","cid_name","cid_num","cid_ani","cid_rdnis","cid_dnid","exten","context","channame","appname","appdata","amaflags","accountcode","peeraccount","uniqueid","linkedid","userfield","peer") VALUES (DEFAULT,'CHAN_END','2017-08-29 08:14:42.167195','','9004','9004','9004','','9001','9001','public','SIP/9004-00000008','','',3,'','','1503994474.12','1503994474.12','','',DEFAULT,'CHAN_END','2017-08-29 08:14:42.167195','','9004','9004','9004','','9001','9001','public','SIP/9004-00000008','','',3,'','','1503994474.12','1503994474.12','','')].


alp-test*CLI> core show version
Asterisk 14.4.1 built by buildozer @ build-3-6-x86_64 on a x86_64 running Linux on 2017-05-22 06:13:12 UTC
cel_pgsql自2015年起没有更新

cel_pgsql.conf

[global]
hostname=127.0.0.1
port=5432
dbname=ast
password=ast
user=ast
table=cel
[general]
enable=yes
apps=dial,park
events=APP_START,CHAN_START,CHAN_END,ANSWER,HANGUP,BRIDGE_ENTER,BRIDGE_EXIT
cel.conf

[global]
hostname=127.0.0.1
port=5432
dbname=ast
password=ast
user=ast
table=cel
[general]
enable=yes
apps=dial,park
events=APP_START,CHAN_START,CHAN_END,ANSWER,HANGUP,BRIDGE_ENTER,BRIDGE_EXIT

因为我加载了两次cel_pgsql.soremove之后,preload=>cel_pgsql.so一切都很好