Re: [Asterisk-Users] Regarding cdr_manager.conf

2006-02-04 Thread Edwin Lam

Victor Alvarez wrote:

Hello,
 My question is.. How does cdr_manager work? Does it suppose to populate
cdr-csv/Master.csv? What about the cdr table on the database? What is the
event some people talk about?


the cdr_manager.conf file control weather the Asterisk manager should include
the cdr event. it has nothing to do with Master.csv file. (you can read about
Asterisk manager here: http://www.voip-info.org/wiki/view/Asterisk+manager+API )

to enable the cdr engine in general, set enable = yes in cdr.conf

and setup at least one of .conf files specific to different databases:

Master.csv - cdr_custom.conf
Mysql - cdr_mysql.conf
odbc - cdr_odbc.conf
postgreSQL - cdr_pgsql.conf
FreeTDS - cdr_tds.conf




--
__ Edwin Lam  [EMAIL PROTECTED] __
__ Systems Engineer, Office General, Inc. 
__ Ph: +1 415 439 4988 Fax: +1 415 283 3370 __
__ http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xEF11A895 __
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Regarding cdr_manager.conf

2006-02-02 Thread Victor Alvarez
Hello,
 My question is.. How does cdr_manager work? Does it suppose to populate
cdr-csv/Master.csv? What about the cdr table on the database? What is the
event some people talk about?

 I have changed (and reloaded) my configuration of cdr_manager.conf to
;
; Asterisk Call Management CDR
;
[general]
enabled = yes

 and it doesn't seem to make any difference. After originate a call from the
manager interface my Master.csv is empty, cdr in my database also empty and
I don't get any new event apart of Newchannel or Hangup from the manager
interface.

An this is all I get from the Asterisk console:
   -- Reloading module 'cdr_manager.so' (Asterisk Call Manager CDR Backend)
  == Parsing '/etc/asterisk/cdr_manager.conf': Found

So..?

Kind Regards,
 Victor.

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Regarding cdr_manager.conf

2006-02-02 Thread Moises Silva
Hi Victor.

in /etc/asterisk/modules.conf you MUST have autoload=yes, or better
yet, just load what you need INCLUDING the modules cdr_manager.so,
you can test if you have it by doing in the asterisk console show
modules, if you dont have it, you can load it immediatly from the
console doing load cdr_manager.so.

If you have it, the new event is Cdr with the following fields:







AccountCode 
Source 
Destination 
DestinationContext 
CallerID 
Channel 
DestinationChannel 
LastApplication 
LastData 
StartTime 
AnswerTime 
EndTime 
Duration
BillableSeconds
Disposition 
AMAFlags 
UniqueID 
UserField

RegardsOn 2/2/06, Victor Alvarez [EMAIL PROTECTED] wrote:
Hello, My question is.. How does cdr_manager work? Does it suppose to populatecdr-csv/Master.csv? What about the cdr table on the database? What is theevent some people talk about? I have changed (and reloaded) my configuration of cdr_manager.conf to
;; Asterisk Call Management CDR;[general]enabled = yes and it doesn't seem to make any difference. After originate a call from themanager interface my Master.csv is empty, cdr in my database also empty and
I don't get any new event apart of Newchannel or Hangup from the managerinterface.An this is all I get from the Asterisk console: -- Reloading module 'cdr_manager.so' (Asterisk Call Manager CDR Backend)
== Parsing '/etc/asterisk/cdr_manager.conf': FoundSo..?Kind Regards, Victor.___--Bandwidth and Colocation provided by 
Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users