Page 9 of 10
The LCR software has some variables that can be configured on the LUA config scripts (FusionPBX 4.4 or CoolPBX 1) or passed through the dial plans before calling the LUA script.
Dialplan Variable | Local LUA variable | Default Value | Description |
lcr_billing | lcr.billing | false | Tell the LCR if it is going to perform Billing support tasks. |
lcr_diverion | lcr.diversion | false | Tell the LCR to use the information from the Diversion for FusionPBX/CoolPBX to set up a dynamic Diversion header. |
lcr_nanp | lcr.nanp | true | Tell the LCR to use INTRALATA rates if the calls come and go within the USA. |
lcr_nanp_method | lcr.nanp_method | local_area | Tell the LCR what method to use. Currently, only local_area is valid. |
lcr_anti_cancel_caller_id_number | lcr.anti_cancel_caller_id_number | false | Tell the LCR to use stats of the cancellation ratio using the caller ID number as a factor. |
lcr_anti_cancel_callee_id_number | lcr.anti_cancel_callee_id_number | false | Tell the LCR to use stats of the cancellation ratio using the callee ID number as a factor. |
lcr_anti_cancel_accountcode | lcr.anti_cancel_accountcode | false | Tell the LCR to use stats of the cancellation ratio using the accountcode number as a factor. |
lcr_anti_cancel_evaluation_period | lcr.anti_cancel_evaluation_period | 30 (days) | Tell the LCR to examine the CDR and use the last N days to calculate the cancellation ratio. |
lcr_skip_carrier_uuids | Tell the LCR to exclude these specific carriers. | ||
lcr_short_call_friendly | false | Tell the LCR to see whether to only use call-friendly carriers or not. | |
lcr_tag | Tell the LCR to only select carriers that have that specific tag. |