[Asterisk-Users] CDR writing incorrect data to pgsql tables

James Bean james at hdcs.com.au
Fri Feb 25 09:08:45 MST 2005


> For MySQL and other glorified flat-file databases, you would 
> need to postprocess the data. You may feel more confident 
> skipping triggers and doing this anyway.
> 
> > So by that any calls that go out over the net using IAX to 
> the telco 
> > are considered digital and will report correctly?
> 
> Yes. You will probably be able to make the simple assumption 
> that if dstchannel ILIKE 'Zap/%' , you're going to have to 
> fudge it, otherwise it's correctly recorded.
> 

Thank you for your help sir it was very informative I am going to write
the trigger with my own rules for the database and see how I go :-)

James



More information about the asterisk-users mailing list