<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct> 
    <module>voip_cdr</module> 
    <table>voip_cdr</table> 
    <dependancy>voip</dependancy> 
    <cache>0</cache> 
    <order_by>id</order_by> 
    <limit>35</limit> 
    <index>
    	<calldatecustomer>date_orig,account_id,voip_rate_id</calldatecustomer>
    	<custrateplan>account_id,voip_rate_id</custrateplan>
		<dstsrcdate>dst,src,date_orig</dstsrcdate>
		<dstsrc>dst,src</dstsrc>
		<acctdate>account_id,date_orig</acctdate>
		<acctcode>accountcode</acctcode>
		<rate>voip_rate_id</rate>
		<rated>rated</rated>
		<rdd>rated,disposition,date_orig</rdd>
    </index>
    <field>
        <id>
            <type>I4</type> 
            <unique>1</unique>
        </id>
        <site_id>
            <type>I4</type> 
        </site_id>
        <date_orig>
            <type>I8</type>
			<convert>date</convert>
        </date_orig>
        <account_id>
            <type>I4</type>  
        </account_id>
        <voip_rate_id>
            <type>I4</type>  
        </voip_rate_id>
        <clid>
            <type>C(128)</type> 
        </clid>
        <src>
            <type>C(128)</type> 
        </src>
        <dst>
            <type>C(128)</type> 
        </dst>
        <dcontext>
            <type>C(128)</type> 
        </dcontext>
        <channel>
            <type>C(128)</type> 
        </channel>
        <dstchannel>
            <type>C(128)</type> 
        </dstchannel>
        <lastapp>
            <type>C(128)</type> 
        </lastapp>
        <lastdata>
            <type>C(16)</type> 
        </lastdata>
        <duration>
            <type>I4</type> 
        </duration>
        <billsec>
            <type>I4</type> 
        </billsec>
        <disposition>
            <type>C(45)</type> 
        </disposition>
        <amaflags>
            <type>I4</type> 
        </amaflags>
        <accountcode>
            <type>C(128)</type> 
        </accountcode>
        <uniqueid>
            <type>C(128)</type> 
        </uniqueid>
        <amount>
            <type>F</type> 
        </amount>
        <calltype>
            <type>L</type> 
        </calltype>
		<rated>
            <type>L</type>
        </rated>
        <adjbillinterval>
            <type>N</type>
        </adjbillinterval>
     </field> 
     <method>
        <add>id,site_id,date_orig,account_id,voip_rate_id,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,amount,calltype,rated,adjbillinterval</add>
        <search_export>id,date_orig,account_id,voip_rate_id,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,amount,calltype,rated,adjbillinterval</search_export>
        <update>id,site_id,account_id,voip_rate_id,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,amount,calltype,rated,adjbillinterval</update>
        <export_excel>id,date_orig,account_id,voip_rate_id,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,amount,calltype,rated,adjbillinterval</export_excel>
        <delete>id,site_id,date_orig,account_id,voip_rate_id,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,amount,calltype,rated,adjbillinterval</delete>
        <export_xml>id,date_orig,account_id,voip_rate_id,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,amount,calltype,rated,adjbillinterval</export_xml>
        <view>id,site_id,date_orig,account_id,voip_rate_id,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,amount,calltype,rated,adjbillinterval</view>
        <export_tab>id,date_orig,account_id,voip_rate_id,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,amount,calltype,rated,adjbillinterval</export_tab>
        <search>id,site_id,date_orig,account_id,voip_rate_id,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,amount,calltype,rated,adjbillinterval</search>
        <export_csv>id,date_orig,account_id,voip_rate_id,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,amount,calltype,rated,adjbillinterval</export_csv>
     </method> 
     <trigger>0</trigger>
</construct>
