X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcdr%2Fthinq.pm;h=e56b938bacc7e497eb3cca1de50e115bf9e29ee1;hb=4ca469474d2f143a30eec6cdd7927fd2a167eed1;hp=cbe0aa7d6258e562b425b72342867982a667ba82;hpb=6c0e57a800a9691f9b585fdbb8fac3f01b6edf47;p=freeside.git diff --git a/FS/FS/cdr/thinq.pm b/FS/FS/cdr/thinq.pm index cbe0aa7d6..e56b938ba 100644 --- a/FS/FS/cdr/thinq.pm +++ b/FS/FS/cdr/thinq.pm @@ -59,4 +59,34 @@ sub skip { map { undef } (1..$_[0]) } 1; -__END__ +=head1 NAME + +FS::cdr::thinq - ThinQ cdr import. + +=head1 DESCRIPTION + +https://support.thinq.com/hc/en-us/articles/229251987-Defining-the-CDR-for-Origination + +File format is csv, fields below. + +01 date - YYYY-MM-DD 2019-03-04 +02 time - HH:MM:SS 19:40:31 +03 carrier_id - thinq id number for each carrier 4 +04 from_ani - number dialed from 14055343879 +05 from_lrn - 10 digit number to identify CO switch port 14056269999 +06 from_lata - originating LATA 536 +07 from_ocn - operating company number assigned by NECA 6534 +08 from_state - originating state (US) OK +09 from_rc - originating rate center "OKLA CITY" +10 to_did - called number 17312018150 +11 thinq_tier - tier of thinq provider (1,2,3) 1 +12 callid - unique idenitifer for a call 960773443_66972652@206.147.84.26 +13 account_id - thinq account identifier 13840 +14 tf_profile - TFLCR profile used for inbound TF traffic +15 dest_type - IP, PSN, ? IP +16 dest - pbx IP address for IP routed calls 192.151.131.17 +17 rate - charge per minute 0.00250000 +18 billsec - billable seconds 6 +19 total_charge - charge for this call 0.00025000 + +=cut \ No newline at end of file