[Asterisk-Users] Mysql-cdr

mohammad mohammad at mirzaee.net
Sun Dec 5 22:41:26 MST 2004


Hi;

I have problem inserting cdr to mysql,Asterisk has logged to asteriskcdrdb successfully.It says:

 Dec  6 13:36:26 DEBUG[1221985728]: cdr_addon_mysql.c:178 mysql_log: cdr_mysql: inserting a CDR record.
Dec  6 13:36:26 DEBUG[1221985728]: cdr_addon_mysql.c:197 mysql_log: cdr_mysql: SQL command as follows:  INSERT INTO cdr 
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid) VALUES ('2004-12-06 
13:36:17','\"Mohammad\"','','9053265824','sip', 'SIP/3000-b4f7','SIP/9053265824-f4b2','Dial','SIP/9053265824|20| Ttr',9,5,'ANSWERED',3,'','1102358177.0')
Dec  6 13:36:26 ERROR[1221985728]: cdr_addon_mysql.c:200 mysql_log: Failed to insert into database.Dec  6 13:36:26 ERROR[1221985728]:
                                                                                                            ************************************** 


I tried several Asterisk-addons cvs head, including the latest one.


Regards
Mohammad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041206/165216e5/attachment.htm


More information about the asterisk-users mailing list