--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To post to this group, send email to cgr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/bd3876d4-2a86-47d0-90e1-351915aa9f59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Apologies in advance for silly questions. I'm fumbling around in the dark...
1. I'm trying to understand the content_fields within the cdrc section of the config files.
- Is there a description of what each available cdr_field_id means and what its usage is? For example what is the subject used for? In the docs it refers "auto-detection of duplicated CDRs at server side based on accid and host fields". But the host field is not listed in the example.
- In the example what does "value": "^*voice"do? Will that take anything in the cdr and append "voice" to it?
2. My CDRs have a lot more fields than listed in the example config. According to the docs the format of extra fields is <label_extrafield_1>:<index_extrafield_1> but that doesn't make much sense to me. Assuming we have a cdr format as follows: id, call_id, caller_id_number. Would content_fields look like:{"tag": "extra1"},{"tag": "accid", "cdr_field_id": "accid", "type": "cdrfield", "value": "10", "mandatory": true},{"tag": "extra2"}
3. Is there a way to "normalise" call records? For example a user could dial 1234567 or 8581234567 or 18581234567. All should be normalised to +18581234567 and rated the same. Is there a way to do that or does the normalisation have to be done elsewhere?
4. Is the direction field in the RatingProfiles just based on a match or is it a fixed set of values? For example if the cdr has "outbound" should Direction in RatingProfiles be outbound?
5. Is there some up to date documentation of the destinationrates table? This is out of date based on the example in the tutorial.
6. Is there a way to skip the first line in the csv file which is a header? This was asked a while ago but I can't see it documented anywhere.
Thanks in advance for any assistance.
--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To post to this group, send email to cgr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/43e2a24f-3fb8-4c43-8551-91bb62b84ab5%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To post to this group, send email to cgr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/26a907d4-616b-422d-b1a9-78a3058c59b5%40googlegroups.com.
+----+------------------------------------------+----------+---------+-----------+-------------+----------+---------+---------+-------------+---------------------+-------------+---------------------+-------------+----------+------------------+--------+------------+---------------------+---------------------+---------------------+ | id | cgrid | runid | reqtype | direction | tenant | category | account | subject | destination | setup_time | pdd | answer_time | usage | supplier | disconnect_cause | cost | extra_info | created_at | updated_at | deleted_at | +----+------------------------------------------+----------+---------+-----------+-------------+----------+---------+---------+-------------+---------------------+-------------+---------------------+-------------+----------+------------------+--------+------------+---------------------+---------------------+---------------------+ | 1 | 95c7e5ccf93f207c64150b0b0b74bfb184c48cb9 | *default | *rated | *out | cgrates.org | call | | | | 0001-01-01 00:00:00 | 0.000000000 | 0001-01-01 00:00:00 | 0.000000000 | | | 0.0000 | | 2015-10-14 07:28:56 | 2015-10-14 07:28:56 | 0000-00-00 00:00:00 | +----+------------------------------------------+----------+---------+-----------+-------------+----------+---------+---------+-------------+---------------------+-------------+---------------------+-------------+----------+------------------+--------+------------+---------------------+---------------------+---------------------+
--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To post to this group, send email to cgr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/10cd9fa1-d560-4207-bd5b-d2f408afb639%40googlegroups.com.
Hi Te
That would mame sense. The field names you are using in your template are only valid in rc8. Before we were naming them with small caps, following the database field names. In rc8 they will follow CDR object field names. You need to either upgrade or use old ones.
DanB
--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To post to this group, send email to cgr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/195d58b4-ed0a-4b6f-8c67-98bd633435d0%40googlegroups.com.