回复: Re: [Asterisk-Users] cdr_addon_mysql.so pb

Matthew Boehm mboehm at cytelcom.com
Sun Sep 11 13:44:44 MST 2005


cytrex2*CLI> cdr mysql status
Connected to asterisk at 216.54.88.41, port 3306 using table cdr for 3 days, 18
hours, 4 minutes, 3 seconds.
  Wrote 62028 records since last restart.

That is what you should see.

-Matthew

> From: alexandre zhang <etongth at yahoo.com.cn>
> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users at lists.digium.com>
> Date: Mon, 12 Sep 2005 04:07:28 +0800 (CST)
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users at lists.digium.com>
> Subject: 回复: Re: [Asterisk-Users] cdr_addon_mysql.so pb
> 
> thanks for ur help
>  
> Run the command "cdr mysql status"
> I got the following msg
> ' No such command 'cdr mysql' (type 'help' for help)'
>  
> But, I run ' show modules'
> cdr_addon_mysql.so  is in the list
>  
> Do u have an idea  about it ?
>  
> Thanks
> 
> 
> 
> Matthew Boehm <mboehm at cytelcom.com> 写道:
> Run the command "cdr mysql status" from asterisk CLI. What does that say? If
> it says command not found then the module is not loaded.
> 
> -Matthew
> 
> 
>> From: alexandre zhang
>> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
>> 
>> Date: Mon, 12 Sep 2005 02:11:05 +0800 (CST)
>> To: 
>> Subject: [Asterisk-Users] cdr_addon_mysql.so pb
>> 
>> hi 
>> 
>> I load cdr_addon_mysql.so without error
>> 
>> configuration of cdr_mysql.conf
>> 
>> [general]
>> dbhost = localhost
>> dbname = recharge
>> dbuser = root
>> dbpass = ast
>> dbport = 3306
>> dbsock = /var/lib/mysql/mysql.sock
>> 
>> 
>> But, I get nothing in the table of cdr of my database.
>> 
>> 
>> Somebody have an idea ? Thanks you for your help
>> 
>> best regards
>> 
>> 
>> 
>> ---------------------------------
>> DO YOU YAHOO!?
>> 雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱
>> _______________________________________________
>> --Bandwidth and Colocation sponsored by Easynews.com --
>> 
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> ---------------------------------
> DO YOU YAHOO!?
>   雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list