Skip to main content

presence_data_cols

Created by Ryan Harris, last modified on 2018.02.08

presence_data_cols

string You can customize the fields in FreeSWITCH's internal channels table by using the global variable presence_data_cols.

Use : to separate the column names in presence_data_cols

.

You must define the field in the channels table first:

ALTER TABLE channels ADD COLUMN accountcode VARCHAR(256)

Usage

In conf/vars.xml:

<X-PRE-PROCESS cmd="set" data="presence_data_cols=accountcode:domain_name"/>