| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | # Copyright 2013 Mathias WOLFF |
||
| 22 | class CDRResourceExtra(resources.ModelResource): |
||
| 23 | |||
| 24 | class Meta: |
||
| 25 | model = CDR |
||
| 26 | exclude = ('id', |
||
| 27 | 'country', |
||
| 28 | 'uuid', |
||
| 29 | 'bleg_uuid', |
||
| 30 | 'chan_name', |
||
| 31 | 'answered_stamp', |
||
| 32 | 'end_stamp', |
||
| 33 | 'duration', |
||
| 34 | 'effeciv_duration', |
||
| 35 | 'total_cost', |
||
| 36 | 'cost_rate', |
||
| 37 | 'gateway', |
||
| 38 | 'ratecard_id', |
||
| 39 | 'lcr_carrier_id', |
||
| 40 | 'lcr_group_id', |
||
| 41 | 'sip_rtp_rxstat', |
||
| 42 | 'sip_rtp_txstat', |
||
| 43 | 'switchname', |
||
| 44 | 'switch_ipv4', |
||
| 45 | 'cost_destination', |
||
| 46 | 'hangup_disposition', |
||
| 47 | 'sip_hangup_cause') |
||
| 48 | fields = ('customer__name', |
||
| 49 | 'caller_id_number', |
||
| 50 | 'destination_number', |
||
| 51 | 'start_stamp', |
||
| 52 | 'billsec', |
||
| 53 | 'prefix', |
||
| 54 | 'sell_destination', |
||
| 55 | 'rate', |
||
| 56 | 'init_block', |
||
| 57 | 'block_min_duration', |
||
| 58 | 'total_sell', |
||
| 59 | 'customer_ip', |
||
| 60 | 'sip_user_agent') |
||
| 61 | export_order = ('customer__name', |
||
| 62 | 'caller_id_number', |
||
| 63 | 'destination_number', |
||
| 64 | 'start_stamp', |
||
| 65 | 'billsec', |
||
| 66 | 'prefix', |
||
| 67 | 'sell_destination', |
||
| 68 | 'rate', |
||
| 69 | 'init_block', |
||
| 70 | 'block_min_duration', |
||
| 71 | 'total_sell', |
||
| 72 | 'customer_ip', |
||
| 73 | 'sip_user_agent') |
||
| 74 |