Skip to content

KAZOO Support Channels

This documentation is curated by 2600Hz as part of the KAZOO open source project. Join our community forums here for peer support. Only features in the docs.2600hz.com/supported space are included as part of our 2600Hz Support Services plan.

Prepend CID#

The cf_prepend_cid module can be used to prepend static values to the Caller ID Name and Number for a call in callflows.

Configuration Values#

Schema#

Validator for the prepend_cid callflow data object

Key Description Type Default Required Support Level
action If the action parameter is "reset" the caller-id-name and caller-id-number will be restored to their original values, if the value is "prepend" then the prepending will happen string('reset' | 'prepend') prepend false
apply_to Either "original" or "current", this specifies that the prefix's should be applied to the current caller-id's or the original values string('original' | 'current') current false
caller_id_name_prefix The prefix that should be applied to the caller-id-name string() "" false
caller_id_number_prefix The prefix that should be applied to the caller-id-number string() "" false
skip_module When set to true this callflow action is skipped, advancing to the wildcard branch (if any) boolean() false

Notes#

  • After the callflow action is run, the original caller-id values will be stored in the original_cid_name and original_cid_number fields of the call.
  • When using "current" for the apply_to you can get into a situation where it will append the value multiple times if the callflow is included in a loop.

Example Configuration#

"flow": {
    "data": {
        "action": "prepend",
        "caller_id_name_prefix": {PREFIX_NAME},
        "caller_id_number_prefix": {PREFIX_NUMBER},
        "apply_to": "original"
    },
    "module": "prepend_cid",
        "children": {
    }
}