| Customizing call detail log (CDR/SMDR) parsing rules |
|
Aucune traduction disponible PhoneJournal support the customizing of parsing rules of the call detail data. Usually this is not neccessary because we add support for new models free of charge in up to 24 hours. Create a file named pbx.ini in the directory where is the application and write: [main] count=1 customized=1 [0] ; means pbx number #1 model="My Customized Parsing rules" ; keep in mind that the usual format is field=index,lengh and the index is 0 based !!! date_month=3,2 date_day=0,2 date_year=6,2 ; only if the log does not contain the year ;reset_year=1 time_hour=10,2 time_minute=13,2 extension=19,3 trunk=23,2 number=26,30 duration_hours=57,2 duration_minutes=60,2 duration_seconds=63,2 ; account codes account=67,10 ; the lines starting with the following string will be ignored and not reported as parsing errors. ignore_0="a string" ignore_1="another string" ; the following verify routine will check if at idex 3 there is "foo" string. if it fails it will mark the linke as an parsing error. verify_0=10,"foo" |
|
| Dernière mise à jour : ( 28-05-2007 ) |
| < Précédent | Suivant > |
|---|
